java.lang.NullPointerException

GitHub | dumoulma | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Can run train mnist example on YARN (NPE)

    GitHub | 8 months ago | dumoulma
    java.lang.NullPointerException
  2. 0

    GitHub comment 144#244510838

    GitHub | 8 months ago | anfeng
    java.lang.NullPointerException
  3. 0

    java.lang.NullPointerException in DNN network training

    GitHub | 1 month ago | apli
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    shark 安装 遇到的问题 - CSDN博客

    csdn.net | 2 years ago
    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 scala.collection.mutable.ArrayOps$ofRef$.length$extension()
    2. Scala
      ArrayOps$ofRef.foreach
      1. scala.collection.mutable.ArrayOps$ofRef$.length$extension(ArrayOps.scala:114)
      2. scala.collection.mutable.ArrayOps$ofRef.length(ArrayOps.scala:114)
      3. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:32)
      4. scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:108)
      4 frames
    3. com.yahoo.ml
      LmdbRDD.getPartitions
      1. com.yahoo.ml.caffe.LmdbRDD.localLMDBFile(LmdbRDD.scala:186)
      2. com.yahoo.ml.caffe.LmdbRDD.com$yahoo$ml$caffe$LmdbRDD$$openDB(LmdbRDD.scala:203)
      3. com.yahoo.ml.caffe.LmdbRDD.getPartitions(LmdbRDD.scala:47)
      3 frames
    4. Spark
      RDD$$anonfun$partitions$2.apply
      1. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:239)
      2. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:237)
      2 frames
    5. Scala
      Option.getOrElse
      1. scala.Option.getOrElse(Option.scala:120)
      1 frame
    6. Spark
      RDD$$anonfun$partitions$2.apply
      1. org.apache.spark.rdd.RDD.partitions(RDD.scala:237)
      2. org.apache.spark.rdd.MapPartitionsRDD.getPartitions(MapPartitionsRDD.scala:35)
      3. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:239)
      4. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:237)
      4 frames
    7. Scala
      Option.getOrElse
      1. scala.Option.getOrElse(Option.scala:120)
      1 frame
    8. Spark
      RDD.count
      1. org.apache.spark.rdd.RDD.partitions(RDD.scala:237)
      2. org.apache.spark.SparkContext.runJob(SparkContext.scala:1929)
      3. org.apache.spark.rdd.RDD.count(RDD.scala:1157)
      3 frames
    9. com.yahoo.ml
      CaffeOnSpark.main
      1. com.yahoo.ml.caffe.CaffeOnSpark.trainWithValidation(CaffeOnSpark.scala:271)
      2. com.yahoo.ml.caffe.CaffeOnSpark$.main(CaffeOnSpark.scala:56)
      3. com.yahoo.ml.caffe.CaffeOnSpark.main(CaffeOnSpark.scala)
      3 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    11. Spark Project YARN Stable API
      ApplicationMaster$$anon$2.run
      1. org.apache.spark.deploy.yarn.ApplicationMaster$$anon$2.run(ApplicationMaster.scala:542)
      1 frame