Fisheye will not start with Unexpected end of file after null

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

The following error is seen on fisheye.out after starting it:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2015-02-04 11:50:42,672 INFO - loading config from file: /opt/crucible/crucible_data/config.xml 2015-02-04 11:50:42,895 ERROR - Problem with config file: org.apache.xmlbeans.XmlException: error: Unexpected end of file after null com.cenqua.fisheye.config.ConfigException: org.apache.xmlbeans.XmlException: error: Unexpected end of file after null at com.cenqua.fisheye.config.RootConfig.load(RootConfig.java:182) at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:132) at com.cenqua.fisheye.ctl.Run.main(Run.java:78) 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:616) 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 end of file after null 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:209) at com.cenqua.fisheye.config.RootConfig.parseDocument(RootConfig.java:199) at com.cenqua.fisheye.config.RootConfig.load(RootConfig.java:172) ... 8 more Caused by: org.xml.sax.SAXParseException; systemId: file:; lineNumber: 1; columnNumber: 1; Unexpected end of file after null 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

Cause

The file /opt/crucible/crucible_data/config.xml being loaded by Fisheye as indicated on the logs is empty.

Resolution

In order to solve this, you need to restore a valid backup of your config.xml and restart your Fisheye instance.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.