Skip to content

Instantly share code, notes, and snippets.

@lucamolteni
Created February 18, 2015 16:15
Show Gist options
  • Save lucamolteni/bb4a2ef0f9f2e37b0af7 to your computer and use it in GitHub Desktop.
Save lucamolteni/bb4a2ef0f9f2e37b0af7 to your computer and use it in GitHub Desktop.
Exception in thread "main" java.lang.VerifyError: Bad local variable type
Exception Details:
Location:
Prova$.main([Ljava/lang/String;)V @0: aload_2
Reason:
Type top (current frame, locals[2]) is not assignable to reference type
Current Frame:
bci: @0
flags: { }
locals: { 'Prova$', '[Ljava/lang/String;' }
stack: { }
Bytecode:
0000000: 2c4d b200 3abb 003c 59b7 003d 123f b600
0000010: 432c b600 43b6 0047 b600 4db1
at Prova.main(Prova.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment