java.io.FileNotFoundException: /Users/username/Library/Application Support/IntelliJIdea14/Scala/lib/Runners.jar

After updating the plugin yesterday I am getting this error when trying to run a test. Is there anything I can do to fix this?

2015-01-23 08:52:13 b.s.event [ERROR] Error when processing event
java.io.FileNotFoundException: /Users/username/Library/Application Support/IntelliJIdea14/Scala/lib/Runners.jar (No such file or directory)
    at java.util.zip.ZipFile.open(Native Method) ~[na:1.7.0_40]
    at java.util.zip.ZipFile.<init>(ZipFile.java:215) ~[na:1.7.0_40]
    at java.util.zip.ZipFile.<init>(ZipFile.java:145) ~[na:1.7.0_40]
    at java.util.zip.ZipFile.<init>(ZipFile.java:116) ~[na:1.7.0_40]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_40]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_40]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_40]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_40]
    at clojure.lang.Reflector.invokeConstructor(Reflector.java:180) ~[clojure-1.5.1.jar:na]
    at backtype.storm.util$zip_contains_dir_QMARK_.invoke(util.clj:777) ~[storm-core-0.9.2-incubating.jar:0.9.2-incubating]
    at backtype.storm.daemon.supervisor$resources_jar$fn__5016.invoke(supervisor.clj:506) ~[storm-core-0.9.2-incubating.jar:0.9.2-incubating]
    at clojure.core$filter$fn__4226.invoke(core.clj:2533) ~[clojure-1.5.1.jar:na]
    at clojure.lang.LazySeq.sval(LazySeq.java:42) ~[clojure-1.5.1.jar:na]
    at clojure.lang.LazySeq.seq(LazySeq.java:67) ~[clojure-1.5.1.jar:na]
    at clojure.lang.LazySeq.first(LazySeq.java:82) ~[clojure-1.5.1.jar:na]
    at clojure.lang.RT.first(RT.java:577) ~[clojure-1.5.1.jar:na]
    at clojure.core$first.invoke(core.clj:55) ~[clojure-1.5.1.jar:na]
    at backtype.storm.daemon.supervisor$resources_jar.invoke(supervisor.clj:504) ~[storm-core-0.9.2-incubating.jar:0.9.2-incubating]
    at backtype.storm.daemon.supervisor$fn__5021.invoke(supervisor.clj:514) ~[storm-core-0.9.2-incubating.jar:0.9.2-incubating]
    at clojure.lang.MultiFn.invoke(MultiFn.java:236) ~[clojure-1.5.1.jar:na]
    at backtype.storm.daemon.supervisor$mk_synchronize_supervisor$this__4917.invoke(supervisor.clj:325) ~[storm-core-0.9.2-incubating.jar:0.9.2-incubating]
    at backtype.storm.event$event_manager$fn__2379.invoke(event.clj:39) ~[storm-core-0.9.2-incubating.jar:0.9.2-incubating]
    at clojure.lang.AFn.run(AFn.java:24) [clojure-1.5.1.jar:na]
    at java.lang.Thread.run(Thread.java:724) [na:1.7.0_40]

0
9 comments

I am having the same issue. I tried to uninstall the Scala plugin and reimport the project. Neither worked.

0

I had to stop using the EAP Intellij, uninstall the Scala plugin (since it was EAP) and re-install the non-EAP plugin to get back up and running.

0

Which version of IDEA and Scala plugin do you use?

Best regards,
Alexander Podkhalyuzin.

0

I'm using IDEA 14.0.3, Scala plugin 1.3.2. Thanks!

0

It looks weird having clojure in exception.
Also path to Runners.jar is definitely wrong as actual name of jar is scala-plugin-runners.jar. However in Scala plugin sources we do not use link to Runners.jar. Is it possible that any Clojure plugin is causing problems?

Best regards,
Alexander Podkhalyuzin.

0

Hello!

We are facing the same situation, but without any reference to Clojure.
In our case, scala reflection seem to be the problem:

Caused by: java.util.concurrent.ExecutionException: org.reflections.ReflectionsException: Could not open url connection

at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)

at java.util.concurrent.FutureTask.get(FutureTask.java:83)

... 84 more

Caused by: org.reflections.ReflectionsException: Could not open url connection

at org.reflections.vfs.JarInputDir$1$1.<init>(JarInputDir.java:36)

at org.reflections.vfs.JarInputDir$1.iterator(JarInputDir.java:32)

at org.reflections.Reflections.scan(Reflections.java:231)

at org.reflections.Reflections$1.run(Reflections.java:200)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

at java.util.concurrent.FutureTask.run(FutureTask.java:138)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

at java.lang.Thread.run(Thread.java:695)

Caused by: java.io.FileNotFoundException: /Users/RIA/Library/Application Support/IdeaIC14/Scala/lib/Runners.jar (No such file or directory)

at java.io.FileInputStream.open(Native Method)

at java.io.FileInputStream.<init>(FileInputStream.java:120)

at java.io.FileInputStream.<init>(FileInputStream.java:79)

at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)

at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)

at org.reflections.vfs.JarInputDir$1$1.<init>(JarInputDir.java:35)

... 9 more

Is this related to IntelliJ itself or the scala plugin?

0

Please provide IDEA log (Help -> Show Log...).

Best regards,
Alexander Podkhalyuzin.

0

I am happy to upload my log file if you can tell me how to sent it via private message.


0

Please sign in to leave a comment.