java.lang.NullPointerException

Atlassian JIRA | Adam Ahmed [Atlassian] | 6 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

    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 | 6 years ago | Aaron Washington
    java.lang.NullPointerException
  2. 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 | 6 years ago | Adam Ahmed [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 | 6 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 | 6 years ago | Adam Ahmed [Atlassian]
    java.lang.NullPointerException
  6. 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 | 8 years ago | Partha Kamal [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.cvsrep.cache.CachedCvsRepositoryUpdater.upgradeContentIndex()
    2. com.cenqua.fisheye
      PingRequest.run
      1. com.cenqua.fisheye.cvsrep.cache.CachedCvsRepositoryUpdater.upgradeContentIndex(CachedCvsRepositoryUpdater.java:406)
      2. com.cenqua.fisheye.cvsrep.cache.CachedCvsRepositoryUpdater.upgradeLuceneIndexesIfNecessary(CachedCvsRepositoryUpdater.java:348)
      3. com.cenqua.fisheye.cvsrep.cache.CachedCvsRepositoryUpdater.upgrade(CachedCvsRepositoryUpdater.java:296)
      4. com.cenqua.fisheye.cvsrep.cache.CvsHistoryChangeDetector.doRunOnce(CvsHistoryChangeDetector.java:117)
      5. com.cenqua.fisheye.cvsrep.cache.CvsHistoryChangeDetector.ping(CvsHistoryChangeDetector.java:54)
      6. com.cenqua.fisheye.cvsrep.cache.CachedCvsRepositoryUpdater.pingSlurp(CachedCvsRepositoryUpdater.java:279)
      7. com.cenqua.fisheye.cvsrep.CvsRepositoryEngine.doSlurp(CvsRepositoryEngine.java:68)
      8. com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:390)
      9. com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:25)
      10. com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:66)
      11. com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:132)
      12. com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:122)
      13. com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33)
      13 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:662)
      3 frames