java.lang.NullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by ansell
, 10 months ago
This exception has no message.
via GitHub by ansell
, 10 months ago
This exception has no message.
java.lang.NullPointerException:
at au.org.ala.biocache.dao.OccurrenceDAOImpl$$anonfun$getCombinedUserStatus$2$$anonfun$apply$18.apply(OccurrenceDAOImpl.scala:995)
at au.org.ala.biocache.dao.OccurrenceDAOImpl$$anonfun$getCombinedUserStatus$2$$anonfun$apply$18.apply(OccurrenceDAOImpl.scala:995)
at scala.collection.IndexedSeqOptimized$$anonfun$exists$1.apply(IndexedSeqOptimized.scala:40)
at scala.collection.IndexedSeqOptimized$$anonfun$exists$1.apply(IndexedSeqOptimized.scala:40)
at scala.collection.IndexedSeqOptimized$class.segmentLength(IndexedSeqOptimized.scala:189)
at scala.collection.mutable.ArrayBuffer.segmentLength(ArrayBuffer.scala:47)
at scala.collection.GenSeqLike$class.prefixLength(GenSeqLike.scala:92)
at scala.collection.AbstractSeq.prefixLength(Seq.scala:40)
at scala.collection.IndexedSeqOptimized$class.exists(IndexedSeqOptimized.scala:40)
at au.org.ala.biocache.dao.OccurrenceDAOImpl$$anonfun$getCombinedUserStatus$2.apply(OccurrenceDAOImpl.scala:995)
at au.org.ala.biocache.dao.OccurrenceDAOImpl$$anonfun$getCombinedUserStatus$2.apply(OccurrenceDAOImpl.scala:995)
at au.org.ala.biocache.dao.OccurrenceDAOImpl.getCombinedUserStatus(OccurrenceDAOImpl.scala:995)
at au.org.ala.biocache.dao.OccurrenceDAOImpl.convertAssertionsToMap(OccurrenceDAOImpl.scala:681)
at au.org.ala.biocache.dao.OccurrenceDAOImpl$$anonfun$updateOccurrenceBatch$2.apply(OccurrenceDAOImpl.scala:646)
at au.org.ala.biocache.dao.OccurrenceDAOImpl$$anonfun$updateOccurrenceBatch$2.apply(OccurrenceDAOImpl.scala:607)
at au.org.ala.biocache.dao.OccurrenceDAOImpl.updateOccurrenceBatch(OccurrenceDAOImpl.scala:607)
at au.org.ala.biocache.processor.RecordProcessor.writeProcessBatch(RecordProcessor.scala:136)
at au.org.ala.biocache.tool.Consumer$$anonfun$act$1$$anonfun$apply$1.applyOrElse(ProcessRecords.scala:340)
at scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33)
at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33)
at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25)
at scala.actors.ReactorTask.run(ReactorTask.scala:31)
at au.org.ala.biocache.tool.Consumer.scala$actors$InternalReplyReactor$$super$resumeReceiver(ProcessRecords.scala:304)
at au.org.ala.biocache.tool.Consumer.resumeReceiver(ProcessRecords.scala:304)
at au.org.ala.biocache.tool.Consumer.searchMailbox(ProcessRecords.scala:304)
at scala.actors.Reactor$$anonfun$startSearch$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(Reactor.scala:117)
at scala.actors.Reactor$$anonfun$startSearch$1$$anonfun$apply$mcV$sp$1.apply(Reactor.scala:114)
at scala.actors.Reactor$$anonfun$startSearch$1$$anonfun$apply$mcV$sp$1.apply(Reactor.scala:114)
at scala.actors.ReactorTask.run(ReactorTask.scala:33)
at scala.actors.ReactorTask.compute(ReactorTask.scala:63)
at scala.concurrent.forkjoin.RecursiveAction.exec(RecursiveAction.java:160)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.