Search throws a System Error after upgrading Confluence
Symptoms
When using the search functionality after upgrading Confluence the search will return a system error:
The following appears in the atlassian-confluence.log
:
2014-06-23 08:25:30,176 ERROR [http-bio-80-exec-629] [common.error.jersey.ThrowableExceptionMapper] toResponse Uncaught exception thrown by REST service: org.apache.lucene.search.FieldCache.getStrings(Lorg/apache/lucene/index/IndexReader;Ljava/lang/String;)[Ljava/lang/String;
-- referer: http://wiki.pcmiracles.com/dashboard.action | url: /rest/quicknav/1/search | userName: john.hutson
java.lang.NoSuchMethodError: org.apache.lucene.search.FieldCache.getStrings(Lorg/apache/lucene/index/IndexReader;Ljava/lang/String;)[Ljava/lang/String;
at com.atlassian.confluence.plugins.awesomesearch.DocToEntityIdConverter.getEntityIdFromDoc(DocToEntityIdConverter.java:18)
at com.atlassian.confluence.plugins.awesomesearch.UserHistoryBoostingStrategy.boost(UserHistoryBoostingStrategy.java:28)
at com.atlassian.confluence.plugins.awesomesearch.UserHistoryBoostingStrategy.boost(UserHistoryBoostingStrategy.java:52)
Cause
This is caused because the Confluence Awesome Search plugin is not longer compatible with the upgraded Confluence version, to address this miss behaviour it's necessary to remove this third party plugin.
Resolution
- Go to manage Add ons page.
- Search and Uninstall the plugin "Confluence Awesome Search".
- Shutdown Confluence.
- Clear Confluence Plugin Cache
- Rebuild Confluence Content Indexes from Scratch
- Start Confluence.
- Try Searching again.
Last modified on Nov 15, 2018
Powered by Confluence and Scroll Viewport.