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.
Reproduced in build 060802. To reproduce the bug: - create a 'loanApplication' schema; - switch to Source; - add second annotation to 'autoLoanApplication' element: '<xs:annotation id="a"/>' - delete 'id="a"/>''; - type '>'. Exception: java.lang.NullPointerException at org.netbeans.modules.xml.xam.dom.AbstractDocumentModel.removeChildComponent(AbstractDocumentModel.java:289) at org.netbeans.modules.xml.xam.dom.AbstractDocumentModel.processSyncUnit(AbstractDocumentModel.java:263) at org.netbeans.modules.xml.xdm.xam.XDMListener.endSync(XDMListener.java:80) at org.netbeans.modules.xml.xdm.xam.XDMAccess.sync(XDMAccess.java:124) at org.netbeans.modules.xml.xam.AbstractModel.sync(AbstractModel.java:221) [catch] at org.netbeans.modules.xml.xam.AbstractModel$1.run(AbstractModel.java:500) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:598) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Fixed as part of general sync/autosync strengthening effort.
Verified in build060823.