Can't compile

Hi people. I'm trying to compile a project but I keep getting error messages like this one:

Information:Exception in thread "main" java.lang.reflect.InvocationTargetException
Information: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Information: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
Information: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Information: at java.lang.reflect.Method.invoke(Method.java:585)
Information: at com.intellij.rt.compiler.JavacRunner.main(JavacRunner.java:53)
Information:Compilation completed with 1 error and 0 warnings
Information:1 error
Information:0 warnings
Error:Compiler internal error. Process terminated with exit code 1

However, I also get other ones about out of memory. I don't see how this can be the case because I have upped the memory to 1024 and since it was working yesterday with 192 I think something serious has gone wrong.

I'm compiling with 1.5_11 (running idea with 6_u3) and on ubuntu.

ANyone know what could be going wrong?

Cheers, Paul.

2 comments

Hello Paul,

The maximum memory size for the Java compiler is specified in Settings |
Compiler | Java Compiler | Maximum heap size. Did you increase that value,
or the memory size for IDEA itself? The latter will not help fix compiler
out of memory problems.

Hi people. I'm trying to compile a project but I keep getting error
messages like this one:

Information:Exception in thread "main"
java.lang.reflect.InvocationTargetException
Information: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
Information: at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:39)
Information: at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:25)
Information: at java.lang.reflect.Method.invoke(Method.java:585)
Information: at
com.intellij.rt.compiler.JavacRunner.main(JavacRunner.java:53)
Information:Compilation completed with 1 error and 0 warnings
Information:1 error
Information:0 warnings
Error:Compiler internal error. Process terminated with exit code 1
However, I also get other ones about out of memory. I don't see how
this can be the case because I have upped the memory to 1024 and since
it was working yesterday with 192 I think something serious has gone
wrong.

I'm compiling with 1.5_11 (running idea with 6_u3) and on ubuntu.

ANyone know what could be going wrong?

Cheers, Paul.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Thank you so much. I did know about that but as soon as something goes wrong, someone needs you to do something asap, stress hits and you forget everything!

Sorry for wasting your time.

Paul.

0

Please sign in to leave a comment.