Search in AWI results in U00045014 Exception 'org.apache.lucene.index.IndexNotFoundException: "no segments* file found error
search cancel

Search in AWI results in U00045014 Exception 'org.apache.lucene.index.IndexNotFoundException: "no segments* file found error

book

Article ID: 87359

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :
Exception 'org.apache.lucene.index.IndexNotFoundException: "no segments* file found in NIOFSDirectory@

Upon performing a search in the AWI, the following error appears in the Java Worker Process (JWP) logs:
 
U00045014 Exception 'org.apache.lucene.index.IndexNotFoundException: "no segments* file found in NIOFSDirectory@/wla/Automic/Automation.Platform/AutomationEngine/bin/indexCache/3 lockFactory=NativeFSLockFactory@/wla/Automic/Automation.Platform/AutomationEngine/bin/indexCache/3: files: []"' at 'org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run():864'.

Then a forced trace is generated:
 
U00003620 Routine 'com.automic.search.lucene.IndexSearch' forces trace because of error.

Environment

Release: AUTWAB99000-12.0-Automic Workload Automation-Base Edition
Component:

Cause

Cause type:
Other
Root Cause: The index files have not been generated by the JWP

Resolution

  1. Stop all JWPs
  2. Delete the folder structure 'indexCache'
  3. Start a JWP


Fix Status: No Fix

Fix Version(s):
N/A

Additional Information

Workaround :
Stop and restart JWPs.