java.lang.NullPointerException

Stack Overflow | user2021147 | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.apache.spark.streaming.dstream.DStreamCheckpointData$$anonfun$writeObject$1.apply$mcV$sp()
  2. Spark Project Streaming
    DStreamCheckpointData$$anonfun$writeObject$1.apply
    1. org.apache.spark.streaming.dstream.DStreamCheckpointData$$anonfun$writeObject$1.apply$mcV$sp(DStreamCheckpointData.scala:126)
    2. org.apache.spark.streaming.dstream.DStreamCheckpointData$$anonfun$writeObject$1.apply(DStreamCheckpointData.scala:124)
    3. org.apache.spark.streaming.dstream.DStreamCheckpointData$$anonfun$writeObject$1.apply(DStreamCheckpointData.scala:124)
    3 frames
  3. Spark
    Utils$.tryOrIOException
    1. org.apache.spark.util.Utils$.tryOrIOException(Utils.scala:1253)
    1 frame
  4. Spark Project Streaming
    DStreamCheckpointData.writeObject
    1. org.apache.spark.streaming.dstream.DStreamCheckpointData.writeObject(DStreamCheckpointData.scala:124)
    1 frame
  5. Java RT
    ObjectOutputStream.defaultWriteObject
    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:497)
    5. java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
    6. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)
    7. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
    8. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
    9. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
    10. java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:441)
    10 frames
  6. Spark Project Streaming
    DStream$$anonfun$writeObject$1.apply
    1. org.apache.spark.streaming.dstream.DStream$$anonfun$writeObject$1.apply$mcV$sp(DStream.scala:516)
    2. org.apache.spark.streaming.dstream.DStream$$anonfun$writeObject$1.apply(DStream.scala:511)
    3. org.apache.spark.streaming.dstream.DStream$$anonfun$writeObject$1.apply(DStream.scala:511)
    3 frames
  7. Spark
    Utils$.tryOrIOException
    1. org.apache.spark.util.Utils$.tryOrIOException(Utils.scala:1253)
    1 frame
  8. Spark Project Streaming
    DStream.writeObject
    1. org.apache.spark.streaming.dstream.DStream.writeObject(DStream.scala:511)
    1 frame
  9. Java RT
    ObjectOutputStream.defaultWriteObject
    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:497)
    5. java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
    6. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)
    7. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
    8. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
    9. java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1378)
    10. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
    11. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
    12. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
    13. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
    14. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
    15. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
    16. java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:441)
    16 frames
  10. Spark Project Streaming
    DStreamGraph$$anonfun$writeObject$1.apply
    1. org.apache.spark.streaming.DStreamGraph$$anonfun$writeObject$1.apply$mcV$sp(DStreamGraph.scala:182)
    2. org.apache.spark.streaming.DStreamGraph$$anonfun$writeObject$1.apply(DStreamGraph.scala:177)
    3. org.apache.spark.streaming.DStreamGraph$$anonfun$writeObject$1.apply(DStreamGraph.scala:177)
    3 frames
  11. Spark
    Utils$.tryOrIOException
    1. org.apache.spark.util.Utils$.tryOrIOException(Utils.scala:1253)
    1 frame
  12. Spark Project Streaming
    DStreamGraph.writeObject
    1. org.apache.spark.streaming.DStreamGraph.writeObject(DStreamGraph.scala:177)
    1 frame
  13. Java RT
    ObjectOutputStream.writeObject
    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:497)
    5. java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
    6. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)
    7. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
    8. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
    9. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
    10. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
    11. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
    12. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
    13. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
    13 frames
  14. Spark Project Streaming
    Checkpoint$$anonfun$serialize$1.apply
    1. org.apache.spark.streaming.Checkpoint$$anonfun$serialize$1.apply$mcV$sp(Checkpoint.scala:143)
    2. org.apache.spark.streaming.Checkpoint$$anonfun$serialize$1.apply(Checkpoint.scala:143)
    3. org.apache.spark.streaming.Checkpoint$$anonfun$serialize$1.apply(Checkpoint.scala:143)
    3 frames
  15. Spark
    Utils$.tryWithSafeFinally
    1. org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1287)
    1 frame
  16. Spark Project Streaming
    StreamingContext.start
    1. org.apache.spark.streaming.Checkpoint$.serialize(Checkpoint.scala:144)
    2. org.apache.spark.streaming.StreamingContext.validate(StreamingContext.scala:525)
    3. org.apache.spark.streaming.StreamingContext.liftedTree1$1(StreamingContext.scala:573)
    4. org.apache.spark.streaming.StreamingContext.start(StreamingContext.scala:572)
    4 frames
  17. Unknown
    StreamingEngine2.main
    1. StreamingEngine2$.main(StreamEngine2.scala:694)
    2. StreamingEngine2.main(StreamEngine2.scala)
    2 frames
  18. 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:497)
    4 frames
  19. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    1 frame