Search results are inaccurate due to StackOverflowError in Indexer

Still need help?

The Atlassian Community is here for you.

Ask the community


The index fails to rebuild. It begins to rebuild accurately, but then skips to 100%. Searching does not return the accurate results.

The following appears in the std-out.log or catalina.out log file:

Oct 6, 2011 6:07:07 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 56478 ms Exception in thread "Indexer: 7" java.lang.StackOverflowError at java.lang.Math.getExponent( at java.lang.StrictMath.floorOrCeil( at java.lang.StrictMath.floor( at java.lang.Math.floor( at java.lang.Math.round( at net.sourceforge.jtds.jdbc.DateTime.unpackDateTime( at net.sourceforge.jtds.jdbc.DateTime.toTimestamp( at net.sourceforge.jtds.jdbc.Support.convert( at net.sourceforge.jtds.jdbc.JtdsResultSet.getTimestamp( at net.sourceforge.jtds.jdbc.JtdsResultSet.getTimestamp( at com.mchange.v2.c3p0.impl.NewProxyResultSet.getTimestamp( at net.sf.hibernate.type.TimestampType.get( at net.sf.hibernate.type.NullableType.nullSafeGet( at net.sf.hibernate.type.NullableType.nullSafeGet( at net.sf.hibernate.type.AbstractType.hydrate(


  1. Reindex the site. Watch the progress bar, and note if it skips to 100%.
  2. There may or may not be errors in the atlassian-confluence.log.
  3. This was observed when running on a Windows Service, but may exist in other environments.


tip/resting Created with Sketch.

This is an in-progress knowledge base article. Atlassian has not yet discovered the root cause for this issue.


Rather than starting from the Windows Service, double-click <confluence-install>\bin\startup.bat to start Confluence.

(info) Note that heap space parameters should be transferred to setenv.bat. See How to fix out of memory errors by increasing available memory.


Because the root cause is still under investigation, the resolution to this issue is unknown at this time. Please consult the workaround, and comment below if you find any additional information.

Last modified on Mar 30, 2016

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.