NullPointerException Error During Lucene Indexing Operation (Doc ID 1591676.1)

Last updated on APRIL 29, 2016

Applies to:

Oracle WebCenter Sites - Version 7.5.2 to 7.6.2 [Release FatWire]
Information in this document applies to any platform.

Symptoms

On : 7.5.2 version, WebCenter Sites

When attempting to enable lucene search on Delivery Environment,
the following error occurs.

ERROR
-----------------------
09:53:56,564 ERROR [Thread-416] [com.fatwire.search.asset] [run] Error during indexing operation
java.lang.NullPointerException
  at com.fatwire.search.engine.SearchEngineLockWrapper.index(y:2714)
  at com.fatwire.search.util.AssetQueueIndexSourceUtil._processAll(y:1200)
  at com.fatwire.search.util.AssetQueueIndexSourceUtil.access$000(y:2373)
  at com.fatwire.search.util.AssetQueueIndexSourceUtil$indexingRunnable.run(y:3252)
  at java.lang.Thread.run(Thread.java:619)


SearchEngineMetaDataConfig table has the following data:

idnameworkingfolderqueryconverterclasspropertiesclass
1165616890282 lucene /opt/fatwire/data/Shared/lucene com.fatwire.search.lucene.LuceneQueryConverter AnalyzerFactory=com.fatwire.services.lucene.FrenchAnalyzerFactory com.fatwire.search.lucene.LuceneSearchEngine

whereas the resultsetcache for this table shows the following

csDataSource-SELECT * FROM SEARCHENGINEMETADATACONFIG WHERE NAME=?[Number of positions=1] data [{0=lucene}]

queryconverterclassworkingfolderpropertiesclassnameid
No rows

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms