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 anfeng
, 1 year ago
This exception has no message.
via GitHub by dumoulma
, 1 year ago
This exception has no message.
via GitHub by apli
, 1 year ago
via GitHub by anfeng
, 1 year ago
This exception has no message.
via GitHub by mriduljain
, 1 year ago
This exception has no message.
java.lang.NullPointerException: 	at scala.collection.mutable.ArrayOps$ofRef$.length$extension(ArrayOps.scala:114)	at scala.collection.mutable.ArrayOps$ofRef.length(ArrayOps.scala:114)	at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:32)	at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:108)	at com.yahoo.ml.caffe.LmdbRDD.localLMDBFile(LmdbRDD.scala:186)	at com.yahoo.ml.caffe.LmdbRDD.com$yahoo$ml$caffe$LmdbRDD$$openDB(LmdbRDD.scala:203)	at com.yahoo.ml.caffe.LmdbRDD.getPartitions(LmdbRDD.scala:47)	at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:239)	at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:237)	at scala.Option.getOrElse(Option.scala:120)	at org.apache.spark.rdd.RDD.partitions(RDD.scala:237)	at org.apache.spark.rdd.MapPartitionsRDD.getPartitions(MapPartitionsRDD.scala:35)	at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:239)	at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:237)	at scala.Option.getOrElse(Option.scala:120)	at org.apache.spark.rdd.RDD.partitions(RDD.scala:237)	at org.apache.spark.SparkContext.runJob(SparkContext.scala:1929)	at org.apache.spark.rdd.RDD.count(RDD.scala:1157)	at com.yahoo.ml.caffe.CaffeOnSpark.trainWithValidation(CaffeOnSpark.scala:271)	at com.yahoo.ml.caffe.CaffeOnSpark$.main(CaffeOnSpark.scala:56)	at com.yahoo.ml.caffe.CaffeOnSpark.main(CaffeOnSpark.scala)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.apache.spark.deploy.yarn.ApplicationMaster$$anon$2.run(ApplicationMaster.scala:542)