Description
The error is thrown when navigating to "People" tab:
2009-11-25 16:27:48,531 ERROR [btpool0-10] org.mortbay.log org.mortbay.log.Slf4jLog-warn - /users java.lang.NullPointerException at com.atlassian.crucible.activity.review.LuceneReviewCommentActivityItemProvider.hasViewPermission(LuceneReviewCommentActivityItemProvider.java:223) at com.atlassian.crucible.activity.review.LuceneReviewCommentActivityItemProvider.access$300(LuceneReviewCommentActivityItemProvider.java:49) at com.atlassian.crucible.activity.review.LuceneReviewCommentActivityItemProvider$2.perform(LuceneReviewCommentActivityItemProvider.java:188) at com.atlassian.crucible.activity.review.LuceneReviewCommentActivityItemProvider$2.perform(LuceneReviewCommentActivityItemProvider.java:178) at com.cenqua.fisheye.lucene.LuceneConnection.withIndexSearcher(LuceneConnection.java:513)
This issue seems to be happened in version 2.1 onwards.
For example, before upgrading from 2.0.x to version 2.1.2, create a review and add a comment in version 2.1.2, it will create indexes at FISHEYE_HOME\cache\cruidx. So when you perform the upgrade by copying the var and config.xml to the new installation and restart the server should reproduce the error. It appears that it actually conflicts with the FISHEYE_HOME\cache\cruidx files.
A workaround is manually removing the cruidx directory. To do so,
- Shutdown your crucible server
- Remove the FISHEYE_HOME\cache\cruidx directory
- Restart crucible server
Or using the new installation while upgrading should eliminate the problem.