java.lang.AssertionError: assertion failed: class MLWriter

Stack Overflow | Kaushal | 5 months ago
  1. 0

    assertion failed: unsafe symbol DeveloperApi in runtime reflection universe

    Stack Overflow | 3 months ago | matteo rulli
    java.lang.AssertionError: assertion failed: unsafe symbol DeveloperApi (child of package annotation) in runtime reflection universe
  2. 0

    scala.reflect.api

    GitHub | 2 years ago | YannMoisan
    java.lang.AssertionError: assertion failed: List(object JSONUtils, object JSONUtils)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Consume from Kafka and send to Druid issue

    Stack Overflow | 4 days ago | Ido Barash
    java.lang.AssertionError: assertion failed: List(package nio, package nio, package nio, package nio, package nio, package nio, package nio)
  5. 0

    [scala-internals] Exception in ClassfileParser during macro expansion due to TypeTree? - Grokbase

    grokbase.com | 1 year ago
    java.lang.AssertionError: assertion failed: class WeakHashMap: <none>

    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.AssertionError

      assertion failed: class MLWriter

      at scala.reflect.internal.pickling.UnPickler$Scan.readSymbolRef()
    2. Scala
      Mirrors$RootsBase.staticClass
      1. scala.reflect.internal.pickling.UnPickler$Scan.readSymbolRef(UnPickler.scala:784)
      2. scala.reflect.internal.pickling.UnPickler$Scan.readType(UnPickler.scala:346)
      3. scala.reflect.internal.pickling.UnPickler$Scan$$anonfun$readTypeRef$1.apply(UnPickler.scala:792)
      4. scala.reflect.internal.pickling.UnPickler$Scan$$anonfun$readTypeRef$1.apply(UnPickler.scala:792)
      5. scala.reflect.internal.pickling.UnPickler$Scan.at(UnPickler.scala:171)
      6. scala.reflect.internal.pickling.UnPickler$Scan.readTypeRef(UnPickler.scala:792)
      7. scala.reflect.internal.pickling.UnPickler$Scan.readType(UnPickler.scala:366)
      8. scala.reflect.internal.pickling.UnPickler$Scan$LazyTypeRef$$anonfun$34.apply(UnPickler.scala:855)
      9. scala.reflect.internal.pickling.UnPickler$Scan$LazyTypeRef$$anonfun$34.apply(UnPickler.scala:855)
      10. scala.reflect.internal.pickling.UnPickler$Scan.at(UnPickler.scala:171)
      11. scala.reflect.internal.pickling.UnPickler$Scan$LazyTypeRef.complete(UnPickler.scala:855)
      12. scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1231)
      13. scala.reflect.internal.Symbols$Symbol.initialize(Symbols.scala:1374)
      14. scala.reflect.internal.Symbols$Symbol.annotations(Symbols.scala:1581)
      15. scala.reflect.internal.Symbols$Symbol.addAnnotation(Symbols.scala:1600)
      16. scala.reflect.internal.pickling.UnPickler$Scan.readSymbolAnnotation(UnPickler.scala:491)
      17. scala.reflect.internal.pickling.UnPickler$Scan.run(UnPickler.scala:88)
      18. scala.reflect.internal.pickling.UnPickler.unpickle(UnPickler.scala:37)
      19. scala.reflect.runtime.JavaMirrors$JavaMirror.unpickleClass(JavaMirrors.scala:565)
      20. scala.reflect.runtime.SymbolLoaders$TopClassCompleter.complete(SymbolLoaders.scala:32)
      21. scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1231)
      22. scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:43)
      23. scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:61)
      24. scala.reflect.internal.Mirrors$RootsBase.staticModuleOrClass(Mirrors.scala:72)
      25. scala.reflect.internal.Mirrors$RootsBase.staticClass(Mirrors.scala:119)
      26. scala.reflect.internal.Mirrors$RootsBase.staticClass(Mirrors.scala:21)
      26 frames
    3. Spark Project ML Library
      NaiveBayesModel$NaiveBayesModelWriter$$typecreator1$1.apply
      1. org.apache.spark.ml.classification.NaiveBayesModel$NaiveBayesModelWriter$$typecreator1$1.apply(NaiveBayes.scala:264)
      1 frame
    4. Scala
      TypeTags$WeakTypeTagImpl.tpe
      1. scala.reflect.api.TypeTags$WeakTypeTagImpl.tpe$lzycompute(TypeTags.scala:231)
      2. scala.reflect.api.TypeTags$WeakTypeTagImpl.tpe(TypeTags.scala:231)
      2 frames
    5. Spark Project Catalyst
      ScalaReflection$.schemaFor
      1. org.apache.spark.sql.catalyst.ScalaReflection$class.localTypeOf(ScalaReflection.scala:642)
      2. org.apache.spark.sql.catalyst.ScalaReflection$.localTypeOf(ScalaReflection.scala:30)
      3. org.apache.spark.sql.catalyst.ScalaReflection$class.schemaFor(ScalaReflection.scala:630)
      4. org.apache.spark.sql.catalyst.ScalaReflection$.schemaFor(ScalaReflection.scala:30)
      4 frames
    6. Spark Project SQL
      SQLContext.createDataFrame
      1. org.apache.spark.sql.SQLContext.createDataFrame(SQLContext.scala:430)
      1 frame
    7. Spark Project ML Library
      NaiveBayesModel$NaiveBayesModelWriter.saveImpl
      1. org.apache.spark.ml.classification.NaiveBayesModel$NaiveBayesModelWriter.saveImpl(NaiveBayes.scala:264)
      1 frame
    8. org.apache.spark
      MLWritable$class.save
      1. org.apache.spark.ml.util.MLWriter.save(ReadWrite.scala:90)
      2. org.apache.spark.ml.util.MLWritable$class.save(ReadWrite.scala:130)
      2 frames
    9. Spark Project ML Library
      NaiveBayesModel.save
      1. org.apache.spark.ml.classification.NaiveBayesModel.save(NaiveBayes.scala:130)
      1 frame
    10. $line61
      $read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1$$anonfun$apply$mcVI$sp$1.apply
      1. $line61.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1$$anonfun$apply$mcVI$sp$1.apply$mcV$sp(<console>:65)
      2. $line61.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1$$anonfun$apply$mcVI$sp$1.apply(<console>:63)
      3. $line61.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1$$anonfun$apply$mcVI$sp$1.apply(<console>:63)
      3 frames
    11. Scala
      Future$PromiseCompletingRunnable.run
      1. scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)
      2. scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)
      2 frames
    12. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames