java.io.NotSerializableException: com.redhat.et.silex.util.SampleSink Serialization stack: - object not serializable (class: com.redhat.et.silex.util.SampleSink, value: SampleSink(count=0, min=Infinity, max=-Infinity, mean=0.0, variance=NaN)) - field (class: com.redhat.et.silex.som.SOM, name: mqsink, type: class com.redhat.et.silex.util.SampleSink) - object (class com.redhat.et.silex.som.SOM, com.redhat.et.silex.som.SOM@7402c49f)

GitHub | ankitksharma | 2 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Not able to train SOMs

    GitHub | 2 months ago | ankitksharma
    java.io.NotSerializableException: com.redhat.et.silex.util.SampleSink Serialization stack: - object not serializable (class: com.redhat.et.silex.util.SampleSink, value: SampleSink(count=0, min=Infinity, max=-Infinity, mean=0.0, variance=NaN)) - field (class: com.redhat.et.silex.som.SOM, name: mqsink, type: class com.redhat.et.silex.util.SampleSink) - object (class com.redhat.et.silex.som.SOM, com.redhat.et.silex.som.SOM@7402c49f)
  2. 0

    GitHub comment 147#245684072

    GitHub | 7 months ago | fooblahblah
    java.lang.IllegalArgumentException: Class is not registered: com.databricks.spark.avro.DefaultSource$SerializableConfiguration Note: To register this class use: kryo.register(com.databricks.spark.avro.DefaultSource$SerializableConfiguration.class);
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Task not serializable

    GitHub | 10 months ago | waynefoltaERI
    org.apache.spark.SparkException: Task not serializable
  5. 0

    Spark Kryo Serialization fails

    Stack Overflow | 1 year ago | Daniel L.
    java.io.NotSerializableException: com.location.model.Profile Serialization stack: - object not serializable (class: com.location.model.Profile, value: com.location.model.Profile@596032b0) - field (class: org.apache.spark.rdd.PairRDDFunctions$$anonfun$aggregateByKey$1, name: zeroValue$3, type: class java.lang.Object) - object (class org.apache.spark.rdd.PairRDDFunctions$$anonfun$aggregateByKey$1, <function0>) - field (class: org.apache.spark.rdd.PairRDDFunctions$$anonfun$aggregateByKey$1$$anonfun$1, name: $outer, type: class org.apache.spark.rdd.PairRDDFunctions$$anonfun$aggregateByKey$1) - object (class org.apache.spark.rdd.PairRDDFunctions$$anonfun$aggregateByKey$1$$anonfun$1, <function0>) - field (class: org.apache.spark.rdd.PairRDDFunctions$$anonfun$aggregateByKey$1$$anonfun$apply$10, name: createZero$1, type: interface scala.Function0) - object (class org.apache.spark.rdd.PairRDDFunctions$$anonfun$aggregateByKey$1$$anonfun$apply$10, <function1>)

    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.io.NotSerializableException

      com.redhat.et.silex.util.SampleSink Serialization stack: - object not serializable (class: com.redhat.et.silex.util.SampleSink, value: SampleSink(count=0, min=Infinity, max=-Infinity, mean=0.0, variance=NaN)) - field (class: com.redhat.et.silex.som.SOM, name: mqsink, type: class com.redhat.et.silex.util.SampleSink) - object (class com.redhat.et.silex.som.SOM, com.redhat.et.silex.som.SOM@7402c49f)

      at org.apache.spark.serializer.SerializationDebugger$.improveException()
    2. Spark
      SparkContext.broadcast
      1. org.apache.spark.serializer.SerializationDebugger$.improveException(SerializationDebugger.scala:40)
      2. org.apache.spark.serializer.JavaSerializationStream.writeObject(JavaSerializer.scala:46)
      3. org.apache.spark.broadcast.TorrentBroadcast$$anonfun$blockifyObject$2.apply(TorrentBroadcast.scala:236)
      4. org.apache.spark.broadcast.TorrentBroadcast$$anonfun$blockifyObject$2.apply(TorrentBroadcast.scala:236)
      5. org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1287)
      6. org.apache.spark.broadcast.TorrentBroadcast$.blockifyObject(TorrentBroadcast.scala:237)
      7. org.apache.spark.broadcast.TorrentBroadcast.writeBlocks(TorrentBroadcast.scala:107)
      8. org.apache.spark.broadcast.TorrentBroadcast.<init>(TorrentBroadcast.scala:86)
      9. org.apache.spark.broadcast.TorrentBroadcastFactory.newBroadcast(TorrentBroadcastFactory.scala:34)
      10. org.apache.spark.broadcast.BroadcastManager.newBroadcast(BroadcastManager.scala:56)
      11. org.apache.spark.SparkContext.broadcast(SparkContext.scala:1370)
      11 frames
    3. com.redhat.et
      SOM$$anonfun$train$1.apply
      1. com.redhat.et.silex.som.SOM$$anonfun$train$1.apply(som.scala:204)
      2. com.redhat.et.silex.som.SOM$$anonfun$train$1.apply(som.scala:201)
      2 frames
    4. Scala
      AbstractTraversable.foldLeft
      1. scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:144)
      2. scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:144)
      3. scala.collection.immutable.Range.foreach(Range.scala:141)
      4. scala.collection.TraversableOnce$class.foldLeft(TraversableOnce.scala:144)
      5. scala.collection.AbstractTraversable.foldLeft(Traversable.scala:105)
      5 frames
    5. com.redhat.et
      SOM$.train
      1. com.redhat.et.silex.som.SOM$.train(som.scala:201)
      1 frame
    6. com.datarpm.dsl
      som.main
      1. com.datarpm.dsl.som.som$.main(som.scala:42)
      2. com.datarpm.dsl.som.som.main(som.scala)
      2 frames
    7. 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
    8. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
      1 frame