java.lang.ExceptionInInitializerError

Google Groups | Unknown author | 2 years 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. scala.reflect.internal.MissingRequirementError

    error while loading package, Scala signature package has wrong version expected: 5.0 found: 45.0 in scala.package

    at scala.reflect.internal.MissingRequirementError$.signal()
  2. Scala
    package$.universe
    1. scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.scala:16)
    2. scala.reflect.runtime.JavaMirrors$JavaMirror.handleError$1(JavaMirrors.scala:535)
    3. scala.reflect.runtime.JavaMirrors$JavaMirror.unpickleClass(JavaMirrors.scala:584)
    4. scala.reflect.runtime.SymbolLoaders$TopClassCompleter.complete(SymbolLoaders.scala:32)
    5. scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1231)
    6. scala.reflect.internal.SymbolTable.openPackageModule(SymbolTable.scala:244)
    7. scala.reflect.internal.SymbolTable.openPackageModule(SymbolTable.scala:300)
    8. scala.reflect.runtime.SymbolLoaders$LazyPackageType.complete(SymbolLoaders.scala:89)
    9. scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1231)
    10. scala.reflect.internal.Definitions$DefinitionsClass.AnyValClass$lzycompute(Definitions.scala:275)
    11. scala.reflect.internal.Definitions$DefinitionsClass.AnyValClass(Definitions.scala:275)
    12. scala.reflect.runtime.JavaMirrors$class.init(JavaMirrors.scala:50)
    13. scala.reflect.runtime.JavaUniverse.init(JavaUniverse.scala:12)
    14. scala.reflect.runtime.JavaUniverse.<init>(JavaUniverse.scala:26)
    15. scala.reflect.runtime.package$.universe$lzycompute(package.scala:16)
    16. scala.reflect.runtime.package$.universe(package.scala:16)
    16 frames
  3. org.apache.spark
    JDBCRDD$$anonfun$1.apply
    1. org.apache.spark.sql.types.AtomicType.<init>(DataType.scala:95)
    2. org.apache.spark.sql.types.StringType.<init>(StringType.scala:33)
    3. org.apache.spark.sql.types.StringType$.<init>(StringType.scala:49)
    4. org.apache.spark.sql.types.StringType$.<clinit>(StringType.scala)
    5. org.apache.spark.sql.jdbc.JDBCRDD$.org$apache$spark$sql$jdbc$JDBCRDD$$getCatalystType(JDBCRDD.scala:62)
    6. org.apache.spark.sql.jdbc.JDBCRDD$$anonfun$1.apply(JDBCRDD.scala:137)
    7. org.apache.spark.sql.jdbc.JDBCRDD$$anonfun$1.apply(JDBCRDD.scala:137)
    7 frames
  4. Scala
    Option.getOrElse
    1. scala.Option.getOrElse(Option.scala:120)
    1 frame
  5. org.apache.spark
    DefaultSource.createRelation
    1. org.apache.spark.sql.jdbc.JDBCRDD$.resolveTable(JDBCRDD.scala:136)
    2. org.apache.spark.sql.jdbc.JDBCRelation.<init>(JDBCRelation.scala:128)
    3. org.apache.spark.sql.jdbc.DefaultSource.createRelation(JDBCRelation.scala:113)
    3 frames
  6. Spark Project SQL
    DataFrameReader.load
    1. org.apache.spark.sql.sources.ResolvedDataSource$.apply(ddl.scala:269)
    2. org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:114)
    2 frames
  7. com.ibm.imstest
    IMSAccessSample$delayedInit$body.apply
    1. com.ibm.imstest.IMSAccessSample$delayedInit$body.apply(IMSAccessSample.scala:26)
    1 frame
  8. Scala
    App$class.main
    1. scala.Function0$class.apply$mcV$sp(Function0.scala:40)
    2. scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
    3. scala.App$$anonfun$main$1.apply(App.scala:71)
    4. scala.App$$anonfun$main$1.apply(App.scala:71)
    5. scala.collection.immutable.List.foreach(List.scala:318)
    6. scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:32)
    7. scala.App$class.main(App.scala:71)
    7 frames
  9. com.ibm.imstest
    IMSAccessSample.main
    1. com.ibm.imstest.IMSAccessSample$.main(IMSAccessSample.scala:8)
    2. com.ibm.imstest.IMSAccessSample.main(IMSAccessSample.scala)
    2 frames