java.lang.NullPointerException

Atlassian JIRA | Partha Kamal [Atlassian] | 7 years ago
  1. 0

    In 2.0, when using the Native client you may get the following error: {noformat} 2009-07-01 06:31:36,979 ERROR [InitialPinger1] fisheye.app RepositoryScanner-slurp - Problem processing revisions from repo file:///var/svn/REPO/ due to class java.lang.NullPointerException - null java.lang.NullPointerException at com.cenqua.fisheye.svn.SvnLogMessage.getAuthor(SvnLogMessage.java:28) at com.cenqua.fisheye.svn.SvnMessageContext.<init>(SvnMessageContext.java:35) at com.cenqua.fisheye.svn.DiffChangeSetProcessor.createChangeSet(DiffChangeSetProcessor.java:218) at com.cenqua.fisheye.svn.SvnRepositoryScanner.slurpRevisionBlock(SvnRepositoryScanner.java:419) at com.cenqua.fisheye.rep.RepositoryScanner.processRevisions(RepositoryScanner.java:355) at com.cenqua.fisheye.rep.RepositoryScanner.slurpRepository(RepositoryScanner.java:245) at com.cenqua.fisheye.rep.RepositoryScanner.slurp(RepositoryScanner.java:176) at com.cenqua.fisheye.rep.RepositoryScanner.ping(RepositoryScanner.java:109) at com.cenqua.fisheye.svn.SvnRepositoryEngine.doSlurp(SvnRepositoryEngine.java:68) at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:30) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:90) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:120) at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:110) at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:57) 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:619) {noformat} A workaround would be to reverse the changes you made to switch to the [Native Client|http://confluence.atlassian.com/x/WAMvBw], as this shouldn't occur in the bundled svnkit.

    Atlassian JIRA | 7 years ago | Partha Kamal [Atlassian]
    java.lang.NullPointerException
  2. 0

    In 2.0, when using the Native client you may get the following error: {noformat} 2009-07-01 06:31:36,979 ERROR [InitialPinger1] fisheye.app RepositoryScanner-slurp - Problem processing revisions from repo file:///var/svn/REPO/ due to class java.lang.NullPointerException - null java.lang.NullPointerException at com.cenqua.fisheye.svn.SvnLogMessage.getAuthor(SvnLogMessage.java:28) at com.cenqua.fisheye.svn.SvnMessageContext.<init>(SvnMessageContext.java:35) at com.cenqua.fisheye.svn.DiffChangeSetProcessor.createChangeSet(DiffChangeSetProcessor.java:218) at com.cenqua.fisheye.svn.SvnRepositoryScanner.slurpRevisionBlock(SvnRepositoryScanner.java:419) at com.cenqua.fisheye.rep.RepositoryScanner.processRevisions(RepositoryScanner.java:355) at com.cenqua.fisheye.rep.RepositoryScanner.slurpRepository(RepositoryScanner.java:245) at com.cenqua.fisheye.rep.RepositoryScanner.slurp(RepositoryScanner.java:176) at com.cenqua.fisheye.rep.RepositoryScanner.ping(RepositoryScanner.java:109) at com.cenqua.fisheye.svn.SvnRepositoryEngine.doSlurp(SvnRepositoryEngine.java:68) at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:30) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:90) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:120) at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:110) at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:57) 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:619) {noformat} A workaround would be to reverse the changes you made to switch to the [Native Client|http://confluence.atlassian.com/x/WAMvBw], as this shouldn't occur in the bundled svnkit.

    Atlassian JIRA | 7 years ago | Partha Kamal [Atlassian]
    java.lang.NullPointerException
  3. 0

    Looks like there's no head revision? Or no head revision for that particular file? From [FSH-6135|https://support.atlassian.com/browse/FSH-6135]. Conor says "no head revision would be odd - we should be more defensive there" [NPE code line|https://extranet.atlassian.com/crucible/browse/FE-hg/src/java/com/cenqua/fisheye/cvsrep/cache/CachedCvsRepositoryUpdater.java?hb=true#to406] {code} 2011-06-15 12:58:19,741 ERROR [IncrementalPinger1 ] fisheye.app CvsHistoryChangeDetector-doRunOnce - problem with initial scan java.lang.NullPointerException at com.cenqua.fisheye.cvsrep.cache.CachedCvsRepositoryUpdater.upgradeContentIndex(CachedCvsRepositoryUpdater.java:406) at com.cenqua.fisheye.cvsrep.cache.CachedCvsRepositoryUpdater.upgradeLuceneIndexesIfNecessary(CachedCvsRepositoryUpdater.java:348) at com.cenqua.fisheye.cvsrep.cache.CachedCvsRepositoryUpdater.upgrade(CachedCvsRepositoryUpdater.java:296) at com.cenqua.fisheye.cvsrep.cache.CvsHistoryChangeDetector.doRunOnce(CvsHistoryChangeDetector.java:117) at com.cenqua.fisheye.cvsrep.cache.CvsHistoryChangeDetector.ping(CvsHistoryChangeDetector.java:54) at com.cenqua.fisheye.cvsrep.cache.CachedCvsRepositoryUpdater.pingSlurp(CachedCvsRepositoryUpdater.java:279) at com.cenqua.fisheye.cvsrep.CvsRepositoryEngine.doSlurp(CvsRepositoryEngine.java:68) at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:390) at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:25) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:66) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:132) at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:122) 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) {code}

    Atlassian JIRA | 5 years ago | Aaron Washington
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Looks like there's no head revision? Or no head revision for that particular file? From [FSH-6135|https://support.atlassian.com/browse/FSH-6135]. Conor says "no head revision would be odd - we should be more defensive there" [NPE code line|https://extranet.atlassian.com/crucible/browse/FE-hg/src/java/com/cenqua/fisheye/cvsrep/cache/CachedCvsRepositoryUpdater.java?hb=true#to406] {code} 2011-06-15 12:58:19,741 ERROR [IncrementalPinger1 ] fisheye.app CvsHistoryChangeDetector-doRunOnce - problem with initial scan java.lang.NullPointerException at com.cenqua.fisheye.cvsrep.cache.CachedCvsRepositoryUpdater.upgradeContentIndex(CachedCvsRepositoryUpdater.java:406) at com.cenqua.fisheye.cvsrep.cache.CachedCvsRepositoryUpdater.upgradeLuceneIndexesIfNecessary(CachedCvsRepositoryUpdater.java:348) at com.cenqua.fisheye.cvsrep.cache.CachedCvsRepositoryUpdater.upgrade(CachedCvsRepositoryUpdater.java:296) at com.cenqua.fisheye.cvsrep.cache.CvsHistoryChangeDetector.doRunOnce(CvsHistoryChangeDetector.java:117) at com.cenqua.fisheye.cvsrep.cache.CvsHistoryChangeDetector.ping(CvsHistoryChangeDetector.java:54) at com.cenqua.fisheye.cvsrep.cache.CachedCvsRepositoryUpdater.pingSlurp(CachedCvsRepositoryUpdater.java:279) at com.cenqua.fisheye.cvsrep.CvsRepositoryEngine.doSlurp(CvsRepositoryEngine.java:68) at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:390) at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:25) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:66) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:132) at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:122) 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) {code}

    Atlassian JIRA | 5 years ago | Adam Ahmed [Atlassian]
    java.lang.NullPointerException
  6. 0

    When a start revision is supplied, some revisions may have no parent changeset. This causes a NullPointerException to be thrown whilst processing Ancestry, which causes the scanner to stop and retry scanning that repo: {code} 2011-07-01 08:07:19,952 DEBUG [InitialPinger1 WORMS_RAD] fisheye.app SvnRepositoryScanner-slurpRevisionBlock - Stopping diff fetcher 2011-07-01 08:07:19,952 ERROR [InitialPinger1 WORMS_RAD] fisheye.app BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo WORMS_RAD due to class java.lang.NullPointerException - null java.lang.NullPointerException at com.cenqua.fisheye.svn.SvnChangeSetAncestryProcessor.process(SvnChangeSetAncestryProcessor.java:104) at com.cenqua.fisheye.svn.DiffChangeSetProcessor.processChangeSet(DiffChangeSetProcessor.java:368) at com.cenqua.fisheye.svn.DiffChangeSetProcessor.createChangeSet(DiffChangeSetProcessor.java:304) at com.cenqua.fisheye.svn.SvnRepositoryScanner.slurpRevisionBlock(SvnRepositoryScanner.java:431) at com.cenqua.fisheye.rep.RepositoryScanner.processRevisions(RepositoryScanner.java:153) at com.cenqua.fisheye.rep.BaseRepositoryScanner.slurpRepository(BaseRepositoryScanner.java:301) at com.cenqua.fisheye.rep.BaseRepositoryScanner.doSlurpTransaction(BaseRepositoryScanner.java:268) at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:201) at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:90) at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:390) at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:25) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:66) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:132) at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:122) at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 2011-07-01 08:07:19,968 ERROR [InitialPinger1 WORMS_RAD] fisheye.app BaseRepositoryScanner-handleSlurpException - Repository scanner paused. 2011-07-01 08:07:19,968 DEBUG [InitialPinger1 WORMS_RAD] fisheye.app RepositoryStatus-setEngineError - Engine Error Set [WORMS_RAD]: Repository paused due to error java.lang.NullPointerException: null 2011-07-01 08:07:19,968 DEBUG [InitialPinger1 WORMS_RAD] fisheye.app BaseRepositoryScanner-doSlurpTransaction - Rolling back cache changes 2011-07-01 08:07:19,983 INFO [InitialPinger1 WORMS_RAD] fisheye.perf BaseRepositoryScanner-ping - done slurp for /WORMS_RAD time = 49791367ms 2011-07-01 08:07:19,983 INFO [InitialPinger1 WORMS_RAD] perf.timer Timer-output - <- Scanner doSlurp() time 49791295973 micros mem_usage = 1138340392 heapsize = 1382854656 freemem = 244514264 2011-07-01 08:07:19,983 INFO [InitialPinger1 ] perf.timer Timer-output - -> Review incremental scan for WORMS_RAD mem_usage = 1138340392 heapsize = 1382854656 freemem = 244514264 2011-07-01 08:07:19,999 DEBUG [InitialPinger1 ] fisheye.perf ReviewInfoDAO-doIncremental - indexed 0 revision updates. {code}

    Atlassian JIRA | 5 years ago | Nick Pellow [Atlassian]
    java.lang.NullPointerException

    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.svn.SvnLogMessage.getAuthor()
    2. com.cenqua.fisheye
      PingRequest.run
      1. com.cenqua.fisheye.svn.SvnLogMessage.getAuthor(SvnLogMessage.java:28)
      2. com.cenqua.fisheye.svn.SvnMessageContext.<init>(SvnMessageContext.java:35)
      3. com.cenqua.fisheye.svn.DiffChangeSetProcessor.createChangeSet(DiffChangeSetProcessor.java:218)
      4. com.cenqua.fisheye.svn.SvnRepositoryScanner.slurpRevisionBlock(SvnRepositoryScanner.java:419)
      5. com.cenqua.fisheye.rep.RepositoryScanner.processRevisions(RepositoryScanner.java:355)
      6. com.cenqua.fisheye.rep.RepositoryScanner.slurpRepository(RepositoryScanner.java:245)
      7. com.cenqua.fisheye.rep.RepositoryScanner.slurp(RepositoryScanner.java:176)
      8. com.cenqua.fisheye.rep.RepositoryScanner.ping(RepositoryScanner.java:109)
      9. com.cenqua.fisheye.svn.SvnRepositoryEngine.doSlurp(SvnRepositoryEngine.java:68)
      10. com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:30)
      11. com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:90)
      12. com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:120)
      13. com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:110)
      14. com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:57)
      14 frames
    3. 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:619)
      3 frames