java.lang.InstantiationException

Google Groups | Nicolas KAMENNOFF | 7 months ago
  1. 0

    How to serialize a Scala Collection List into json using Gson lib

    Stack Overflow | 1 year ago | user3801239
    java.lang.RuntimeException: Failed to invoke public scala.collection.immutable.List() with no args
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Gson error: Failed to invoke protected java.util.AbstractCollection() with no args

    Stack Overflow | 11 months ago | djthoms
    java.lang.RuntimeException: Failed to invoke protected java.util.AbstractCollection() with no args

  1. stigkj 2 times, last 3 weeks ago
  2. Kawada 3 times, last 6 months ago
  3. mrPet 180 times, last 7 months ago
10 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.InstantiationException

    No message provided

    at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:48)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
    2 frames
  3. Scala
    JavaMirrors$JavaMirror$JavaVanillaMethodMirror.apply
    1. scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror0.jinvokeraw(JavaMirrors.scala:364)
    2. scala.reflect.runtime.JavaMirrors$JavaMirror$JavaMethodMirror.jinvoke(JavaMirrors.scala:339)
    3. scala.reflect.runtime.JavaMirrors$JavaMirror$JavaVanillaMethodMirror.apply(JavaMirrors.scala:355)
    3 frames
  4. fr.soami.labs
    PluginsManager$$anonfun$loadPlugin$1.apply
    1. fr.soami.labs.seb.engine.plugin.PluginsManager$$anonfun$loadPlugin$1.apply(PluginsManager.scala:55)
    2. fr.soami.labs.seb.engine.plugin.PluginsManager$$anonfun$loadPlugin$1.apply(PluginsManager.scala:29)
    2 frames
  5. Scala
    AbstractIterator.foreach
    1. scala.collection.Iterator$class.foreach(Iterator.scala:893)
    2. scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
    2 frames
  6. fr.soami.labs
    ModuleLoadingTest$$anonfun$1.apply
    1. fr.soami.labs.seb.engine.plugin.PluginsManager$.loadPlugin(PluginsManager.scala:28)
    2. fr.soami.labs.seb.engine.test.ModuleLoadingTest$$anonfun$1.apply$mcV$sp(ModuleLoadingTest.scala:18)
    3. fr.soami.labs.seb.engine.test.ModuleLoadingTest$$anonfun$1.apply(ModuleLoadingTest.scala:16)
    4. fr.soami.labs.seb.engine.test.ModuleLoadingTest$$anonfun$1.apply(ModuleLoadingTest.scala:16)
    4 frames
  7. scalatest
    SuperEngine$$anonfun$traverseSubNodes$1$1.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)
    6. org.scalatest.FlatSpecLike$$anon$1.apply(FlatSpecLike.scala:1647)
    7. org.scalatest.Suite$class.withFixture(Suite.scala:1122)
    8. org.scalatest.FlatSpec.withFixture(FlatSpec.scala:1683)
    9. org.scalatest.FlatSpecLike$class.invokeWithFixture$1(FlatSpecLike.scala:1644)
    10. org.scalatest.FlatSpecLike$$anonfun$runTest$1.apply(FlatSpecLike.scala:1656)
    11. org.scalatest.FlatSpecLike$$anonfun$runTest$1.apply(FlatSpecLike.scala:1656)
    12. org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
    13. org.scalatest.FlatSpecLike$class.runTest(FlatSpecLike.scala:1656)
    14. org.scalatest.FlatSpec.runTest(FlatSpec.scala:1683)
    15. org.scalatest.FlatSpecLike$$anonfun$runTests$1.apply(FlatSpecLike.scala:1714)
    16. org.scalatest.FlatSpecLike$$anonfun$runTests$1.apply(FlatSpecLike.scala:1714)
    17. org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:413)
    18. org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:401)
    18 frames
  8. Scala
    List.foreach
    1. scala.collection.immutable.List.foreach(List.scala:381)
    1 frame
  9. scalatest
    SuperEngine$$anonfun$traverseSubNodes$1$1.apply
    1. org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
    2. org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:390)
    3. org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:427)
    4. org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:401)
    4 frames
  10. Scala
    List.foreach
    1. scala.collection.immutable.List.foreach(List.scala:381)
    1 frame
  11. scalatest
    Runner$$anonfun$doRunRunRunDaDoRunRun$3.apply
    1. org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
    2. org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:396)
    3. org.scalatest.SuperEngine.runTestsImpl(Engine.scala:483)
    4. org.scalatest.FlatSpecLike$class.runTests(FlatSpecLike.scala:1714)
    5. org.scalatest.FlatSpec.runTests(FlatSpec.scala:1683)
    6. org.scalatest.Suite$class.run(Suite.scala:1424)
    7. org.scalatest.FlatSpec.org$scalatest$FlatSpecLike$$super$run(FlatSpec.scala:1683)
    8. org.scalatest.FlatSpecLike$$anonfun$run$1.apply(FlatSpecLike.scala:1760)
    9. org.scalatest.FlatSpecLike$$anonfun$run$1.apply(FlatSpecLike.scala:1760)
    10. org.scalatest.SuperEngine.runImpl(Engine.scala:545)
    11. org.scalatest.FlatSpecLike$class.run(FlatSpecLike.scala:1760)
    12. org.scalatest.FlatSpec.run(FlatSpec.scala:1683)
    13. org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:55)
    14. org.scalatest.tools.Runner$$anonfun$doRunRunRunDaDoRunRun$3.apply(Runner.scala:2563)
    15. org.scalatest.tools.Runner$$anonfun$doRunRunRunDaDoRunRun$3.apply(Runner.scala:2557)
    15 frames
  12. Scala
    List.foreach
    1. scala.collection.immutable.List.foreach(List.scala:381)
    1 frame
  13. scalatest
    Runner.run
    1. org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:2557)
    2. org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1044)
    3. org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1043)
    4. org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:2722)
    5. org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:1043)
    6. org.scalatest.tools.Runner$.run(Runner.scala:883)
    7. org.scalatest.tools.Runner.run(Runner.scala)
    7 frames
  14. org.jetbrains.plugins
    ScalaTestRunner.main
    1. org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.runScalaTest2(ScalaTestRunner.java:138)
    2. org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.main(ScalaTestRunner.java:28)
    2 frames
  15. 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:497)
    4 frames
  16. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    1 frame