Cannot compile after updating the nightly build

Everytime I update with a new nightly I cannot build and get the following error.

I have to reboot to fix this.

Any pointers in what I need to kill to allow this to work again without rebooting the machine ?

Thanks



Attachment(s):
2013-08-20_09-08-15.jpg
14 comments

Do you use external server?
In this case you can try to change compiler server port to check if it helps (Settings -> IDE Settings -> Scala -> TCP port). So it probably server leaks. So if it helps, you also can try to kill appropriate Java process.

Best regards,
Aleksandr Podkhaliuzin.

0

Actually it's happens regulalry anyway,

Changing the port doesn't help. There are no rogue java processes hanging around.

It's bit of a major problem as it's happening regularly and only way of fixing is to reboot, which takes a fair amount of time.

Happened again, second reboot of the day now.

---

Anyway of capturing detailed logging as it's making the plugin rather unusable.

Thanks

0

The plugin is barely usable. Getting errors such as

2013-08-29 08:28:17,059 [59862526]   INFO - .server.BuildMessageDispatcher - An existing connection was forcibly closed by the remote host
java.io.IOException: An existing connection was forcibly closed by the remote host
 at sun.nio.ch.SocketDispatcher.$$YJP$$read0(Native Method)
 at sun.nio.ch.SocketDispatcher.read0(SocketDispatcher.java)
 at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
 at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:225)
 at sun.nio.ch.IOUtil.read(IOUtil.java:193)
 at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:359)
 at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:64)
 at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:107)
 at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:312)
 at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:88)
 at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
 at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:454)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
 at java.util.concurrent.FutureTask.run(FutureTask.java:166)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:722)
 at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:152)
2013-08-29 08:28:17,164 [59862631]   INFO - lij.compiler.impl.CompilerUtil -  COMPILATION FINISHED (BUILD PROCESS); Errors: 1; warnings: 7 took 17951 ms: 0 min 17sec

0

Hi! Please, check and/or send us the build log file contents:

  • %USERPROFILE%\.*Idea*\system\log\build-log\build.log on Windows,
  • ~/Library/Logs/*Idea*/build-log/build.log on Mac.
0

Nothing of note appears in this file that shows the catastrophic error that occurs.

Anything you would expect ?

Thanks

0

Guys any ideas ?

It's happening to more of my team mates, the plugin is becoming unusable and we'll have to abandon using it.

This with the latest builds not just nightly.

0

We're eager to fix the problem, however we have no clue about it (the error message is not very informative). You are the only one reporting this issue and we're unable to reproduce it ourselves. We need to clarify the cause of the problem somehow.

Is there anything in common between the configurations that exibit the problem? What OS/Java/IDEA are you using? When the problem stared to appear?

Please, send us the contents of build.log file that includes the moments of build process crashes.

0

Thanks, will try and create a project to reproduce.

I can get around this somewhat by stopping and starting the compile server so have a work around. Though it does happen too regularly.

It appears the server dies but intellij thinks it's still running.

This is on windows 7 64bit service pack 1 using java 74 bit 1.7.0_21.

I'm away for a few weeks, will try and get a collague to submit the project.

Thanks

Actually it's died completely again and going to need to reboot.

0

Ok sorry for the delay, back in the office etc.

Have a new machine with a new install. 2nd build with the scala external compiler and it's dead and cant be restarted.

How would I go about collecting info to help diagnose this ?

Thanks

0

Please do the following:

  • Turn off Scala compile server (in Settings / Scala / Run compile server).
  • Close IDEA.
  • Delete the IDEA log (%USERPROFILE%\.*Idea*\system\log\idea.log).
  • Delete the IDEA build log (%USERPROFILE%\.*Idea*\system\log\build-log\build.log).
  • Open a new, minimal Scala project in IDEA.
  • Try to build the project (make sure that the error is happened).
  • Close the IDEA instance.
  • Send us the idea.log and build.log files.
0

Turning it off causes it to work the next time around it appears.

Is there a log when it's running externally ?

0

Ok we have captured the results. Do you have an email to send this to rather than the public forum.

Thanks

0

Did you get anything from the log I sent in the email ?

Thanks

0

Please sign in to leave a comment.