ClassFormatError...

Hey all, for some reason I've just suddenly started getting
ClassFormatError's on startup, oddly thou - if I reboot, everythings fine...

1.5.0_03 under Fedora Core 4test3 - anyone seen anything like this?

$ ~/app/idea-3341/bin/idea.sh
java.lang.ClassFormatError: Unknown constant tag 25 in class file
javax/swing/text/DefaultFormatter
at java.lang.ClassLoader.findBootstrapClass(Native Method)
at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:891)
at java.lang.ClassLoader.loadClass(ClassLoader.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:57)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at
com.rc.retroweaver.runtime.ClassLiteral.getClass(ClassLiteral.java:88)
at
com.siyeh.ig.InspectionGadgetsPlugin.registerNamingInspections(InspectionGadgetsPlugin.java:296)
at
com.siyeh.ig.InspectionGadgetsPlugin.initComponent(InspectionGadgetsPlugin.java:216)
at
com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:249)
at
com.intellij.openapi.components.impl.ComponentManagerImpl.access$000(ComponentManagerImpl.java:138)
at
com.intellij.openapi.components.impl.ComponentManagerImpl$MyComponentAdapterFactory$1.getComponentInstance(ComponentManagerImpl.java:4)
at
org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44)
at
org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:38)


Thread Dump:




Full thread dump Java HotSpot(TM) Client VM (1.5.0_03-b07 mixed mode):

"Fatal Errors Grouper" prio=1 tid=0x08a64c60 nid=0x4c43 waiting on
condition
at java.lang.Thread.sleep(Native Method)
at
com.intellij.diagnostic.MessagePool$MessageGrouper.run(MessagePool.java:10)

"Thread-2" prio=1 tid=0x08670b48 nid=0x4c35 sleeping[0x9f686000..0x9f686f40]
at java.lang.Thread.sleep(Native Method)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:3)

"AWT-EventQueue-1" prio=1 tid=0x085ec3b8 nid=0x4c32 in Object.wait()

at java.lang.Object.wait(Native Method)
- waiting on (a com.intellij.ide.IdeEventQueue) at java.lang.Object.wait(Object.java:474) at java.awt.EventQueue.getNextEvent(EventQueue.java:345) - locked <0xa3735e18>]]> (a com.intellij.ide.IdeEventQueue)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:189)
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)

"AWT-Shutdown" prio=1 tid=0x0856e060 nid=0x4c31 in Object.wait()

at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.Object) at java.lang.Object.wait(Object.java:474) at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259) - locked <0xa370c870>]]> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:595)

"AlarmThread" prio=1 tid=0x088d3fd8 nid=0x4c30 in Object.wait()

at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.Object) at com.intellij.util.Alarm$MyThread.run(Alarm.java:254) - locked <0xa3733160>]]> (a java.lang.Object)

"AlarmThread" prio=1 tid=0x088d49e8 nid=0x4c2f in Object.wait()

at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.Object) at java.lang.Object.wait(Object.java:474) at com.intellij.util.Alarm$MyThread.run(Alarm.java:194) - locked <0xa37331e8>]]> (a java.lang.Object)

"Timer-0" daemon prio=1 tid=0x088d3850 nid=0x4c2e in Object.wait()

at java.lang.Object.wait(Native Method)
- waiting on (a java.util.TaskQueue) at java.util.TimerThread.mainLoop(Timer.java:509) - locked <0xa3733258>]]> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)

"SocketListenerThread" prio=1 tid=0x088c7938 nid=0x4c2d runnable

at java.net.PlainDatagramSocketImpl.receive0(Native Method)
- locked (a java.net.PlainDatagramSocketImpl) at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136) - locked <0xa372c118> (a java.net.PlainDatagramSocketImpl) at java.net.DatagramSocket.receive(DatagramSocket.java:712) - locked <0xa37359b8> (a java.net.DatagramPacket) - locked <0xa372c158>]]> (a java.net.MulticastSocket)
at
com.intellij.licensecommon.net.impl.SocketImpl.receive(SocketImpl.java:11)
at
com.intellij.licensecommon.net.impl.SocketListenerThread.run(SocketListenerThread.java:10)

"SocketListenerThread" prio=1 tid=0x088d8a68 nid=0x4c2c runnable

at java.net.PlainDatagramSocketImpl.receive0(Native Method)
- locked (a java.net.PlainDatagramSocketImpl) at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136) - locked <0xa372e938> (a java.net.PlainDatagramSocketImpl) at java.net.DatagramSocket.receive(DatagramSocket.java:712) - locked <0xa372e978> (a java.net.DatagramPacket) - locked <0xa372e998>]]> (a java.net.DatagramSocket)
at
com.intellij.licensecommon.net.impl.SocketImpl.receive(SocketImpl.java:11)
at
com.intellij.licensecommon.net.impl.SocketListenerThread.run(SocketListenerThread.java:10)

"MessageDeliveryThread" prio=1 tid=0x088d9778 nid=0x4c2b in
Object.wait()
at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.Object) at java.lang.Object.wait(Object.java:474) at com.intellij.licensecommon.net.MessageDeliveryThread.run(MessageDeliveryThread.java:3) - locked <0xa372ea38>]]> (a java.lang.Object)

"AWT-XAWT" daemon prio=1 tid=0x08891e38 nid=0x4c29 runnable

at sun.awt.X11.XToolkit.waitForEvents(Native Method)
at sun.awt.X11.XToolkit.run(XToolkit.java:463)
at sun.awt.X11.XToolkit.run(XToolkit.java:438)
at java.lang.Thread.run(Thread.java:595)

"Java2D Disposer" daemon prio=1 tid=0x0887b890 nid=0x4c28 in
Object.wait()
at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116) - locked <0xa36ff138>]]> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at sun.java2d.Disposer.run(Disposer.java:107)
at java.lang.Thread.run(Thread.java:595)

"Lock thread" prio=1 tid=0x085c1de0 nid=0x4c27 runnable
at
java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
- locked ]]> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:450)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at com.intellij.idea.SocketLock$MyRunnable.run(SocketLock.java:4)
at java.lang.Thread.run(Thread.java:595)

"DestroyJavaVM" prio=1 tid=0x0844dad8 nid=0x4c19 waiting on condition


"Low Memory Detector" daemon prio=1 tid=0x084b7f68 nid=0x4c24 runnable


"CompilerThread0" daemon prio=1 tid=0x084b69d0 nid=0x4c23 waiting on
condition

"Signal Dispatcher" daemon prio=1 tid=0x084b5ae8 nid=0x4c22 runnable


"Finalizer" daemon prio=1 tid=0x084aaf30 nid=0x4c21 in Object.wait()

at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116) - locked <0xa3675718>]]> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=1 tid=0x084aa220 nid=0x4c20 in
Object.wait()
at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.ref.Reference$Lock) at java.lang.Object.wait(Object.java:474) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116) - locked <0xa3675418>]]> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=1 tid=0x084a75b0 nid=0x4c1f runnable

"VM Periodic Task Thread" prio=1 tid=0x084d2d28 nid=0x4c25 waiting on
condition

1 comment
Comment actions Permalink

Mark Derricutt wrote:

$ ~/app/idea-3341/bin/idea.sh
java.lang.ClassFormatError: Unknown constant tag 25 in class file
javax/swing/text/DefaultFormatter
at java.lang.ClassLoader.findBootstrapClass(Native Method)
at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:891)
at java.lang.ClassLoader.loadClass(ClassLoader.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at


I just killed off all my caches, and voila - IDEA is working again.... mmmm

0

Please sign in to leave a comment.