[java] exception in initializer error in java when using Netbeans