java.lang.NullPointerException

GitHub | ansell | 4 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd . Or join the community to write better ones.
  1. 0

    GitHub comment 174#271753517

    GitHub | 4 months ago | ansell
    java.lang.NullPointerException
  2. 0

    ANWC import contains NullPointerExceptions

    GitHub | 4 months ago | ansell
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0
    samebug tip
    You should use java.sql.Timestamp or Date to map BsonDateTime from mongodb.
  5. 0

    NullPointerException

    GitHub | 2 years ago | SRGOM
    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 au.org.ala.biocache.dao.OccurrenceDAOImpl$$anonfun$getCombinedUserStatus$2$$anonfun$apply$18.apply()
    2. au.org.ala
      OccurrenceDAOImpl$$anonfun$getCombinedUserStatus$2$$anonfun$apply$18.apply
      1. au.org.ala.biocache.dao.OccurrenceDAOImpl$$anonfun$getCombinedUserStatus$2$$anonfun$apply$18.apply(OccurrenceDAOImpl.scala:995)
      2. au.org.ala.biocache.dao.OccurrenceDAOImpl$$anonfun$getCombinedUserStatus$2$$anonfun$apply$18.apply(OccurrenceDAOImpl.scala:995)
      2 frames
    3. Scala
      ArrayBuffer.exists
      1. scala.collection.IndexedSeqOptimized$$anonfun$exists$1.apply(IndexedSeqOptimized.scala:40)
      2. scala.collection.IndexedSeqOptimized$$anonfun$exists$1.apply(IndexedSeqOptimized.scala:40)
      3. scala.collection.IndexedSeqOptimized$class.segmentLength(IndexedSeqOptimized.scala:189)
      4. scala.collection.mutable.ArrayBuffer.segmentLength(ArrayBuffer.scala:47)
      5. scala.collection.GenSeqLike$class.prefixLength(GenSeqLike.scala:92)
      6. scala.collection.AbstractSeq.prefixLength(Seq.scala:40)
      7. scala.collection.IndexedSeqOptimized$class.exists(IndexedSeqOptimized.scala:40)
      8. scala.collection.mutable.ArrayBuffer.exists(ArrayBuffer.scala:47)
      8 frames
    4. au.org.ala
      OccurrenceDAOImpl$$anonfun$getCombinedUserStatus$2.apply
      1. au.org.ala.biocache.dao.OccurrenceDAOImpl$$anonfun$getCombinedUserStatus$2.apply(OccurrenceDAOImpl.scala:995)
      2. au.org.ala.biocache.dao.OccurrenceDAOImpl$$anonfun$getCombinedUserStatus$2.apply(OccurrenceDAOImpl.scala:995)
      2 frames
    5. Scala
      List.foreach
      1. scala.collection.immutable.List.foreach(List.scala:318)
      1 frame
    6. au.org.ala
      OccurrenceDAOImpl$$anonfun$updateOccurrenceBatch$2.apply
      1. au.org.ala.biocache.dao.OccurrenceDAOImpl.getCombinedUserStatus(OccurrenceDAOImpl.scala:995)
      2. au.org.ala.biocache.dao.OccurrenceDAOImpl.convertAssertionsToMap(OccurrenceDAOImpl.scala:681)
      3. au.org.ala.biocache.dao.OccurrenceDAOImpl$$anonfun$updateOccurrenceBatch$2.apply(OccurrenceDAOImpl.scala:646)
      4. au.org.ala.biocache.dao.OccurrenceDAOImpl$$anonfun$updateOccurrenceBatch$2.apply(OccurrenceDAOImpl.scala:607)
      4 frames
    7. Scala
      List.foreach
      1. scala.collection.immutable.List.foreach(List.scala:318)
      1 frame
    8. au.org.ala
      Consumer$$anonfun$act$1$$anonfun$apply$1.applyOrElse
      1. au.org.ala.biocache.dao.OccurrenceDAOImpl.updateOccurrenceBatch(OccurrenceDAOImpl.scala:607)
      2. au.org.ala.biocache.processor.RecordProcessor.writeProcessBatch(RecordProcessor.scala:136)
      3. au.org.ala.biocache.tool.Consumer$$anonfun$act$1$$anonfun$apply$1.applyOrElse(ProcessRecords.scala:340)
      3 frames
    9. Scala
      AbstractPartialFunction$mcVL$sp.apply
      1. scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33)
      2. scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33)
      3. scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25)
      3 frames
    10. Scala Actors library
      Reactor$class.resumeReceiver
      1. scala.actors.ReactorTask.run(ReactorTask.scala:31)
      2. scala.actors.Reactor$class.resumeReceiver(Reactor.scala:129)
      2 frames
    11. au.org.ala
      Consumer.scala$actors$InternalReplyReactor$$super$resumeReceiver
      1. au.org.ala.biocache.tool.Consumer.scala$actors$InternalReplyReactor$$super$resumeReceiver(ProcessRecords.scala:304)
      1 frame
    12. Scala Actors library
      InternalReplyReactor$class.resumeReceiver
      1. scala.actors.InternalReplyReactor$class.resumeReceiver(InternalReplyReactor.scala:59)
      1 frame
    13. au.org.ala
      Consumer.resumeReceiver
      1. au.org.ala.biocache.tool.Consumer.resumeReceiver(ProcessRecords.scala:304)
      1 frame
    14. Scala Actors library
      InternalActor$class.searchMailbox
      1. scala.actors.InternalActor$class.searchMailbox(InternalActor.scala:76)
      1 frame
    15. au.org.ala
      Consumer.searchMailbox
      1. au.org.ala.biocache.tool.Consumer.searchMailbox(ProcessRecords.scala:304)
      1 frame
    16. Scala Actors library
      ReactorTask.compute
      1. scala.actors.Reactor$$anonfun$startSearch$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(Reactor.scala:117)
      2. scala.actors.Reactor$$anonfun$startSearch$1$$anonfun$apply$mcV$sp$1.apply(Reactor.scala:114)
      3. scala.actors.Reactor$$anonfun$startSearch$1$$anonfun$apply$mcV$sp$1.apply(Reactor.scala:114)
      4. scala.actors.ReactorTask.run(ReactorTask.scala:33)
      5. scala.actors.ReactorTask.compute(ReactorTask.scala:63)
      5 frames
    17. Scala
      ForkJoinWorkerThread.run
      1. scala.concurrent.forkjoin.RecursiveAction.exec(RecursiveAction.java:160)
      2. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      3. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
      4. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
      5. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
      5 frames