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
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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