java.lang.NullPointerException

Atlassian JIRA | Gurleen Anand [Atlassian] | 4 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    The stacktrace is: {noformat} 2013-09-09 15:05:28,947 ERROR [IncrementalPinger1 ] fisheye CrossRepositoryRescanRequest-doRequest - Exception during cross-repository scan: java.lang.NullPointerException at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187) at com.cenqua.fisheye.crossrepo.ChangesetDoc.fromChangeSet(ChangesetDoc.java:143) at com.cenqua.fisheye.csindex.ChangesetIndexer$5.apply(ChangesetIndexer.java:154) at com.cenqua.fisheye.csindex.ChangesetIndexer$5.apply(ChangesetIndexer.java:151) at com.cenqua.fisheye.csindex.ChangesetIndexer.writeInBatches(ChangesetIndexer.java:169) at com.cenqua.fisheye.csindex.ChangesetIndexer.indexChangesetsAndAuthors(ChangesetIndexer.java:151) at com.cenqua.fisheye.csindex.ChangesetIndexer.indexChangesetsAndAuthors(ChangesetIndexer.java:120) at com.atlassian.fisheye.svn.Svn2Scanner.indexChangeSets(Svn2Scanner.java:531) at com.atlassian.fisheye.svn.Svn2Scanner.reindexChangesets(Svn2Scanner.java:1042) at com.cenqua.fisheye.rep.ping.CrossRepositoryRescanRequest.doCrossRepoRescanCheck(CrossRepositoryRescanRequest.java:129) at com.cenqua.fisheye.rep.ping.CrossRepositoryRescanRequest.access$000(CrossRepositoryRescanRequest.java:30) at com.cenqua.fisheye.rep.ping.CrossRepositoryRescanRequest$1.apply(CrossRepositoryRescanRequest.java:60) at com.cenqua.fisheye.rep.ping.CrossRepositoryRescanRequest$1.apply(CrossRepositoryRescanRequest.java:57) at com.cenqua.fisheye.rep.RepositoryHandle.withEngine(RepositoryHandle.java:507) at com.cenqua.fisheye.rep.ping.CrossRepositoryRescanRequest.doRequest(CrossRepositoryRescanRequest.java:57) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:51) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:230) at com.cenqua.fisheye.rep.RepositoryHandle.access$100(RepositoryHandle.java:61) at com.cenqua.fisheye.rep.RepositoryHandle$2.run(RepositoryHandle.java:186) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) {noformat}

    Atlassian JIRA | 4 years ago | Gurleen Anand [Atlassian]
    java.lang.NullPointerException
  2. 0

    The stacktrace is: {noformat} 2013-09-09 15:05:28,947 ERROR [IncrementalPinger1 ] fisheye CrossRepositoryRescanRequest-doRequest - Exception during cross-repository scan: java.lang.NullPointerException at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187) at com.cenqua.fisheye.crossrepo.ChangesetDoc.fromChangeSet(ChangesetDoc.java:143) at com.cenqua.fisheye.csindex.ChangesetIndexer$5.apply(ChangesetIndexer.java:154) at com.cenqua.fisheye.csindex.ChangesetIndexer$5.apply(ChangesetIndexer.java:151) at com.cenqua.fisheye.csindex.ChangesetIndexer.writeInBatches(ChangesetIndexer.java:169) at com.cenqua.fisheye.csindex.ChangesetIndexer.indexChangesetsAndAuthors(ChangesetIndexer.java:151) at com.cenqua.fisheye.csindex.ChangesetIndexer.indexChangesetsAndAuthors(ChangesetIndexer.java:120) at com.atlassian.fisheye.svn.Svn2Scanner.indexChangeSets(Svn2Scanner.java:531) at com.atlassian.fisheye.svn.Svn2Scanner.reindexChangesets(Svn2Scanner.java:1042) at com.cenqua.fisheye.rep.ping.CrossRepositoryRescanRequest.doCrossRepoRescanCheck(CrossRepositoryRescanRequest.java:129) at com.cenqua.fisheye.rep.ping.CrossRepositoryRescanRequest.access$000(CrossRepositoryRescanRequest.java:30) at com.cenqua.fisheye.rep.ping.CrossRepositoryRescanRequest$1.apply(CrossRepositoryRescanRequest.java:60) at com.cenqua.fisheye.rep.ping.CrossRepositoryRescanRequest$1.apply(CrossRepositoryRescanRequest.java:57) at com.cenqua.fisheye.rep.RepositoryHandle.withEngine(RepositoryHandle.java:507) at com.cenqua.fisheye.rep.ping.CrossRepositoryRescanRequest.doRequest(CrossRepositoryRescanRequest.java:57) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:51) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:230) at com.cenqua.fisheye.rep.RepositoryHandle.access$100(RepositoryHandle.java:61) at com.cenqua.fisheye.rep.RepositoryHandle$2.run(RepositoryHandle.java:186) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) {noformat}

    Atlassian JIRA | 4 years ago | Gurleen Anand [Atlassian]
    java.lang.NullPointerException
  3. 0
    samebug tip
    Take a look at this blog post on how to set up Grid2 https://goo.gl/rxzbE6. A user related (in the email group on the source) that using older selenium libs solves this exception.
    via gmane.org
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to register custom parsers?

    Google Groups | 3 years ago | Zhao Weinan
    com.fasterxml.jackson.databind.JsonMappingException: Instantiation of [simple type, class io.druid.data.input.impl.DelimitedDataSpec] value failed: null
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.google.common.base.Preconditions.checkNotNull()
  2. Guava
    Preconditions.checkNotNull
    1. com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)
    1 frame
  3. com.cenqua.fisheye
    ChangesetIndexer.indexChangesetsAndAuthors
    1. com.cenqua.fisheye.crossrepo.ChangesetDoc.fromChangeSet(ChangesetDoc.java:143)
    2. com.cenqua.fisheye.csindex.ChangesetIndexer$5.apply(ChangesetIndexer.java:154)
    3. com.cenqua.fisheye.csindex.ChangesetIndexer$5.apply(ChangesetIndexer.java:151)
    4. com.cenqua.fisheye.csindex.ChangesetIndexer.writeInBatches(ChangesetIndexer.java:169)
    5. com.cenqua.fisheye.csindex.ChangesetIndexer.indexChangesetsAndAuthors(ChangesetIndexer.java:151)
    6. com.cenqua.fisheye.csindex.ChangesetIndexer.indexChangesetsAndAuthors(ChangesetIndexer.java:120)
    6 frames
  4. com.atlassian.fisheye
    Svn2Scanner.reindexChangesets
    1. com.atlassian.fisheye.svn.Svn2Scanner.indexChangeSets(Svn2Scanner.java:531)
    2. com.atlassian.fisheye.svn.Svn2Scanner.reindexChangesets(Svn2Scanner.java:1042)
    2 frames
  5. com.cenqua.fisheye
    RepositoryHandle$2.run
    1. com.cenqua.fisheye.rep.ping.CrossRepositoryRescanRequest.doCrossRepoRescanCheck(CrossRepositoryRescanRequest.java:129)
    2. com.cenqua.fisheye.rep.ping.CrossRepositoryRescanRequest.access$000(CrossRepositoryRescanRequest.java:30)
    3. com.cenqua.fisheye.rep.ping.CrossRepositoryRescanRequest$1.apply(CrossRepositoryRescanRequest.java:60)
    4. com.cenqua.fisheye.rep.ping.CrossRepositoryRescanRequest$1.apply(CrossRepositoryRescanRequest.java:57)
    5. com.cenqua.fisheye.rep.RepositoryHandle.withEngine(RepositoryHandle.java:507)
    6. com.cenqua.fisheye.rep.ping.CrossRepositoryRescanRequest.doRequest(CrossRepositoryRescanRequest.java:57)
    7. com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:51)
    8. com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:230)
    9. com.cenqua.fisheye.rep.RepositoryHandle.access$100(RepositoryHandle.java:61)
    10. com.cenqua.fisheye.rep.RepositoryHandle$2.run(RepositoryHandle.java:186)
    10 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    3. java.lang.Thread.run(Thread.java:636)
    3 frames