streitho / java-ide-droid

Automatically exported from code.google.com/p/java-ide-droid
1 stars 0 forks source link

Internal "Eclipse" compilation error since Android 4 #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Here's a problem report I got from a user:

Since I switched my phone from Android 2.2 to 4.1 and my tablet from Android 3 
also to 4.1 the compilation always fails with an internal error.

Here's the result message:

_________________________________________
Error occurred!
org.eclipse.jdt.internal.compiler.apt.dispatch.BatchProcessingEnvImpl
java.lang.NoClassDefFoundError: 
org.eclipse.jdt.internal.compiler.apt.dispatch.BatchProcessingEnvImpl
    at org.eclipse.jdt.internal.compiler.apt.dispatch.BatchAnnotationProcessorManager.configure(Unknown Source)
    at org.eclipse.jdt.internal.compiler.batch.Main.initializeAnnotationProcessorManager(Unknown Source)
    at org.eclipse.jdt.internal.compiler.batch.Main.performCompilation(Unknown Source)
    at org.eclipse.jdt.internal.compiler.batch.Main.compile(Unknown Source)
    at com.t_arn.JavaIDEdroid.IDE.fnCompile(IDE.java:130)
    at com.t_arn.JavaIDEdroid.IDE.fnCompile(IDE.java:110)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at bsh.Reflect.invokeMethod(Unknown Source)
    at bsh.Reflect.invokeObjectMethod(Unknown Source)
    at bsh.Name.invokeMethod(Unknown Source)
    at bsh.BSHMethodInvocation.eval(Unknown Source)
    at bsh.BSHPrimaryExpression.eval(Unknown Source)
    at bsh.BSHPrimaryExpression.eval(Unknown Source)
    at bsh.BSHAssignment.eval(Unknown Source)
    at bsh.Interpreter.eval(Unknown Source)
    at bsh.Interpreter.source(Unknown Source)
    at bsh.Interpreter.source(Unknown Source)
    at com.t_arn.JavaIDEdroid.IDE.fnRunBeanshellScript(IDE.java:222)
    at com.t_arn.JavaIDEdroid.BeanShellTask.doInBackground(BeanShellTask.java:49)
    at com.t_arn.JavaIDEdroid.BeanShellTask.doInBackground(BeanShellTask.java:8)
    at android.os.AsyncTask$2.call(AsyncTask.java:264)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
    at java.util.concurrent.FutureTask.run(FutureTask.java:137)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
    at java.lang.Thread.run(Thread.java:856)

Done in 0 sec.

ExitValue: 99

Original issue reported on code.google.com by tom.ar...@gmail.com on 11 Oct 2012 at 10:39

GoogleCodeExporter commented 9 years ago
This problem could be solved by adding following ecj parameter:

   -proc:none

Tom

Original comment by tom.ar...@gmail.com on 11 Oct 2012 at 10:41