This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 157068 - [IDM] ClassCastException: javax.swing.text.PlainDocument cannot be cast to com.sun.idm.ide.editors.loader.IDMEditorDocument
Summary: [IDM] ClassCastException: javax.swing.text.PlainDocument cannot be cast to co...
Status: NEW
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: issues@third-party
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-19 15:14 UTC by Marian Mirilovic
Modified: 2009-01-19 15:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 100951


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2009-01-19 15:14:11 UTC
21 duplicates so far ...

Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows Vista, 6.0, x86
User comments: 
STACKTRACE: (first 10 lines)
java.lang.ClassCastException: javax.swing.text.PlainDocument cannot be cast to
com.sun.idm.ide.editors.loader.IDMEditorDocument
        at com.sun.idm.ide.editors.loader.IDMCloneableEditor.getMultiViewWrapper(IDMCloneableEditor.java:128)
        at com.sun.idm.ide.editors.loader.MultiViewActionMap.getMultiViewWrapper(MultiViewActionMap.java:71)
        at com.sun.idm.ide.editors.loader.MultiViewActionMap.get(MultiViewActionMap.java:77)
        at org.openide.actions.PasteAction.findActionFromMap(PasteAction.java:258)
        at org.openide.actions.PasteAction.access$000(PasteAction.java:108)
        at org.openide.actions.PasteAction$ActSubMenuModel.getPasteTypesOrActions(PasteAction.java:407)
        at org.openide.actions.PasteAction$ActSubMenuModel.checkStateChanged(PasteAction.java:542)
        at org.openide.actions.PasteAction$ActSubMenuModel.propertyChange(PasteAction.java:577)
        at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:186)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)