Compiler internal error. Process terminated with exit code -1
Hello,
I just got this error with Intellij 10.5. I use Maven 3 to build my projet with AspectJ 1.6.11. The Maven build is ok. I got this error then I launch the Intellij command "Make project".
Inside intellij.log I have :
2011-06-24 23:29:57,751 [15877681] INFO - ij.compiler.impl.CompileDriver - COMPILATION STARTED
2011-06-24 23:30:03,649 [15883579] INFO - lij.compiler.impl.CompilerUtil - COMPILATION FINISHED; Errors: 1; warnings: 0 took 5898 ms: 0 min 5sec
Path to ajc compiler is set to "D:\aspectj1.6\lib\aspectjtools.jar". The command line is "-target 1.6". All the source code is 1.6.
I don't know what is wrong. Any idea?
Thanks for your help,
Nicolas
请先登录再写评论。
Hi Nicolas,
are there any messages in IDEA's Messages tool window? Any difference if you do Build | Rebuild Project?
The message window contains :
Whatever I launched (make project, rebuild project)
Please stop IDEA and add the following text in the log.xml file (before <root> tag):
Then run compiler and check idea.log again (or attach it here so I can see).
Thanks for this great tip.
The error comes from ICU4J. A ICU4J class contains invalids byte codes. To solve this issue I update from 2.6.3 to 2.8.0.
Now Ajc go OOM (even with Xmx 1024) and very slow build issues.
I will check this issues
Could you please post a piece of log with corresponding error message (plus some lines before and after)? May be I'll be able to make IDEA produce a more helpful message.
About speed and memory consumption - it may be the case if there are many dependencies (libraries) in a project.
Here is the log :
Thank you.
I added a handler for this kind of messages so that IDEA won't just swallow them silently.
Hi,
i got the same error with exit code 4. I set the (intelliJ) java compiler to "Javac in-process (Java6+ only)" to fix it.