2010
09.06

After installing the ruby plugin on IntelliJ 9.0.3, my favorite IDEA refused to start (MacOS X 10.5.8). The icon didn’t even bother bouncing on the dock and running it from the command line didn’t trigger any stacktrace:

~ > open -a /Applications/IntelliJ\ IDEA\ 9.0.3.app
~ >

To debug such issues, it is often useful to use Console (under Applications -> Utilities) which displays most system logs (syslog, …).

In this case, it showed the stacktrace also reported here:

java.lang.AssertionError: Source file ~/Library/Caches/IntelliJIdea90/plugins/ruby-12197.zip does not exist for action unzip[~/Library/Caches/IntelliJIdea90/plugins/ruby-12197.zip, ~/Library/Caches/IntelliJIdea90/plugins]
at com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:49)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:48)
at com.intellij.ide.startup.StartupActionScriptManager$UnzipCommand.execute(StartupActionScriptManager.java:189)
at com.intellij.ide.startup.StartupActionScriptManager.executeActionScript(StartupActionScriptManager.java:49)
at com.intellij.ide.ClassloaderUtil.initClassloader(ClassloaderUtil.java:123)
at com.intellij.ide.Bootstrap.main(Bootstrap.java:39)
at com.intellij.ide.Bootstrap.main(Bootstrap.java:35)
at com.intellij.idea.Main.main(Main.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)

The fix is to delete the cache (~/Library/Caches/IntelliJIdea90).

Share and Enjoy:
  • Twitter
  • Facebook
  • StumbleUpon
  • Google Bookmarks
  • LinkedIn
  • email
  • Slashdot
  • Digg
  • Netvibes
  • del.icio.us
  • HackerNews

No Comment.

Add Your Comment