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 205113 - [71cat] ClassCastException: org.openide.text.UndoRedoManager cannot be cast to org.netbeans.modules.xml.xam.ui.undo.QuietUndoManager
Summary: [71cat] ClassCastException: org.openide.text.UndoRedoManager cannot be cast t...
Status: RESOLVED DUPLICATE of bug 204963
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks: 21237
  Show dependency tree
 
Reported: 2011-11-14 19:16 UTC by Michel Graciano
Modified: 2011-11-15 08:23 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 182895


Attachments
stacktrace (4.18 KB, text/plain)
2011-11-14 19:16 UTC, Michel Graciano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Graciano 2011-11-14 19:16:24 UTC
Build: NetBeans IDE Dev (Build 20111114-3e878700e912)
VM: Java HotSpot(TM) Client VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08
OS: Linux

User Comments:
hmichel: Openning a xsd file from Go to FIle dialog

hmichel: Openning a file from CVS changes view




Stacktrace: 
java.lang.ClassCastException: org.openide.text.UndoRedoManager cannot be cast to org.netbeans.modules.xml.xam.ui.undo.QuietUndoManager
   at org.netbeans.modules.xml.schema.SchemaEditorSupport.getUndoManager(SchemaEditorSupport.java:264)
   at org.netbeans.modules.xml.schema.SchemaEditorSupport$5.taskFinished(SchemaEditorSupport.java:632)
   at org.openide.util.Task.addTaskListener(Task.java:266)
   at org.netbeans.modules.xml.schema.SchemaEditorSupport.prepareDocument(SchemaEditorSupport.java:630)
   at org.openide.text.CloneableEditorSupport.createCloneableTopComponent(CloneableEditorSupport.java:1364)
   at org.openide.windows.CloneableOpenSupport.openCloneableTopComponent(CloneableOpenSupport.java:200)
Comment 1 Michel Graciano 2011-11-14 19:16:26 UTC
Created attachment 113201 [details]
stacktrace
Comment 2 Miloslav Metelka 2011-11-15 08:23:12 UTC

*** This bug has been marked as a duplicate of bug 204963 ***