Application logs warning message - Crucible State (Deleted) not defined
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
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
):
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 - Erroneous Warning: Crucible State (Deleted) not defined, returning "Unknown" state, and does not affect the functionality of Crucible. The warnings can be safely ignored.
Was this helpful?