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

Summary: [71cat] ClassCastException: org.openide.text.UndoRedoManager cannot be cast to org.netbeans.modules.xml.xam.ui.undo.QuietUndoManager
Product: editor Reporter: Michel Graciano <hmichel>
Component: Actions/Menu/ToolbarAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mmetelka, mmirilovic
Priority: P3    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 182895
Bug Depends on:    
Bug Blocks: 21237    
Attachments: stacktrace

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 ***