Evaluator crashed - java.io.IOException: No such file or directory #109

Open
dotta opened this Issue Oct 31, 2012 · 2 comments

1 participant

@dotta
Eclipse Scala IDE member

I got this while creating a worksheet with V0.1.2. It's not a big issue (the worksheet is robust enough to self-heal), but it would be nice to have a look and see what can be done to fix it.

java.io.IOException: No such file or directory
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.createNewFile(File.java:883)
    at org.scalaide.worksheet.runtime.Configuration$$anonfun$createFile$1.apply(Configuration.scala:49)
    at org.scalaide.worksheet.runtime.Configuration$$anonfun$createFile$1.apply(Configuration.scala:48)
    at org.scalaide.worksheet.runtime.Configuration.create(Configuration.scala:55)
    at org.scalaide.worksheet.runtime.Configuration.createFile(Configuration.scala:48)
    at org.scalaide.worksheet.runtime.Configuration.touchSource(Configuration.scala:71)
    at org.scalaide.worksheet.runtime.SourceInstrumenter.org$scalaide$worksheet$runtime$SourceInstrumenter$$writeInstrumented(SourceInstrumenter.scala:45)
    at org.scalaide.worksheet.runtime.SourceInstrumenter$$anonfun$instrument$1.apply(SourceInstrumenter.scala:23)
    at org.scalaide.worksheet.runtime.SourceInstrumenter$$anonfun$instrument$1.apply(SourceInstrumenter.scala:21)
    at scala.Either$RightProjection.map(Either.scala:533)
    at org.scalaide.worksheet.runtime.SourceInstrumenter.instrument(SourceInstrumenter.scala:21)
    at org.scalaide.worksheet.runtime.WorksheetRunner$$anonfun$act$1$$anonfun$apply$2.apply(WorksheetRunner.scala:59)
    at org.scalaide.worksheet.runtime.WorksheetRunner$$anonfun$act$1$$anonfun$apply$2.apply(WorksheetRunner.scala:52)
    at scala.actors.ReactorTask.run(ReactorTask.scala:31)
    at scala.actors.Reactor$class.resumeReceiver(Reactor.scala:129)
@dotta
Eclipse Scala IDE member

This can be reproduced consistently when creating a worksheet named queries (wow!?)

@dotta
Eclipse Scala IDE member

This can be reproduced consistently when creating a worksheet named queries (wow!?)

And, of course, I can't reproduce this anymore...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment