java.lang.NullPointerException

Atlassian JIRA | Brendan Humphreys [Atlassian] | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    1. repo is still reporting that its in state "scanning", with associated banner on all FE pages, even when scanning is (presumably) complete. 2. in UnitTestCCBase, file extensions not appearing in chart dropdown, or code metrics report 3. handling of binary files - build.xml, .java files, other obviously textual files considered binaries, so no diffing available 4. for binary file, on File history page, RAW link -> 404 (missing revision ID) 5. NPE viewing http://clearcase:6060/foo/browse/ClearCase/vob/fe_ucm/FE-ccdev/src/java/com/cenqua/fisheye/ctl/Run.java?r=/main/FE_1_Int/2 [java] ERROR - /foo/browse/ClearCase/vob/fe_ucm/FE-ccdev/src/java/com/cenqua/fisheye/ctl/Run.java [java] java.lang.NullPointerException [java] at com.atlassian.fisheye.clearcase.ClearCaseRevisionCache.getFileRevision(ClearCaseRevisionCache.java:167) [java] at com.atlassian.fisheye.clearcase.ClearCaseRevisionCache$1.startChunk(ClearCaseRevisionCache.java:286) [java] at com.atlassian.fisheye.clearcase.client.ClearCaseBlameParser.processCurrentVersion(ClearCaseBlameParser.java:125) [java] at com.atlassian.fisheye.clearcase.client.ClearCaseBlameParser.processLine(ClearCaseBlameParser.java:96) [java] at com.atlassian.fisheye.clearcase.client.ClearCaseBlameParser.parseLines(ClearCaseBlameParser.java:56) [java] at com.atlassian.fisheye.clearcase.ClearCaseRevisionCache.getBlame(ClearCaseRevisionCache.java:299) [java] at com.cenqua.fisheye.web.ViewFileAction.getBlame(ViewFileAction.java:382) [java] at com.cenqua.fisheye.web.ViewFileAction.doChart(ViewFileAction.java:449) [java] at com.cenqua.fisheye.web.ViewFileAction.handleFileRequest(ViewFileAction.java:177) 1,3,4,5 are alpha blockers

    Atlassian JIRA | 8 years ago | Brendan Humphreys [Atlassian]
    java.lang.NullPointerException
  2. 0

    1. repo is still reporting that its in state "scanning", with associated banner on all FE pages, even when scanning is (presumably) complete. 2. in UnitTestCCBase, file extensions not appearing in chart dropdown, or code metrics report 3. handling of binary files - build.xml, .java files, other obviously textual files considered binaries, so no diffing available 4. for binary file, on File history page, RAW link -> 404 (missing revision ID) 5. NPE viewing http://clearcase:6060/foo/browse/ClearCase/vob/fe_ucm/FE-ccdev/src/java/com/cenqua/fisheye/ctl/Run.java?r=/main/FE_1_Int/2 [java] ERROR - /foo/browse/ClearCase/vob/fe_ucm/FE-ccdev/src/java/com/cenqua/fisheye/ctl/Run.java [java] java.lang.NullPointerException [java] at com.atlassian.fisheye.clearcase.ClearCaseRevisionCache.getFileRevision(ClearCaseRevisionCache.java:167) [java] at com.atlassian.fisheye.clearcase.ClearCaseRevisionCache$1.startChunk(ClearCaseRevisionCache.java:286) [java] at com.atlassian.fisheye.clearcase.client.ClearCaseBlameParser.processCurrentVersion(ClearCaseBlameParser.java:125) [java] at com.atlassian.fisheye.clearcase.client.ClearCaseBlameParser.processLine(ClearCaseBlameParser.java:96) [java] at com.atlassian.fisheye.clearcase.client.ClearCaseBlameParser.parseLines(ClearCaseBlameParser.java:56) [java] at com.atlassian.fisheye.clearcase.ClearCaseRevisionCache.getBlame(ClearCaseRevisionCache.java:299) [java] at com.cenqua.fisheye.web.ViewFileAction.getBlame(ViewFileAction.java:382) [java] at com.cenqua.fisheye.web.ViewFileAction.doChart(ViewFileAction.java:449) [java] at com.cenqua.fisheye.web.ViewFileAction.handleFileRequest(ViewFileAction.java:177) 1,3,4,5 are alpha blockers

    Atlassian JIRA | 8 years ago | Brendan Humphreys [Atlassian]
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.fisheye.clearcase.ClearCaseRevisionCache.getFileRevision()
    2. com.atlassian.fisheye
      ClearCaseRevisionCache.getBlame
      1. com.atlassian.fisheye.clearcase.ClearCaseRevisionCache.getFileRevision(ClearCaseRevisionCache.java:167)
      2. com.atlassian.fisheye.clearcase.ClearCaseRevisionCache$1.startChunk(ClearCaseRevisionCache.java:286)
      3. com.atlassian.fisheye.clearcase.client.ClearCaseBlameParser.processCurrentVersion(ClearCaseBlameParser.java:125)
      4. com.atlassian.fisheye.clearcase.client.ClearCaseBlameParser.processLine(ClearCaseBlameParser.java:96)
      5. com.atlassian.fisheye.clearcase.client.ClearCaseBlameParser.parseLines(ClearCaseBlameParser.java:56)
      6. com.atlassian.fisheye.clearcase.ClearCaseRevisionCache.getBlame(ClearCaseRevisionCache.java:299)
      6 frames
    3. com.cenqua.fisheye
      ViewFileAction.handleFileRequest
      1. com.cenqua.fisheye.web.ViewFileAction.getBlame(ViewFileAction.java:382)
      2. com.cenqua.fisheye.web.ViewFileAction.doChart(ViewFileAction.java:449)
      3. com.cenqua.fisheye.web.ViewFileAction.handleFileRequest(ViewFileAction.java:177)
      3 frames