java.lang.ExceptionInInitializerError: java.lang.RuntimeException: StaticExc RuntimeException

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

    throw exception from a static block

    Oracle Community | 1 decade ago | 843797
    java.lang.ExceptionInInitializerError: java.lang.RuntimeException: StaticExc RuntimeException

    Root Cause Analysis

    1. java.lang.ExceptionInInitializerError

      java.lang.RuntimeException: StaticExc RuntimeException

      at StaticExc.throwIt()
    2. Unknown
      StaticBlock.<clinit>
      1. StaticExc.throwIt(StaticExc.java:5)
      2. StaticBlock.<clinit>(StaticBlock.java:5)
      2 frames