exception in initializer error in java when using Netbeans
You get an ExceptionInInitializerError if something goes wrong in the static initializer block. Because static variables are initialized in static blocks there are a source of these errors too. An example: =>