Java Lang Runtimeexception Cannot Create Regular