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 060904. To reproduce the bug: - create 'newLoanApplocation' schema; - switch to Source view; - delete '>' in '<xs:element name="autoLoanApplication">' to make schema invalid; - invoke 'Save Document'; - restart IDE. Exception: java.lang.NullPointerException at org.netbeans.modules.xml.schema.ui.nodes.CreateSchemaComponentNodeVisitor.createNode(CreateSchemaComponentNodeVisitor.java:98) at org.netbeans.modules.xml.schema.ui.nodes.SchemaNodeFactory.createNode(SchemaNodeFactory.java:93) at org.netbeans.modules.xml.schema.ui.nodes.StructuralSchemaNodeFactory.createNode(StructuralSchemaNodeFactory.java:56) at org.netbeans.modules.xml.schema.ui.nodes.SchemaNodeFactory.createRootNode(SchemaNodeFactory.java:76) at org.netbeans.modules.xml.schema.core.multiview.SchemaSourceMultiViewElement.findNode(SchemaSourceMultiViewElement.java:414) at org.netbeans.modules.xml.schema.core.multiview.SchemaSourceMultiViewElement.access$200(SchemaSourceMultiViewElement.java:66) at org.netbeans.modules.xml.schema.core.multiview.SchemaSourceMultiViewElement$4.run(SchemaSourceMultiViewElement.java:365) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499) at org.netbeans.modules.xml.schema.core.multiview.SchemaSourceMultiViewElement.selectElementsAtOffset(SchemaSourceMultiViewElement.java:401) at org.netbeans.modules.xml.schema.core.multiview.SchemaSourceMultiViewElement$3.actionPerformed(SchemaSourceMultiViewElement.java:159) at javax.swing.Timer.fireActionPerformed(Timer.java:271) [catch] at javax.swing.Timer$DoPostEvent.run(Timer.java:201) 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)
Module: "XML Schema Core" SchemaABEViewMultiViewElement.java: 1.1.2.41; SchemaSourceMultiViewElement.java: 1.1.2.25;
Verified in build060907.