java.lang.NullPointerException

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

    Error during scanning p4 repository: {code:java} 2010-08-09 14:07:55,560 DEBUG [InitialPinger1] fisheye.app P4CliUtils-dumpCommandLine - [local:1666/] Executing /data/p4/bin/p4 -p local:1666 -u p4user -ztag fixes //...@31622,31881 2010-08-09 14:07:55,769 DEBUG [InitialPinger1] fisheye.app P4Process-finish - Exception processing command /data/p4/bin/p4 -p local:1666 -u p4user -ztag fixes //...@31622,31881 java.lang.NullPointerException at com.cenqua.fisheye.perforce.client.P4Client$5.processGroup(P4Client.java:206) at com.cenqua.fisheye.perforce.client.P4ZTagExtractor.processLine(P4ZTagExtractor.java:43) at com.cenqua.fisheye.perforce.client.P4OutputLineProcessor.processOutput(P4OutputLineProcessor.java:32) at com.cenqua.fisheye.perforce.client.P4Exec$4.processOutput(P4Exec.java:180) at com.cenqua.fisheye.perforce.client.P4Process$2.doTask(P4Process.java:130) {code} Basically there is a fix listed for a change which is not in the changelist, therefore it throws a NullPointerException. The code in P4Client.java: {code:java} public void processGroup(Map<String, String> group) { // This is a fix of a job String jobName = group.get("Job"); long changeId = Long.parseLong(group.get("Change")); long fixDate = Long.parseLong(group.get("Date")); String user = group.get("User"); P4Fix fix = new P4Fix(jobName, changeId, fixDate, user); P4ChangeList change = changeLists.get(changeId); change.addFix(fix); {code}

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

    Error during scanning p4 repository: {code:java} 2010-08-09 14:07:55,560 DEBUG [InitialPinger1] fisheye.app P4CliUtils-dumpCommandLine - [local:1666/] Executing /data/p4/bin/p4 -p local:1666 -u p4user -ztag fixes //...@31622,31881 2010-08-09 14:07:55,769 DEBUG [InitialPinger1] fisheye.app P4Process-finish - Exception processing command /data/p4/bin/p4 -p local:1666 -u p4user -ztag fixes //...@31622,31881 java.lang.NullPointerException at com.cenqua.fisheye.perforce.client.P4Client$5.processGroup(P4Client.java:206) at com.cenqua.fisheye.perforce.client.P4ZTagExtractor.processLine(P4ZTagExtractor.java:43) at com.cenqua.fisheye.perforce.client.P4OutputLineProcessor.processOutput(P4OutputLineProcessor.java:32) at com.cenqua.fisheye.perforce.client.P4Exec$4.processOutput(P4Exec.java:180) at com.cenqua.fisheye.perforce.client.P4Process$2.doTask(P4Process.java:130) {code} Basically there is a fix listed for a change which is not in the changelist, therefore it throws a NullPointerException. The code in P4Client.java: {code:java} public void processGroup(Map<String, String> group) { // This is a fix of a job String jobName = group.get("Job"); long changeId = Long.parseLong(group.get("Change")); long fixDate = Long.parseLong(group.get("Date")); String user = group.get("User"); P4Fix fix = new P4Fix(jobName, changeId, fixDate, user); P4ChangeList change = changeLists.get(changeId); change.addFix(fix); {code}

    Atlassian JIRA | 6 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.cenqua.fisheye.perforce.client.P4Client$5.processGroup()
    2. com.cenqua.fisheye
      P4Process$2.doTask
      1. com.cenqua.fisheye.perforce.client.P4Client$5.processGroup(P4Client.java:206)
      2. com.cenqua.fisheye.perforce.client.P4ZTagExtractor.processLine(P4ZTagExtractor.java:43)
      3. com.cenqua.fisheye.perforce.client.P4OutputLineProcessor.processOutput(P4OutputLineProcessor.java:32)
      4. com.cenqua.fisheye.perforce.client.P4Exec$4.processOutput(P4Exec.java:180)
      5. com.cenqua.fisheye.perforce.client.P4Process$2.doTask(P4Process.java:130)
      5 frames