Application logs warning message - Crucible State (Deleted) not defined
Problem
When using Crucible, some of the functionalities don't work as expected. For example:
- reviews cannot be created
The following appears in the startup messages (e.g. fisheye.out
):
WARN - Crucible State (Deleted) not defined, returning "Unknown" state
java.lang.Throwable
at com.cenqua.crucible.model.managers.StateManager.getStateByName(StateManager.java:178)
at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.indexStateChangeLog(DefaultReviewItemIndexer.java:554)
at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.access$400(DefaultReviewItemIndexer.java:90)
at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$IndexOperationIterator.doNext(DefaultReviewItemIndexer.java:244)
at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$2.perform(DefaultReviewItemIndexer.java:384)
at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$2.perform(DefaultReviewItemIndexer.java:380)
at com.cenqua.fisheye.lucene.LuceneConnection.withWriter(LuceneConnection.java:557)
at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.indexInBatches(DefaultReviewItemIndexer.java:380)
at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.access$1000(DefaultReviewItemIndexer.java:90)
at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$3.run(DefaultReviewItemIndexer.java:674)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Cause
The Crucible index has become corrupted.
Resolution
Follow the instructions in the following knowledge base article:
How to re-index Crucible review data
Even if there is no impact on functionality (i.e. reviews cannot be created), the error message in the logs can persist even after reindexing. This behavior is due to a known bug CRUC-7585 - Getting issue details... STATUS , and does not affect the functionality of Crucible. The warnings can be safely ignored.