Crucible Review is not Displayed after Upgrading and Throws NullPointerException in Log
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
Symptoms
After upgrading to 2.3.0, 2.3.1, 2.3.2 or 2.3.3 some reviews are no longer present in the UI.
2010-06-22 02:02:58,736 ERROR [pool-2-thread-1] fisheye.app DefaultReviewItemIndexer$3-run - Error indexing review
java.lang.NullPointerException: value cannot be null
at org.apache.lucene.document.Field.<init>(Field.java:330)
at org.apache.lucene.document.Field.<init>(Field.java:305)
at org.apache.lucene.document.Field.<init>(Field.java:284)
at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.indexReview(DefaultReviewItemIndexer.java:273)
at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.access$100(DefaultReviewItemIndexer.java:64)
at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$IndexOperationIterator.doNext(DefaultReviewItemIndexer.java:161)
at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$2.perform(DefaultReviewItemIndexer.java:254)
at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$2.perform(DefaultReviewItemIndexer.java:250)
at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.indexInBatches(DefaultReviewItemIndexer.java:250)
at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.access$600(DefaultReviewItemIndexer.java:64)
at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer$3.run(DefaultReviewItemIndexer.java:470)
Cause
This is caused by a bug in Crucible - FE-3368 - Lucene indexer fails on null values. The bug will be fixed for Crucible 2.3.4.
Resolution
Contact Atlassian support for a development build in the interim until Crucible 2.3.4 is released.
Was this helpful?