java.lang.InstantiationException: Main$BadThrow at at java.lang.Class.newInstance0(Class.java:291) at at java.lang.Class.newInstance(Class.java:259)

Oracle Community | 843797 | 1 decade 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

    InvocationTargetException acting odd

    Oracle Community | 1 decade ago | 843797
    java.lang.InstantiationException: Main$BadThrow at at java.lang.Class.newInstance0(Class.java:291) at at java.lang.Class.newInstance(Class.java:259)

    Root Cause Analysis

    1. java.lang.InstantiationException

      Main$BadThrow at at java.lang.Class.newInstance0(Class.java:291) at at java.lang.Class.newInstance(Class.java:259)

      at Main.foo()
    2. Unknown
      Main.foo
      1. Main.foo(Main.java:27)
      1 frame