java.lang.NullPointerException

Atlassian JIRA | Tom Davies [Atlassian] | 5 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

    While processing tagged files, the failure to find the changeset they were committed in can cause a NPE: {noformat} 2012-05-24 15:21:53,707 ERROR [InitialPinger1 Mainline] fisheye.app DvcsScanner$1-perform - Could not find change set for commit 90ca09564cd8ebd6638b5ea93916d4a6af2e683d 2012-05-24 15:21:53,709 DEBUG [InitialPinger1 Mainline] perf.timer Timer-output - <- Indexing changesets of Mainline time 69216 micros mem_usage = 122857440 heapsize = 165625856 freemem = 42768416 2012-05-24 15:21:53,787 DEBUG [InitialPinger1 Mainline] fisheye.app LoggingProcessMonitor-onBeforeStart - Starting process: hg --config ui.verbose=false tags 2012-05-24 15:21:54,120 DEBUG [InitialPinger1 Mainline] fisheye.app LoggingProcessMonitor-onAfterFinished - Finished process: hg --config ui.verbose=false tags took 333ms 2012-05-24 15:21:54,120 DEBUG [InitialPinger1 Mainline] fisheye.app DvcsCache-getLongHash - getLongHash: Illegal argument: null 2012-05-24 15:21:54,122 DEBUG [InitialPinger1 Mainline] fisheye.app LoggingProcessMonitor-onBeforeStart - Starting process: hg --config extensions.felog=C:\crucible\python\hg\hgfelog\hgfelog.py -v feparents null 2012-05-24 15:21:54,122 DEBUG [InitialPinger1 Mainline] fisheye.app LoggingProcessMonitor-onAfterFinished - Finished process: hg --config extensions.felog=C:\crucible\python\hg\hgfelog\hgfelog.py -v feparents null took 0ms 2012-05-24 15:21:54,124 ERROR [InitialPinger1 Mainline] fisheye.app BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo Mainline due to class java.lang.NullPointerException - null java.lang.NullPointerException at com.atlassian.utils.process.ExternalProcessImpl.quoteString(ExternalProcessImpl.java:157) at com.atlassian.utils.process.ExternalProcessImpl.createWinProcess(ExternalProcessImpl.java:210) at com.atlassian.utils.process.ExternalProcessImpl.createProcess(ExternalProcessImpl.java:223) at com.atlassian.utils.process.ExternalProcessImpl.start(ExternalProcessImpl.java:238) at com.atlassian.utils.process.ExternalProcessImpl.execute(ExternalProcessImpl.java:350) at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:259) at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:254) at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:212) at com.atlassian.fisheye.hg.client.HgClientManifestDAO.visitRevisions(HgClientManifestDAO.java:53) at com.atlassian.fisheye.hg.HgCache.applyTag(HgCache.java:267) at com.atlassian.fisheye.hg.HgScanner.processTag(HgScanner.java:202) at com.atlassian.fisheye.hg.HgScanner.processTags(HgScanner.java:165) at com.atlassian.fisheye.dvcs.DvcsScanner.processRevisions(DvcsScanner.java:287) at com.cenqua.fisheye.rep.BaseRepositoryScanner.slurpRepository(BaseRepositoryScanner.java:257) at com.cenqua.fisheye.rep.BaseRepositoryScanner.doSlurpTransaction(BaseRepositoryScanner.java:225) at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:184) at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:92) at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:381) at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:28) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:67) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:138) at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:128) at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) 2012-05-24 15:21:54,128 DEBUG [InitialPinger1 Mainline] fisheye.app RepositoryStatus-setEngineError - Engine Error Set [Mainline]: Repository index failed due to error java.lang.NullPointerException: null 2012-05-24 15:21:54,128 DEBUG [InitialPinger1 Mainline] fisheye.app BaseRepositoryScanner-doSlurpTransaction - Rolling back cache changes 2012-05-24 15:21:54,128 INFO [InitialPinger1 Mainline] fisheye.perf BaseRepositoryScanner-ping - done slurp for /Mainline time = 865137ms {noformat}

    Atlassian JIRA | 5 years ago | Tom Davies [Atlassian]
    java.lang.NullPointerException
  2. 0

    While processing tagged files, the failure to find the changeset they were committed in can cause a NPE: {noformat} 2012-05-24 15:21:53,707 ERROR [InitialPinger1 Mainline] fisheye.app DvcsScanner$1-perform - Could not find change set for commit 90ca09564cd8ebd6638b5ea93916d4a6af2e683d 2012-05-24 15:21:53,709 DEBUG [InitialPinger1 Mainline] perf.timer Timer-output - <- Indexing changesets of Mainline time 69216 micros mem_usage = 122857440 heapsize = 165625856 freemem = 42768416 2012-05-24 15:21:53,787 DEBUG [InitialPinger1 Mainline] fisheye.app LoggingProcessMonitor-onBeforeStart - Starting process: hg --config ui.verbose=false tags 2012-05-24 15:21:54,120 DEBUG [InitialPinger1 Mainline] fisheye.app LoggingProcessMonitor-onAfterFinished - Finished process: hg --config ui.verbose=false tags took 333ms 2012-05-24 15:21:54,120 DEBUG [InitialPinger1 Mainline] fisheye.app DvcsCache-getLongHash - getLongHash: Illegal argument: null 2012-05-24 15:21:54,122 DEBUG [InitialPinger1 Mainline] fisheye.app LoggingProcessMonitor-onBeforeStart - Starting process: hg --config extensions.felog=C:\crucible\python\hg\hgfelog\hgfelog.py -v feparents null 2012-05-24 15:21:54,122 DEBUG [InitialPinger1 Mainline] fisheye.app LoggingProcessMonitor-onAfterFinished - Finished process: hg --config extensions.felog=C:\crucible\python\hg\hgfelog\hgfelog.py -v feparents null took 0ms 2012-05-24 15:21:54,124 ERROR [InitialPinger1 Mainline] fisheye.app BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo Mainline due to class java.lang.NullPointerException - null java.lang.NullPointerException at com.atlassian.utils.process.ExternalProcessImpl.quoteString(ExternalProcessImpl.java:157) at com.atlassian.utils.process.ExternalProcessImpl.createWinProcess(ExternalProcessImpl.java:210) at com.atlassian.utils.process.ExternalProcessImpl.createProcess(ExternalProcessImpl.java:223) at com.atlassian.utils.process.ExternalProcessImpl.start(ExternalProcessImpl.java:238) at com.atlassian.utils.process.ExternalProcessImpl.execute(ExternalProcessImpl.java:350) at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:259) at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:254) at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:212) at com.atlassian.fisheye.hg.client.HgClientManifestDAO.visitRevisions(HgClientManifestDAO.java:53) at com.atlassian.fisheye.hg.HgCache.applyTag(HgCache.java:267) at com.atlassian.fisheye.hg.HgScanner.processTag(HgScanner.java:202) at com.atlassian.fisheye.hg.HgScanner.processTags(HgScanner.java:165) at com.atlassian.fisheye.dvcs.DvcsScanner.processRevisions(DvcsScanner.java:287) at com.cenqua.fisheye.rep.BaseRepositoryScanner.slurpRepository(BaseRepositoryScanner.java:257) at com.cenqua.fisheye.rep.BaseRepositoryScanner.doSlurpTransaction(BaseRepositoryScanner.java:225) at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:184) at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:92) at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:381) at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:28) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:67) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:138) at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:128) at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) 2012-05-24 15:21:54,128 DEBUG [InitialPinger1 Mainline] fisheye.app RepositoryStatus-setEngineError - Engine Error Set [Mainline]: Repository index failed due to error java.lang.NullPointerException: null 2012-05-24 15:21:54,128 DEBUG [InitialPinger1 Mainline] fisheye.app BaseRepositoryScanner-doSlurpTransaction - Rolling back cache changes 2012-05-24 15:21:54,128 INFO [InitialPinger1 Mainline] fisheye.perf BaseRepositoryScanner-ping - done slurp for /Mainline time = 865137ms {noformat}

    Atlassian JIRA | 5 years ago | Tom Davies [Atlassian]
    java.lang.NullPointerException
  3. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  6. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 2 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object

    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.utils.process.ExternalProcessImpl.quoteString()
    2. com.atlassian.utils
      ExternalProcessImpl.execute
      1. com.atlassian.utils.process.ExternalProcessImpl.quoteString(ExternalProcessImpl.java:157)
      2. com.atlassian.utils.process.ExternalProcessImpl.createWinProcess(ExternalProcessImpl.java:210)
      3. com.atlassian.utils.process.ExternalProcessImpl.createProcess(ExternalProcessImpl.java:223)
      4. com.atlassian.utils.process.ExternalProcessImpl.start(ExternalProcessImpl.java:238)
      5. com.atlassian.utils.process.ExternalProcessImpl.execute(ExternalProcessImpl.java:350)
      5 frames
    3. com.atlassian.fisheye
      DvcsScanner.processRevisions
      1. com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:259)
      2. com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:254)
      3. com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:212)
      4. com.atlassian.fisheye.hg.client.HgClientManifestDAO.visitRevisions(HgClientManifestDAO.java:53)
      5. com.atlassian.fisheye.hg.HgCache.applyTag(HgCache.java:267)
      6. com.atlassian.fisheye.hg.HgScanner.processTag(HgScanner.java:202)
      7. com.atlassian.fisheye.hg.HgScanner.processTags(HgScanner.java:165)
      8. com.atlassian.fisheye.dvcs.DvcsScanner.processRevisions(DvcsScanner.java:287)
      8 frames
    4. com.cenqua.fisheye
      PingRequest.run
      1. com.cenqua.fisheye.rep.BaseRepositoryScanner.slurpRepository(BaseRepositoryScanner.java:257)
      2. com.cenqua.fisheye.rep.BaseRepositoryScanner.doSlurpTransaction(BaseRepositoryScanner.java:225)
      3. com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:184)
      4. com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:92)
      5. com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:381)
      6. com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:28)
      7. com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:67)
      8. com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:138)
      9. com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:128)
      10. com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33)
      10 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:662)
      3 frames