java.lang.ExceptionInInitializerError

Stack Overflow | octavian | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Exception when reading text file

    Stack Overflow | 7 months ago | octavian
    java.lang.ExceptionInInitializerError

    Root Cause Analysis

    1. java.lang.ExceptionInInitializerError

      No message provided

      at org.apache.spark.SparkContext.withScope()
    2. Spark
      SparkContext.textFile
      1. org.apache.spark.SparkContext.withScope(SparkContext.scala:682)
      2. org.apache.spark.SparkContext.textFile(SparkContext.scala:800)
      2 frames
    3. mstm.service
      MyClass$Test$$anonfun$1.apply
      1. mstm.service.MyClass$.loadText(MyClass.scala:65)
      2. mstm.service.MyClass$Test$$anonfun$1.apply$mcV$sp(MyClass$Test.scala:40)
      3. mstm.service.MyClass$Test$$anonfun$1.apply(MyClass$Test.scala:38)
      4. mstm.service.MyClass$Test$$anonfun$1.apply(MyClass$Test.scala:38)
      4 frames
    4. scalatest
      Transformer.apply
      1. org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)
      2. org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
      3. org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
      4. org.scalatest.Transformer.apply(Transformer.scala:22)
      5. org.scalatest.Transformer.apply(Transformer.scala:20)
      5 frames