Fisheye/Crucible Fails To Start Due To "Problem with config file: org.apache.xmlbeans.XmlException: error: Unexpected character encountered"
Symptoms
The following appears in the log file and prevents the instance from being started:-
2014-07-16 07:12:18,885 ERROR [main ] fisheye Run-mainImpl - Problem with config file: org.apache.xmlbeans.XmlException: error: Unexpected character encountered while in a closing tag: 'c'
com.cenqua.fisheye.config.ConfigException: org.apache.xmlbeans.XmlException: error: Unexpected character encountered while in a closing tag: 'c'
at com.cenqua.fisheye.config.RootConfig.load(RootConfig.java:171)
at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:112)
at com.cenqua.fisheye.ctl.Run.main(Run.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:99)
at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42)
Caused by: org.apache.xmlbeans.XmlException: error: Unexpected character encountered while in a closing tag: 'c'
at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3471)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1270)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1257)
at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345)
at com.cenqua.fisheye.config1.ConfigDocument$Factory.parse(ConfigDocument.java:886)
at com.cenqua.fisheye.config.RootConfig.parseDocument(RootConfig.java:198)
at com.cenqua.fisheye.config.RootConfig.parseDocument(RootConfig.java:188)
at com.cenqua.fisheye.config.RootConfig.load(RootConfig.java:161)
... 8 more
Caused by: org.xml.sax.SAXParseException; systemId: file:; lineNumber: 5; columnNumber: 6; Unexpected character encountered while in a closing tag: 'c'
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportFatalError(Piccolo.java:1038)
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:723)
at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3439)
... 15 more
Diagnosis
Use XML Validator to validate your config.xml file.
Cause
It is due to syntax error in config.xml file particularly at line 5 as mentioned in the error which prevents the instance from being started.
Resolution
Fix the syntax error in the XML file and try to start your instance again.
or
- Restore the XML file from the backup
Last modified on Jul 31, 2018
Powered by Confluence and Scroll Viewport.