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 jenniew
, 11 months ago
This exception has no message.
java.lang.NullPointerException:
at com.intel.analytics.bigdl.dataset.image.BytesToBGRImg$$anonfun$apply$1.apply(BytesToBGRImg.scala:40)
at com.intel.analytics.bigdl.dataset.image.BytesToBGRImg$$anonfun$apply$1.apply(BytesToBGRImg.scala:39)
at com.intel.analytics.bigdl.dataset.image.PreFetch$$anon$2.hasNext(MTLabeledBGRImgToBatch.scala:115)
at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:327)
at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:327)
at com.intel.analytics.bigdl.dataset.image.MTLabeledBGRImgToBatch$$anon$1$$anonfun$2$$anonfun$apply$1.apply$mcI$sp(MTLabeledBGRImgToBatch.scala:81)
at com.intel.analytics.bigdl.dataset.image.MTLabeledBGRImgToBatch$$anon$1$$anonfun$2$$anonfun$apply$1.apply(MTLabeledBGRImgToBatch.scala:78)
at com.intel.analytics.bigdl.dataset.image.MTLabeledBGRImgToBatch$$anon$1$$anonfun$2$$anonfun$apply$1.apply(MTLabeledBGRImgToBatch.scala:78)
at com.intel.analytics.bigdl.utils.ThreadPool$$anonfun$invokeAndWait$1$$anonfun$apply$2.apply(Engine.scala:103)
at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

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.