Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-2802

NPE when accessing to the people tab

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.1.3, 2.2.0
    • 2.1.2
    • None

    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,

      1. Shutdown your crucible server
      2. Remove the FISHEYE_HOME\cache\cruidx directory
      3. Restart crucible server

      Or using the new installation while upgrading should eliminate the problem.

      Attachments

        Activity

          People

            tom@atlassian.com Tom Davies
            mgchong Ming Giet Chong [Atlassian]
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 8h
                8h