java.lang.NullPointerException

Stack Overflow | mispp | 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

    GitHub comment 585#254386629

    GitHub | 6 months ago | assafi
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors
    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$.newBuilder$extension()
    2. Scala
      ArrayOps$ofRef.filter
      1. scala.collection.mutable.ArrayOps$ofRef$.newBuilder$extension(ArrayOps.scala:190)
      2. scala.collection.mutable.ArrayOps$ofRef.newBuilder(ArrayOps.scala:186)
      3. scala.collection.TraversableLike$class.filterImpl(TraversableLike.scala:246)
      4. scala.collection.TraversableLike$class.filter(TraversableLike.scala:259)
      5. scala.collection.mutable.ArrayOps$ofRef.filter(ArrayOps.scala:186)
      5 frames
    3. Spark Project YARN Stable API
      Client$$anonfun$prepareLocalResources$6.apply
      1. org.apache.spark.deploy.yarn.Client$$anonfun$prepareLocalResources$6.apply(Client.scala:484)
      2. org.apache.spark.deploy.yarn.Client$$anonfun$prepareLocalResources$6.apply(Client.scala:480)
      2 frames
    4. Scala
      ArraySeq.foreach
      1. scala.collection.mutable.ArraySeq.foreach(ArraySeq.scala:74)
      1 frame
    5. Spark Project YARN Stable API
      Client.submitApplication
      1. org.apache.spark.deploy.yarn.Client.prepareLocalResources(Client.scala:480)
      2. org.apache.spark.deploy.yarn.Client.createContainerLaunchContext(Client.scala:834)
      3. org.apache.spark.deploy.yarn.Client.submitApplication(Client.scala:167)
      3 frames
    6. Spark
      JavaSparkContext.<init>
      1. org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.start(YarnClientSchedulerBackend.scala:56)
      2. org.apache.spark.scheduler.TaskSchedulerImpl.start(TaskSchedulerImpl.scala:149)
      3. org.apache.spark.SparkContext.<init>(SparkContext.scala:500)
      4. org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:58)
      4 frames
    7. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      4 frames
    8. Py4J
      GatewayConnection.run
      1. py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:240)
      2. py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
      3. py4j.Gateway.invoke(Gateway.java:236)
      4. py4j.commands.ConstructorCommand.invokeConstructor(ConstructorCommand.java:80)
      5. py4j.commands.ConstructorCommand.execute(ConstructorCommand.java:69)
      6. py4j.GatewayConnection.run(GatewayConnection.java:211)
      6 frames
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame