4.5 crashing on startup on mac os x

I'm running IntelliJ 4.5 on Mac OS X 10.3.5. I recently updated to apples java 1.4.2 update 2 and now IntelliJ crashes on startup. I'm not sure if it's because of the java update or something else I did. Has anyone else encountered this problem or know how to fix it? (Thanks for any help...)

java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2165)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2631)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:734)
at java.io.ObjectInputStream.]]>(ObjectInputStream.java:253)
at com.intellij.ide.b.f.d(f.java:5)
at com.intellij.ide.b.f.b(f.java)
at com.intellij.ide.plugins.f.a(f.java:162)
at com.intellij.ide.plugins.f.a(f.java:192)
at com.intellij.ide.plugins.f.a(f.java:147)
at com.intellij.idea.Main.main(Main.java:24)
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:324)
at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
com.intellij.idea.Main.main(String[]) threw an exception:
java.lang.AssertionError:
at com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:60)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:73)
at com.intellij.ide.plugins.f.a(f.java:173)
at com.intellij.ide.plugins.f.a(f.java:192)
at com.intellij.ide.plugins.f.a(f.java:147)
at com.intellij.idea.Main.main(Main.java:24)
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:324)
at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)

4 comments

It's most probably config folder (usually located at
~/Library/Preferences/IntelliJ IDEA) has corrupted config XML files.

--
Maxim Shafirov
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

I tried the following:
-deleting the whole directory ~/Library/Preferences/IntelliJ IDEA
-deleting all the xml files in ~/Library/Preferences/IntelliJ IDEA
-deleting just the xml files that looked to be generated by my prefrences

but I still get the same errors as before with IntelliJ 4.5 and 4.0. (although 3.0.5 does run)


>>with IntelliJ 4.5 I still get:

ERROR:
java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2165)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2631)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:734)
at java.io.ObjectInputStream.]]>(ObjectInputStream.java:253)
at com.intellij.ide.b.f.d(f.java:5)
at com.intellij.ide.b.f.b(f.java)
at com.intellij.ide.plugins.f.a(f.java:162)
at com.intellij.ide.plugins.f.a(f.java:192)
at com.intellij.ide.plugins.f.a(f.java:147)
at com.intellij.idea.Main.main(Main.java:24)
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:324)
at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
com.intellij.idea.Main.main(String[]) threw an exception:
java.lang.AssertionError:
at com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:60)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:73)
at com.intellij.ide.plugins.f.a(f.java:173)
at com.intellij.ide.plugins.f.a(f.java:192)
at com.intellij.ide.plugins.f.a(f.java:147)
at com.intellij.idea.Main.main(Main.java:24)
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:324)
at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)


>>>with IntelliJ 4.0 I get:

java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2165)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2631)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:734)
at java.io.ObjectInputStream.]]>(ObjectInputStream.java:253)
at com.intellij.ide.plugins.PluginInstaller.loadActionScript(PluginInstaller.java:90)
at com.intellij.ide.plugins.PluginInstaller.executeActionScript(PluginInstaller.java:49)
at com.intellij.ide.plugins.c.a(c.java:132)
at com.intellij.ide.plugins.c.a(c.java:14)
at com.intellij.ide.plugins.c.a(c.java:16)
at com.intellij.idea.Main.main(Main.java:34)
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:324)
at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
ERROR - llij.ide.plugins.PluginManager -
ERROR - llij.ide.plugins.PluginManager - JDK: 1.4.2_05
ERROR - llij.ide.plugins.PluginManager - VM: Java HotSpot(TM) Client VM
ERROR - llij.ide.plugins.PluginManager - Vendor: Apple Computer, Inc.
ERROR - llij.ide.plugins.PluginManager - OS: Mac OS X
com.intellij.idea.Main.main(String[]) threw an exception:
java.lang.NullPointerException
at com.intellij.diagnostic.DialogAppender.append(DialogAppender.java:23)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)
at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)
at org.apache.log4j.Category.callAppenders(Category.java:190)
at org.apache.log4j.Category.forcedLog(Category.java:375)
at org.apache.log4j.Category.error(Category.java:306)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:80)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:117)
at com.intellij.ide.plugins.c.a(c.java:135)
at com.intellij.ide.plugins.c.a(c.java:14)
at com.intellij.ide.plugins.c.a(c.java:16)
at com.intellij.idea.Main.main(Main.java:34)
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:324)
at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)

0

...I also had to delete ~/Library/Caches/IntelliJ IDEA

Thanks so much for your help!

Matt

0

The same thing happened to me on Windows too.
I figured out the following file: %IDEA_HOME%/system/plugins/action.script was currupted. I just deleted it. I didn't have to re-install IDEA.

0

Please sign in to leave a comment.