bufanliu / apparat

Automatically exported from code.google.com/p/apparat
0 stars 0 forks source link

Error thrown running the ant example #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is with:
scala2.9.final
apparat1.0-RC9
Flex SDK 4.5.0.18623

When I run the bundled example ant script I get the following:

     [tdsi] java.lang.VerifyError: (class: apparat/tools/tdsi/TurboDieselSportInjection$TDSITool, method: run signature: ()V) Incompatible argument to function
     [tdsi]     at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:194)
     [tdsi]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:764)
     [tdsi]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:218)
     [tdsi]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:132)
     [tdsi]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:105)
     [tdsi]     at apparat.embedding.ant.ApparatTask.execute(ApparatTask.scala:56)
     [tdsi]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
     [tdsi]     at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
     [tdsi]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     [tdsi]     at java.lang.reflect.Method.invoke(Unknown Source)
     [tdsi]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [tdsi]     at org.apache.tools.ant.Task.perform(Task.java:348)
     [tdsi]     at org.apache.tools.ant.Target.execute(Target.java:357)
     [tdsi]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
     [tdsi]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
     [tdsi]     at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
     [tdsi]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [tdsi]     at org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
     [tdsi]     at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
     [tdsi]     at org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:423)
     [tdsi]     at org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:137)
     [tdsi] Caused by: java.lang.VerifyError: (class: apparat/tools/tdsi/TurboDieselSportInjection$TDSITool, method: run signature: ()V) Incompatible argument to function
     [tdsi]     at apparat.tools.tdsi.TurboDieselSportInjection$.main(TurboDieselSportInjection.scala:40)
     [tdsi]     at apparat.tools.tdsi.TurboDieselSportInjection.main(TurboDieselSportInjection.scala)
     [tdsi]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [tdsi]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     [tdsi]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     [tdsi]     at java.lang.reflect.Method.invoke(Unknown Source)
     [tdsi]     at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
     [tdsi]     at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
     [tdsi]     ... 20 more
     [tdsi] --- Nested Exception ---
     [tdsi] java.lang.VerifyError: (class: apparat/tools/tdsi/TurboDieselSportInjection$TDSITool, method: run signature: ()V) Incompatible argument to function
     [tdsi]     at apparat.tools.tdsi.TurboDieselSportInjection$.main(TurboDieselSportInjection.scala:40)
     [tdsi]     at apparat.tools.tdsi.TurboDieselSportInjection.main(TurboDieselSportInjection.scala)
     [tdsi]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [tdsi]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     [tdsi]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     [tdsi]     at java.lang.reflect.Method.invoke(Unknown Source)
     [tdsi]     at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
     [tdsi]     at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
     [tdsi]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:764)
     [tdsi]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:218)
     [tdsi]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:132)
     [tdsi]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:105)
     [tdsi]     at apparat.embedding.ant.ApparatTask.execute(ApparatTask.scala:56)
     [tdsi]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
     [tdsi]     at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
     [tdsi]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     [tdsi]     at java.lang.reflect.Method.invoke(Unknown Source)
     [tdsi]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [tdsi]     at org.apache.tools.ant.Task.perform(Task.java:348)
     [tdsi]     at org.apache.tools.ant.Target.execute(Target.java:357)
     [tdsi]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
     [tdsi]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
     [tdsi]     at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
     [tdsi]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [tdsi]     at org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
     [tdsi]     at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
     [tdsi]     at org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:423)
     [tdsi]     at org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:137)
     [tdsi] Java Result: -1

Original issue reported on code.google.com by ric-susp...@bossastudios.com on 4 Sep 2011 at 11:30

GoogleCodeExporter commented 9 years ago
Apparat was built against Scala 2.8.1 which means it is binary incompatible to 
Scala 2.9.1 or Scala 2.9.0.1

Original comment by joaebert on 4 Sep 2011 at 7:55