Please help: javac2 exception.
While trying to compile with javac2 I got this
exception:
C:\Temp\maketmp\45648\make00000.rsp:20: java.lang.ArrayIndexOutOfBoundsException: 10
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:115)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.Main.runBuild(Main.java:698)
at org.apache.tools.ant.Main.startAnt(Main.java:199)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 10
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1558)
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1559)
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1559)
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1559)
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1559)
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1559)
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1559)
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1559)
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1559)
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1559)
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1559)
at org.objectweb.asm.MethodWriter.visitMaxs(MethodWriter.java:1369)
at org.objectweb.asm.MethodAdapter.visitMaxs(MethodAdapter.java:189)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:1447)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:420)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:227)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
at com.intellij.ant.Javac2.compile(Javac2.java:54)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:820)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
... 11 more
--- Nested Exception ---
java.lang.ArrayIndexOutOfBoundsException: 10
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1558)
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1559)
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1559)
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1559)
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1559)
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1559)
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1559)
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1559)
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1559)
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1559)
at org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.java:1559)
at org.objectweb.asm.MethodWriter.visitMaxs(MethodWriter.java:1369)
at org.objectweb.asm.MethodAdapter.visitMaxs(MethodAdapter.java:189)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:1447)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:420)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:227)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
at com.intellij.ant.Javac2.compile(Javac2.java:54)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:820)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.Main.runBuild(Main.java:698)
at org.apache.tools.ant.Main.startAnt(Main.java:199)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Thanks
Boaz
请先登录再写评论。
Hello Boaz,
Looks like you've run into a bug in ASM (http://asm.objectweb.org). If you
could find a .class file which triggers this problem and file a JIRA issue
with the class attached, we'll try to investigate the problem and report
it to ASM developers.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
>
> Looks like you've run into a bug in ASM (http://asm.objectweb.org). If you
> could find a .class file which triggers this problem and file a JIRA issue
> with the class attached, we'll try to investigate the problem and report
> it to ASM developers.
>
>> While trying to compile with javac2 I got this exception:
>>
>> C:\Temp\maketmp\45648\make00000.rsp:20:
>> java.lang.ArrayIndexOutOfBoundsException: 10
>> at
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java
>> :115)
>> at org.apache.tools.ant.Task.perform(Task.java:348)
>> at org.apache.tools.ant.Target.execute(Target.java:357)
>> at org.apache.tools.ant.Target.performTasks(Target.java:385)
>> at
>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
>> at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
>> at
>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExec
>> utor.java:41)
>> at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
>> at org.apache.tools.ant.Main.runBuild(Main.java:698)
>> at org.apache.tools.ant.Main.startAnt(Main.java:199)
>> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
>> Caused by: java.lang.ArrayIndexOutOfBoundsException: 10
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1558)
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1559)
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1559)
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1559)
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1559)
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1559)
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1559)
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1559)
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1559)
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1559)
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1559)
>> at
>> org.objectweb.asm.MethodWriter.visitMaxs(MethodWriter.java:1369)
>> at
>> org.objectweb.asm.MethodAdapter.visitMaxs(MethodAdapter.java:189)
>> at org.objectweb.asm.ClassReader.accept(ClassReader.java:1447)
>> at org.objectweb.asm.ClassReader.accept(ClassReader.java:420)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:227)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
>> at com.intellij.ant.Javac2.compile(Javac2.java:54)
>> at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:820)
>> at
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
>> ava:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
>> orImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java
>> :105)
>> ... 11 more
>> --- Nested Exception ---
>> java.lang.ArrayIndexOutOfBoundsException: 10
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1558)
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1559)
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1559)
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1559)
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1559)
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1559)
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1559)
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1559)
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1559)
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1559)
>> at
>> org.objectweb.asm.MethodWriter.findSubroutineSuccessors(MethodWriter.j
>> ava:1559)
>> at
>> org.objectweb.asm.MethodWriter.visitMaxs(MethodWriter.java:1369)
>> at
>> org.objectweb.asm.MethodAdapter.visitMaxs(MethodAdapter.java:189)
>> at org.objectweb.asm.ClassReader.accept(ClassReader.java:1447)
>> at org.objectweb.asm.ClassReader.accept(ClassReader.java:420)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:227)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
>> at com.intellij.ant.Javac2.compile(Javac2.java:54)
>> at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:820)
>> at
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
>> ava:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
>> orImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java
>> :105)
>> at org.apache.tools.ant.Task.perform(Task.java:348)
>> at org.apache.tools.ant.Target.execute(Target.java:357)
>> at org.apache.tools.ant.Target.performTasks(Target.java:385)
>> at
>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
>> at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
>> at
>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExec
>> utor.java:41)
>> at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
>> at org.apache.tools.ant.Main.runBuild(Main.java:698)
>> at org.apache.tools.ant.Main.startAnt(Main.java:199)
>> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
>> Thanks
>> Boaz
> --
> Dmitry Jemerov
> Development Lead
> JetBrains, Inc.
> http://www.jetbrains.com/
> "Develop with Pleasure!"
>
> ]]>