java.lang.NullPointerException

Atlassian JIRA | Ming Giet Chong [Atlassian] | 7 years ago
  1. 0

    The error is thrown when navigating to "People" tab: {noformat} 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) {noformat} 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.

    Atlassian JIRA | 7 years ago | Ming Giet Chong [Atlassian]
    java.lang.NullPointerException
  2. 0

    The error is thrown when navigating to "People" tab: {noformat} 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) {noformat} 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.

    Atlassian JIRA | 7 years ago | Ming Giet Chong [Atlassian]
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.crucible.activity.review.LuceneReviewCommentActivityItemProvider.hasViewPermission()
    2. com.atlassian.crucible
      LuceneReviewCommentActivityItemProvider$2.perform
      1. com.atlassian.crucible.activity.review.LuceneReviewCommentActivityItemProvider.hasViewPermission(LuceneReviewCommentActivityItemProvider.java:223)
      2. com.atlassian.crucible.activity.review.LuceneReviewCommentActivityItemProvider.access$300(LuceneReviewCommentActivityItemProvider.java:49)
      3. com.atlassian.crucible.activity.review.LuceneReviewCommentActivityItemProvider$2.perform(LuceneReviewCommentActivityItemProvider.java:188)
      4. com.atlassian.crucible.activity.review.LuceneReviewCommentActivityItemProvider$2.perform(LuceneReviewCommentActivityItemProvider.java:178)
      4 frames
    3. com.cenqua.fisheye
      LuceneConnection.withIndexSearcher
      1. com.cenqua.fisheye.lucene.LuceneConnection.withIndexSearcher(LuceneConnection.java:513)
      1 frame