Search causing system error due to Confluence Awesome Search plugin being incompatible with Confluence 5.2.3 and above

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

The Confluence Awesome Search plugin loads, but with the following ERROR in the atlassian-confluence.log:

2013-08-20 14:49:53,157 ERROR [pool-10-thread-4] [confluence.plugin.descriptor.AbstractExtractorModuleDescriptor] createModule Plugin module com.atlassian.confluence.plugins.awesomesearch:learningExtractor is incompatible with this version of Confluence. You will need to upgrade to a newer version of the Confluence Awesome Search plugin. 
java.lang.NoClassDefFoundError: org/apache/lucene/document/Fieldable
 -- referer: BASE_URL/plugins/servlet/upm | url: CONTEXT_PATH/rest/plugins/1.0/ | userName: XXXXX

When searching for a term that exists in the index, a System Error page is produced, showing a NullPointerException raised by the dosearchsite action. The following appears in the atlassian-confluence.log:

2013-08-20 14:57:01,054 ERROR [http-10523-6] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action
 -- url: CONTEXT_PATH/dosearchsite.action | userName: admin | referer: BASE_URL/display/SPACEKEY/PAGENAME
java.lang.NullPointerException
	at com.atlassian.confluence.plugins.awesomesearch.LearningBoostingStrategy.boost(LearningBoostingStrategy.java:33)
	at com.atlassian.confluence.plugins.search.boosting.PluggableBoostingStrategy.boost(PluggableBoostingStrategy.java:62)
	at com.atlassian.confluence.plugins.search.boosting.BoostingQuery$BoostingQueryScorer.score(BoostingQuery.java:153)
	at org.apache.lucene.search.TopScoreDocCollector$InOrderTopScoreDocCollector.collect(TopScoreDocCollector.java:47)
	at org.apache.lucene.search.Scorer.score(Scorer.java:65)
	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:612)
	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:297)
	at com.atlassian.confluence.plugins.search.LuceneSearcher$1.perform(LuceneSearcher.java:82)
	at com.atlassian.bonnie.LuceneConnection.withSearch(LuceneConnection.java:201)
...snip...

Cause

The Confluence Awesome Search plugin is not compatible with the new upgrade of Lucene in Confluence 5.2.3 and above.

Resolution

  • Remove or disable the Confluence Awesome Search plugin

    (info) With 5.2.3 came improvements to the search algorithm, which may be an adequate replacement for Confluence Awesome Search for you. See the Confluence 5.2 Release Notes for details.

Last modified on Mar 30, 2016

Was this helpful?

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