Can't start IntelliJ 8M1 after installation of a plugin

I've just installed two plugins in IntelliJ 8M1: Log4j plugin and Log4j monitor. After restart I get this error:

"Fatal error initializing class com.intellij.util.xml.impl.DomApplicationComponent: java.lang.UnsupportedClassVersionError: Bad version number in .class file. Complete error stack was written to idea.log"

How can I uninstall these plugins without starting IntelliJ?

I can't find idea.log anywhere.

I'm using MacOS Leopard. I've tried changing the default JDK several times (tried 1.4.2, 1.5 and 1.6).

I'm wondering whether there is any kind of "safe mode" or command line parameters that can be passed at startup to, at least, get the environment running with minimal services.

Best regards,
Jóhann Geir

11 comments
Comment actions Permalink

Hello Jóhann,

The plugins are stored under ~/Library/Application Support/IntelliJIDEA80
You can go to that directory and delete the plugins manually.

I've just installed two plugins in IntelliJ 8M1: Log4j plugin and
Log4j monitor. After restart I get this error:

"Fatal error initializing class
com.intellij.util.xml.impl.DomApplicationComponent:
java.lang.UnsupportedClassVersionError: Bad version number in .class
file. Complete error stack was written to idea.log"

How can I uninstall these plugins without starting IntelliJ?

I can't find idea.log anywhere.

I'm using MacOS Leopard. I've tried changing the default JDK several
times (tried 1.4.2, 1.5 and 1.6).

I'm wondering whether there is any kind of "safe mode" or command line
parameters that can be passed at startup to, at least, get the
environment running with minimal services.

Best regards,
Jóhann Geir

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Thanks alot, Dmitri.
That was exactly what I needed to do. After deleting and reinstalling the plugins, it turns out that the culprit was the "Log4J Plugin", so I guess I'll have to do without it, for now.

Best regards,
Jóhann Geir

0
Comment actions Permalink

Dmitry and Johan:


I experienced the exact same problem with IDEA 8.1 on my Ubuntu Linux laptop. The problem disappears when the log4j plugin is removed. Is this not supported fully by IDEA 8? Also, under Linux, the plugins are stored in the directory: ~/.IntelliJIdea80/config/plugins. I have never had the pleasure of using this plugin, and can definitely understand its value if it is fully functional and supported by IDEA 8?


Thanks very much.

0
Comment actions Permalink

I just installed those exact same plugins and got the same error.

I think a nice feature for the plugins would be something like Firefox has, where plugins that are known to not work are greyed out.
It would be good to see the IDEA version that the plugin is valid for i.e. the Since column on the plugin page http://plugins.intellij.net/plugin/?id=1540

Also IDEA should have an option to start without any plugins to allow you to start and remove the offending plugin without having to navigate the filesystem.
Either that or IDEA should disable the offending plugin automatically.

And whilst we're at it, seeing the comments from the plugin page from within IDEA would be useful too.
Or at the very least adding a link to the page as well as the Owners hoomepage.

0
Comment actions Permalink

Hi,

I have been experiencing a similar for a while on my mac too with the latest version, 9.0.1 CE. As a result of this, I have not been able to run the IDE since. Uninstalling and re-installing had no effect.
The folder ~/Library/Application Support/IntelliJIDEAXX does not exist here. Same for idea.log.
The exact error message can be viewed here: http://i44.tinypic.com/2ewz1aq.png

Thanks.

0
Comment actions Permalink

I have just tried to install IntelliJ IDEA 9.0.2 Release Candidate 2 (build 95.24), released on Apr 02, 2010 and I get the same error message (http://i44.tinypic.com/2ewz1aq.png) on my mac snow leopard.
I suspect I have to  manually delete some intellij files, but I cannot find any.

Please help.

Thanks.

0
Comment actions Permalink

Hi.

To discover idea.log and plugins directory locations check (IDEA app folder)/Contents/Info.plist file. Paths to config, plugins and system folders are there.

Alexander.

0
Comment actions Permalink

Thanks for the tip Alex, but none of the folders/files listed there is existing on my system.
I have also made a search for the log file, using the OS search facilities, but could not locate it.

      <key>Properties</key>
      <dict>
        <key>CVS_PASSFILE</key>
        <string>~/.cvspass</string>
        <key>com.apple.mrj.application.live-resize</key>
        <string>false</string>
        <key>idea.config.path</key>
        <string>~/Library/Preferences/IntelliJIdea90CE/</string>
        <key>idea.system.path</key>
        <string>~/Library/Caches/IntelliJIdea90CE/</string>
        <key>idea.plugins.path</key>
        <string>~/Library/Application Support/IntelliJIdea90CE/</string>
        <key>idea.log.path</key>
        <string>~/Library/Logs/IntelliJIdea90CE/</string>
        <key>java.endorsed.dirs</key>
        <string></string>
        <key>idea.smooth.progress</key>
        <string>false</string>
        <key>apple.laf.useScreenMenuBar</key>
        <string>true</string>
        <key>apple.awt.graphics.UseQuartz</key>
        <string>true</string>
        <key>apple.awt.fullscreencapturealldisplays</key>
        <string>false</string>
      </dict>

0
Comment actions Permalink

Hello Beto,

I have just tried to install IntelliJ IDEA 9.0.2 Release Candidate 2
(build 95.24), released on Apr 02, 2010 and I get the same error
message (http://i44.tinypic.com/2ewz1aq.png) on my mac snow leopard.

I suspect I have to  manually delete some intellij files, but I cannot
find any.


The problem is most likely caused by a plugin from IntelliJ IDEA Ultimate
that you have under IntelliJ IDEA Community Edition. Please try reinstalling
IDEA in a clean directory and deleting the contents of ~/Library/Application
Support/IntelliJIdea90

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

I am using IntelliJ 9.0.2 on Mac and experienced a similar behaviour.

In the System-Log
5/13/10 7:42:47 PM [0x0-0x1c01c].com.jetbrains.intellij[153] java.lang.AssertionError: Source file JRebel_Plugin_(formerl/Users/pbernet/Library/Caches/IntelliJIdea90/plugins/y_JavaRebel)_7776.jar does not exist for action copy[/Users/pbernet/Library/Caches/IntelliJIdea90/plugins/JRebel_Plugin_(formerly_JavaRebel)_7776.jar, /Users/pbernet/Library/Application Support/IntelliJIdea90/JRebel_Plugin_(formerly_JavaRebel)_7776.jar]

What worked for me was to clean this folder:
~/Library/Caches/IntelliJIdea90

in addition to the folder mentioned above:
~/Library/ApplicationSupport/IntelliJIdea90

Regards
Paul

0
Comment actions Permalink

Thanks Paul,

Your suggestion - clearing the caches (C:\Documents and Settings\username\.IntelliJIdea90\system\caches on Windows) - seemed to help resolve the issue I was experiencing. The issue was the same, although the plugin was different.

I also had to delete the files in: C:\Documents and Settings\ckershaw\.IntelliJIdea90\system\plugins


Also of note: the IntelliJ process had to be killed via Windows Task Manager before a new one could start up cleanly.

Thanks again! Hope this assists someone else.

Colin


java.lang.AssertionError: Source file C:\Documents and Settings\ckershaw\.IntelliJIdea90\system\plugins\ruby-12197.zip does not exist for action unzip[C:\Documents and Settings\ckershaw\.IntelliJIdea90\system\plugins\ruby-12197.zip, C:\Documents and Settings\ckershaw\.IntelliJIdea90\config\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)
 at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
 at com.exe4j.runtime.WinLauncher.main(Unknown Source)

0

Please sign in to leave a comment.