Atom Feed SITE FEED   ADD TO GOOGLE READER

Fixing IntelliJ crashes in StartupActionScriptManager

On my Ubuntu box IntelliJ began crashing on startup with an unhelpful stacktrace:
chixdiglinux:intellij-idea-6$ /usr/lib/intellij-idea-5/bin/idea.sh
java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2237)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2703)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:760)
at java.io.ObjectInputStream.(ObjectInputStream.java:278)
at com.intellij.ide.startup.StartupActionScriptManager.b(StartupActionScriptManager.java:34)
at com.intellij.ide.startup.StartupActionScriptManager.executeActionScript(StartupActionScriptManager.java:2)
at com.intellij.ide.plugins.PluginManager.initClassloader(PluginManager.java:400)
at com.intellij.ide.plugins.PluginManager.bootstrap(PluginManager.java:424)
at com.intellij.ide.plugins.PluginManager.main(PluginManager.java:189)
at com.intellij.ide.plugins.PluginManager.main(PluginManager.java:396)
at com.intellij.idea.Main.main(Main.java:4)
Exception in thread "main" java.lang.AssertionError:
at com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:49)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:60)
at com.intellij.ide.plugins.PluginManager.initClassloader(PluginManager.java:348)
at com.intellij.ide.plugins.PluginManager.bootstrap(PluginManager.java:424)
at com.intellij.ide.plugins.PluginManager.main(PluginManager.java:189)
at com.intellij.ide.plugins.PluginManager.main(PluginManager.java:396)
at com.intellij.idea.Main.main(Main.java:4)


I tried asking Google, which led me to a bug that was similar, but not the same. I didn't have the file they instructed for me to delete, system/plugins/action.script.

I tried the helpful but awkward tool lsof, which tells you which files are opened on your Unix machine. I wanted to get a hint about which file IntelliJ IDEA was crashing on! It turns out that it had a cache in /var/cache/intellij-idea-5/jessewilson/, and it was breaking on the action.script file in that folder.

Is your IntelliJ crashing on startup? Consider removing the /var/cache/intellij-idea-5 folder and try again!
Hi!

I have the same problem, but in Mac, any suggestions? I'm desperate! Thanks!!!

Nainux
I would try searching your filesystem for action.script and deleting it. That fixed it for me.
Yes Sir! Fixed in Mac by searching that file...

Thanks!

Nainux
I had the same problem, but that was solved now.
I really thanks you for your support and help.

Thanks again.