java.lang.ExceptionInInitializerError

Stack Overflow | matteo rulli | 3 months ago
  1. 0

    Spark is throughing scala.reflect.internal.MissingRequirementError when writing Naive Bayes model

    Stack Overflow | 5 months ago | Kaushal
    java.lang.RuntimeException: error reading Scala signature of org.apache.spark.ml.classification.NaiveBayesModel: assertion failed: class MLWriter
  2. 0

    Exception on using VectorAssembler in apache spark ml

    Stack Overflow | 7 months ago | hbabbar
    java.lang.RuntimeException: error reading Scala signature of org.apache.spark.mllib.linalg.Vector: assertion failed: unsafe symbol SparseVector (child of package linalg) in runtime reflection universe
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    I think I broke the repl

    Google Groups | 2 years ago | Jerzy Muller
    java.lang.RuntimeException: error reading Scala signature of $line5.$read: assertion failed: unsafe symbol $anon$1 (child of object $iw) in runtime reflection universe
  5. 0

    [SI-7639] java.lang.ArrayIndexOutOfBoundsException - java.lang.RuntimeException: error reading Scala signature of com.greenfossil.sqlview.TableSupport: null - Scala

    scala-lang.org | 1 year ago
    java.lang.RuntimeException: error reading Scala signature of com.greenfossil.sqlview.TableSupport: null

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

      error reading Scala signature of org.apache.spark.sql.package: assertion failed: unsafe symbol DeveloperApi (child of package annotation) in runtime reflection universe

      at scala.reflect.internal.pickling.UnPickler.unpickle()
    2. Scala
      Mirrors$RootsBase.staticClass
      1. scala.reflect.internal.pickling.UnPickler.unpickle(UnPickler.scala:46)
      2. scala.reflect.runtime.JavaMirrors$JavaMirror.unpickleClass(JavaMirrors.scala:619)
      3. scala.reflect.runtime.SymbolLoaders$TopClassCompleter$$anonfun$complete$1.apply$mcV$sp(SymbolLoaders.scala:28)
      4. scala.reflect.runtime.SymbolLoaders$TopClassCompleter$$anonfun$complete$1.apply(SymbolLoaders.scala:25)
      5. scala.reflect.runtime.SymbolLoaders$TopClassCompleter$$anonfun$complete$1.apply(SymbolLoaders.scala:25)
      6. scala.reflect.internal.SymbolTable.slowButSafeEnteringPhaseNotLaterThan(SymbolTable.scala:263)
      7. scala.reflect.runtime.SymbolLoaders$TopClassCompleter.complete(SymbolLoaders.scala:25)
      8. scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1514)
      9. scala.reflect.runtime.SynchronizedSymbols$SynchronizedSymbol$$anon$10.scala$reflect$runtime$SynchronizedSymbols$SynchronizedSymbol$$super$info(SynchronizedSymbols.scala:189)
      10. scala.reflect.runtime.SynchronizedSymbols$SynchronizedSymbol$$anonfun$info$1.apply(SynchronizedSymbols.scala:127)
      11. scala.reflect.runtime.SynchronizedSymbols$SynchronizedSymbol$$anonfun$info$1.apply(SynchronizedSymbols.scala:127)
      12. scala.reflect.runtime.Gil$class.gilSynchronized(Gil.scala:19)
      13. scala.reflect.runtime.JavaUniverse.gilSynchronized(JavaUniverse.scala:16)
      14. scala.reflect.runtime.SynchronizedSymbols$SynchronizedSymbol$class.gilSynchronizedIfNotThreadsafe(SynchronizedSymbols.scala:123)
      15. scala.reflect.runtime.SynchronizedSymbols$SynchronizedSymbol$$anon$10.gilSynchronizedIfNotThreadsafe(SynchronizedSymbols.scala:189)
      16. scala.reflect.runtime.SynchronizedSymbols$SynchronizedSymbol$class.info(SynchronizedSymbols.scala:127)
      17. scala.reflect.runtime.SynchronizedSymbols$SynchronizedSymbol$$anon$10.info(SynchronizedSymbols.scala:189)
      18. scala.reflect.internal.SymbolTable.openPackageModule(SymbolTable.scala:286)
      19. scala.reflect.internal.SymbolTable.openPackageModule(SymbolTable.scala:341)
      20. scala.reflect.runtime.SymbolLoaders$LazyPackageType$$anonfun$complete$2.apply$mcV$sp(SymbolLoaders.scala:74)
      21. scala.reflect.runtime.SymbolLoaders$LazyPackageType$$anonfun$complete$2.apply(SymbolLoaders.scala:71)
      22. scala.reflect.runtime.SymbolLoaders$LazyPackageType$$anonfun$complete$2.apply(SymbolLoaders.scala:71)
      23. scala.reflect.internal.SymbolTable.slowButSafeEnteringPhaseNotLaterThan(SymbolTable.scala:263)
      24. scala.reflect.runtime.SymbolLoaders$LazyPackageType.complete(SymbolLoaders.scala:71)
      25. scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1514)
      26. scala.reflect.runtime.SynchronizedSymbols$SynchronizedSymbol$$anon$1.scala$reflect$runtime$SynchronizedSymbols$SynchronizedSymbol$$super$info(SynchronizedSymbols.scala:174)
      27. scala.reflect.runtime.SynchronizedSymbols$SynchronizedSymbol$$anonfun$info$1.apply(SynchronizedSymbols.scala:127)
      28. scala.reflect.runtime.SynchronizedSymbols$SynchronizedSymbol$$anonfun$info$1.apply(SynchronizedSymbols.scala:127)
      29. scala.reflect.runtime.Gil$class.gilSynchronized(Gil.scala:19)
      30. scala.reflect.runtime.JavaUniverse.gilSynchronized(JavaUniverse.scala:16)
      31. scala.reflect.runtime.SynchronizedSymbols$SynchronizedSymbol$class.gilSynchronizedIfNotThreadsafe(SynchronizedSymbols.scala:123)
      32. scala.reflect.runtime.SynchronizedSymbols$SynchronizedSymbol$$anon$1.gilSynchronizedIfNotThreadsafe(SynchronizedSymbols.scala:174)
      33. scala.reflect.runtime.SynchronizedSymbols$SynchronizedSymbol$class.info(SynchronizedSymbols.scala:127)
      34. scala.reflect.runtime.SynchronizedSymbols$SynchronizedSymbol$$anon$1.info(SynchronizedSymbols.scala:174)
      35. scala.reflect.internal.Types$TypeRef.thisInfo(Types.scala:2194)
      36. scala.reflect.internal.Types$TypeRef.baseClasses(Types.scala:2199)
      37. scala.reflect.internal.tpe.FindMembers$FindMemberBase.<init>(FindMembers.scala:17)
      38. scala.reflect.internal.tpe.FindMembers$FindMember.<init>(FindMembers.scala:219)
      39. scala.reflect.internal.Types$Type.scala$reflect$internal$Types$Type$$findMemberInternal$1(Types.scala:1014)
      40. scala.reflect.internal.Types$Type.findMember(Types.scala:1016)
      41. scala.reflect.internal.Types$Type.memberBasedOnName(Types.scala:631)
      42. scala.reflect.internal.Types$Type.member(Types.scala:600)
      43. scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:48)
      44. scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:45)
      45. scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:66)
      46. scala.reflect.internal.Mirrors$RootsBase.staticModuleOrClass(Mirrors.scala:77)
      47. scala.reflect.internal.Mirrors$RootsBase.staticClass(Mirrors.scala:122)
      48. scala.reflect.internal.Mirrors$RootsBase.staticClass(Mirrors.scala:22)
      48 frames
    3. org.apache.spark
      StringType$$typecreator1$1.apply
      1. org.apache.spark.sql.types.StringType$$typecreator1$1.apply(StringType.scala:37)
      1 frame
    4. Scala
      TypeTags$WeakTypeTagImpl.tpe
      1. scala.reflect.api.TypeTags$WeakTypeTagImpl.tpe$lzycompute(TypeTags.scala:232)
      2. scala.reflect.api.TypeTags$WeakTypeTagImpl.tpe(TypeTags.scala:232)
      2 frames
    5. org.apache.spark
      ShowTablesCommand.<init>
      1. org.apache.spark.sql.types.AtomicType.<init>(AbstractDataType.scala:136)
      2. org.apache.spark.sql.types.StringType.<init>(StringType.scala:32)
      3. org.apache.spark.sql.types.StringType$.<init>(StringType.scala:48)
      4. org.apache.spark.sql.types.StringType$.<clinit>(StringType.scala)
      5. org.apache.spark.sql.execution.command.ShowTablesCommand.<init>(tables.scala:556)
      5 frames
    6. Spark Project SQL
      SparkSqlAstBuilder$$anonfun$visitShowTables$1.apply
      1. org.apache.spark.sql.execution.SparkSqlAstBuilder$$anonfun$visitShowTables$1.apply(SparkSqlParser.scala:124)
      2. org.apache.spark.sql.execution.SparkSqlAstBuilder$$anonfun$visitShowTables$1.apply(SparkSqlParser.scala:124)
      2 frames
    7. org.apache.spark
      ParserUtils$.withOrigin
      1. org.apache.spark.sql.catalyst.parser.ParserUtils$.withOrigin(ParserUtils.scala:96)
      1 frame
    8. Spark Project SQL
      SparkSqlAstBuilder.visitShowTables
      1. org.apache.spark.sql.execution.SparkSqlAstBuilder.visitShowTables(SparkSqlParser.scala:123)
      2. org.apache.spark.sql.execution.SparkSqlAstBuilder.visitShowTables(SparkSqlParser.scala:53)
      2 frames
    9. org.apache.spark
      SqlBaseParser$ShowTablesContext.accept
      1. org.apache.spark.sql.catalyst.parser.SqlBaseParser$ShowTablesContext.accept(SqlBaseParser.java:844)
      1 frame
    10. ANTLR 4 Runtime
      AbstractParseTreeVisitor.visit
      1. org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:42)
      1 frame
    11. org.apache.spark
      AbstractSqlParser.parse
      1. org.apache.spark.sql.catalyst.parser.AstBuilder$$anonfun$visitSingleStatement$1.apply(AstBuilder.scala:64)
      2. org.apache.spark.sql.catalyst.parser.AstBuilder$$anonfun$visitSingleStatement$1.apply(AstBuilder.scala:64)
      3. org.apache.spark.sql.catalyst.parser.ParserUtils$.withOrigin(ParserUtils.scala:96)
      4. org.apache.spark.sql.catalyst.parser.AstBuilder.visitSingleStatement(AstBuilder.scala:63)
      5. org.apache.spark.sql.catalyst.parser.AbstractSqlParser$$anonfun$parsePlan$1.apply(ParseDriver.scala:54)
      6. org.apache.spark.sql.catalyst.parser.AbstractSqlParser$$anonfun$parsePlan$1.apply(ParseDriver.scala:53)
      7. org.apache.spark.sql.catalyst.parser.AbstractSqlParser.parse(ParseDriver.scala:82)
      7 frames
    12. Spark Project SQL
      SparkSqlParser.parse
      1. org.apache.spark.sql.execution.SparkSqlParser.parse(SparkSqlParser.scala:46)
      1 frame
    13. org.apache.spark
      AbstractSqlParser.parsePlan
      1. org.apache.spark.sql.catalyst.parser.AbstractSqlParser.parsePlan(ParseDriver.scala:53)
      1 frame
    14. Spark Project SQL
      SQLContext.sql
      1. org.apache.spark.sql.SparkSession.sql(SparkSession.scala:582)
      2. org.apache.spark.sql.SQLContext.sql(SQLContext.scala:682)
      2 frames
    15. com.nonono.osgi
      EtlCommand.etl
      1. com.nonono.osgi.example.int.etl.command.EtlCommand.etl(EtlCommand.java:34)
      1 frame
    16. 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
    17. Apache Felix Gogo Runtime
      CommandSessionImpl.execute
      1. org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
      2. org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
      3. org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)
      4. org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)
      5. org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
      6. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)
      7. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)
      8. org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)
      8 frames
    18. Felix Gogo
      Shell.gosh
      1. org.apache.felix.gogo.shell.Console.run(Console.java:62)
      2. org.apache.felix.gogo.shell.Shell.console(Shell.java:203)
      3. org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128)
      3 frames
    19. 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
    20. Apache Felix Gogo Runtime
      CommandSessionImpl.execute
      1. org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
      2. org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
      3. org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)
      4. org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)
      5. org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
      6. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)
      7. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)
      8. org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)
      8 frames
    21. Felix Gogo
      Activator.run
      1. org.apache.felix.gogo.shell.Activator.run(Activator.java:75)
      1 frame
    22. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame