Keep getting compilation errors with scalac?
I'm running the fast scala compiler with the following start up script....
http://pastebin.com/u8jG5XPt
Every few hours it bombs when I try to compile my scala program with this error:
Scalac internal error: class java.lang.reflect.InvocationTargetException [sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39), sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25), java.lang.reflect.Method.invoke(Method.java:597), org.jetbrains.plugins.scala.compiler.rt.FastScalacRunner.main(FastScalacRunner.java:61)][scala.tools.nsc.CompileSocket.fatal(CompileSocket.scala:50), scala.tools.nsc.CompileSocket.startNewServer(CompileSocket.scala:89), scala.tools.nsc.CompileSocket.getPort(CompileSocket.scala:113), scala.tools.nsc.CompileSocket.getsock$1(CompileSocket.scala:152), scala.tools.nsc.CompileSocket.getOrCreateSocket(CompileSocket.scala:170), scala.tools.nsc.StandardCompileClient.main0(CompileClient.scala:85), scala.tools.nsc.CompileClient.main0(CompileClient.scala), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39), sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25), java.lang.reflect.Method.invoke(Method.java:597), org.jetbrains.plugins.scala.compiler.rt.FastScalacRunner.main(FastScalacRunner.java:61)]
Anyone have any ideas on where to start looking?
请先登录再写评论。
http://youtrack.jetbrains.net/issue/SCL-2409?query=fsc+%23scala
Try fsc -reset from the command line.
-jason