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 82184

Summary: continuous NPE on undo renaming
Product: xml Reporter: Ivan Sidorkin <ivansidorkin>
Component: Schema ToolsAssignee: Nam Nguyen <nnguyen>
Status: VERIFIED FIXED    
Severity: blocker CC: ca-nb, kozlov
Priority: P1    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: stack trace

Description Ivan Sidorkin 2006-08-08 17:02:43 UTC
Build 060806_1
Java 1.6.0-beta2

- create Java Application
- create Purchase Order Schema
- select Complex Types -> USAddress
- select Refactor->Rename in context menu for USAddress
- change name and press Next button
- press Do Refactoring button
- delete that schema
- create Purchase Order Schema 
- select Complex Types -> USAddress
- select Refactor->Undo in context menu for USAddress

NPE (see attachment)
Comment 1 Ivan Sidorkin 2006-08-08 17:03:15 UTC
Created attachment 32659 [details]
stack trace
Comment 2 Nam Nguyen 2006-08-17 00:14:39 UTC
Fixed in release55.

/cvs/xml/xam/src/org/netbeans/modules/xml/xam/dom/Attic/AbstractDocumentModel.java,v
 <--  AbstractDocumentModel.java
new revision: 1.1.2.19; previous revision: 1.1.2.18
Comment 3 Ivan Sidorkin 2006-09-06 10:41:46 UTC
verified in 060905