TabSwitch and 3311

I loaded 3311 and got this:

Original exception:
org.jdom.Element.addContent(Lorg/jdom/Element;)Lorg/jdom/Element;
java.lang.NoSuchMethodError:
org.jdom.Element.addContent(Lorg/jdom/Element;)Lorg/jdom/Element;
at
org.intellij.openapi.util.externalizer.JDOMExternalizer.writeExternal(JDOMExternalizer.java:34)
at
org.intellij.openapi.components.ExternalizableApplicationComponent.writeExternal(ExternalizableApplicationComponent.java:15)
at
com.intellij.openapi.components.impl.ComponentManagerImpl.serializeComponent(ComponentManagerImpl.java:204)
at
com.intellij.openapi.application.impl.ApplicationImpl.b(ApplicationImpl.java:75)
at
com.intellij.openapi.application.impl.ApplicationImpl.saveSettings(ApplicationImpl.java:72)
at com.intellij.ide.SaveAndSyncHandler.c(SaveAndSyncHandler.java:83)
at
com.intellij.ide.SaveAndSyncHandler.access$300(SaveAndSyncHandler.java:18)
at com.intellij.ide.SaveAndSyncHandler$4.run(SaveAndSyncHandler.java:1)
at com.intellij.ide.SaveAndSyncHandler.b(SaveAndSyncHandler.java:39)
at
com.intellij.ide.SaveAndSyncHandler.access$500(SaveAndSyncHandler.java:94)
at com.intellij.ide.SaveAndSyncHandler$5.run(SaveAndSyncHandler.java:3)
at com.intellij.util.Alarm$1.run(Alarm.java:85)
at com.intellij.util.Alarm$MyThread$1.run(Alarm.java:227)
at
com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:18)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:111)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:165)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:119)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

3 comments
Comment actions Permalink

I believe this happens because idea (3311) now works with JDOM 1.0, and
TabSwitch was compiled for JDOM 0.8 (IDEA builds before 3311).

Amnon I. Govrin wrote:

I loaded 3311 and got this:

Original exception:
org.jdom.Element.addContent(Lorg/jdom/Element;)Lorg/jdom/Element;
java.lang.NoSuchMethodError:
org.jdom.Element.addContent(Lorg/jdom/Element;)Lorg/jdom/Element;
at
org.intellij.openapi.util.externalizer.JDOMExternalizer.writeExternal(JDOMExternalizer.java:34)

at
org.intellij.openapi.components.ExternalizableApplicationComponent.writeExternal(ExternalizableApplicationComponent.java:15)

at
com.intellij.openapi.components.impl.ComponentManagerImpl.serializeComponent(ComponentManagerImpl.java:204)

at
com.intellij.openapi.application.impl.ApplicationImpl.b(ApplicationImpl.java:75)

at
com.intellij.openapi.application.impl.ApplicationImpl.saveSettings(ApplicationImpl.java:72)

at com.intellij.ide.SaveAndSyncHandler.c(SaveAndSyncHandler.java:83)
at
com.intellij.ide.SaveAndSyncHandler.access$300(SaveAndSyncHandler.java:18)
at com.intellij.ide.SaveAndSyncHandler$4.run(SaveAndSyncHandler.java:1)
at com.intellij.ide.SaveAndSyncHandler.b(SaveAndSyncHandler.java:39)
at
com.intellij.ide.SaveAndSyncHandler.access$500(SaveAndSyncHandler.java:94)
at com.intellij.ide.SaveAndSyncHandler$5.run(SaveAndSyncHandler.java:3)
at com.intellij.util.Alarm$1.run(Alarm.java:85)
at com.intellij.util.Alarm$MyThread$1.run(Alarm.java:227)
at
com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:18)

at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:111)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:165)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:119)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)

at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)

at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

0
Comment actions Permalink

Bas, would you be so nice and update TabSwitch to JDOM 1.0. I know you
did it several times before....

Michal.

0
Comment actions Permalink

Michal wrote:

Bas, would you be so nice and update TabSwitch to JDOM 1.0. I know you
did it several times before....


Sure Michal, I'll take a look at it if people need it. Personally I find
IDEA #3211 almost unusable.
You can also use the alternative jdom library Sascha Weinreuter provided
in this message as a workaround:
http://www.intellij.net/forums/thread.jsp?forum=22&thread=136360#3545466

Bas

0

Please sign in to leave a comment.