java.lang.ClassCastException

How do I get around this ?

2007-06-18 10:41:38,442 ERROR - pplication.impl.LaterInvocator -
java.lang.ClassCastException: com.intellij.psi.impl.source.xml.XmlProcessingInstructionImpl

at com.intellij.html.preview.ImagePreviewComponent.getPreviewComponent(ImagePreviewComponent.java:134)

at com.intellij.html.preview.ImageOrColorPreviewManager.getHint(ImageOrColorPreviewManager.java:113)

at com.intellij.html.preview.ImageOrColorPreviewManager.access$100(ImageOrColorPreviewManager.java:29)

at com.intellij.html.preview.ImageOrColorPreviewManager$PreviewUpdate.run(ImageOrColorPreviewManager.java:133)

at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:169)

at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:163)

at com.intellij.util.ui.update.MergingUpdateQueue$1.run(MergingUpdateQueue.java:125)

at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:137)

at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:99)

at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:92)

at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:8)

at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)

at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:123)

at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:37)

at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:25)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)

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)

2007-06-18 10:41:38,442 ERROR - pplication.impl.LaterInvocator - IntelliJ IDEA (Selena) #7020 Build #7020
2007-06-18 10:41:38,442 ERROR - pplication.impl.LaterInvocator - JDK: 1.5.0_11
2007-06-18 10:41:38,442 ERROR - pplication.impl.LaterInvocator - VM: Java HotSpot(TM) Client VM
2007-06-18 10:41:38,442 ERROR - pplication.impl.LaterInvocator - Vendor: Sun Microsystems Inc.
2007-06-18 10:41:38,442 ERROR - pplication.impl.LaterInvocator - OS: Windows XP

1 comment

Hello Rambabu,

It seems fixed already: http://www.jetbrains.net/jira/browse/IDEADEV-17700

You can try two things:
1) Wait until next EAP build (hopefully soon, as error reporting is now broken)
2) Try to disable "HtmlTools" plugin

-tt


0

Please sign in to leave a comment.