java.lang.ExceptionInInitializerError

Google Groups | Fredrik | 1 month ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael , Rafael Fischer Viola and rp . Or join the community to write better ones.
  1. 0

    Give sbt task access to application

    Google Groups | 1 month ago | Fredrik
    java.lang.ExceptionInInitializerError
  2. 0
    samebug tip
    This bug happens from SDK 8 b117 to SDK 8 b122, try updating to 122 or further to fix it.
    via GitHub by imeredith
  3. 0
    samebug tip
    You're using incompatible versions of Scala and ScalaTest. If you're using Scala 2.11.x you should use ScalaTest 2.11. You can add this libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.0" % "test" to build definitions to avoid this issue.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Upgrade sbt-dependency-graph to 0.8.2 or later.
  6. 0

    Bug when getting (Loop-) LkHyperedges?

    Google Groups | 2 years ago | Unknown author
    java.util.NoSuchElementException: None.get

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

      java.lang.RuntimeException: DataSource user is null?

      at com.avaje.ebean.Ebean$ServerManager.<init>()
    2. avaje-ebeanorm
      Ebean.<clinit>
      1. com.avaje.ebean.Ebean$ServerManager.<init>(Ebean.java:164)
      2. com.avaje.ebean.Ebean$ServerManager.<init>(Ebean.java:124)
      3. com.avaje.ebean.Ebean.<clinit>(Ebean.java:118)
      3 frames
    3. tools
      CsvReader.addTermToFoods
      1. tools.CsvReader.addTermToFoods(CsvReader.java:155)
      1 frame
    4. tasks
      DatabaseGenerator.main
      1. tasks.DatabaseGenerator.main(DatabaseGenerator.java:62)
      1 frame
    5. 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
    6. SBT
      TrapExit$App.run
      1. sbt.Run.invokeMain(Run.scala:67)
      2. sbt.Run.run0(Run.scala:61)
      3. sbt.Run.sbt$Run$$execute$1(Run.scala:51)
      4. sbt.Run$$anonfun$run$1.apply$mcV$sp(Run.scala:55)
      5. sbt.Run$$anonfun$run$1.apply(Run.scala:55)
      6. sbt.Run$$anonfun$run$1.apply(Run.scala:55)
      7. sbt.Logger$$anon$4.apply(Logger.scala:84)
      8. sbt.TrapExit$App.run(TrapExit.scala:248)
      8 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame