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.
1. Start NB 6.9 2. Install SOA Plugin ("XML Schema and WSDL"). 3. Open the attached zzz.xsd ("Schema" view should be selected). 4. Select the 2nd item "Attributes" in the 1st column. The item "focus" will appear in the 2nd column. 5. Select the item "focus" in the 2nd column. Click the toolbar button "Design". Result (the console output): SEVERE [global] java.lang.NullPointerException at org.netbeans.modules.xml.schema.ui.nodes.schema.LocalSimpleTypeNode.getSuperDefinition(LocalSimpleTypeNode.java:80) at org.netbeans.modules.xml.schema.ui.nodes.categorized.AdvancedLocalSimpleTypeNode.getHtmlDisplayName(AdvancedLocalSimpleTypeNode.java:301) at org.openide.nodes.FilterNode.getHtmlDisplayName(FilterNode.java:787) at org.openide.explorer.view.VisualizerNode.getHtmlDisplayName(VisualizerNode.java:535) at org.openide.explorer.view.NodeRenderer.getListCellRendererComponent(NodeRenderer.java:160) at org.netbeans.modules.xml.xam.ui.column.ColumnListCellRenderer.getListCellRendererComponent(ColumnListCellRenderer.java:67)
Created attachment 95363 [details] XML schema (zzz.xsd)
Fixed in trunk: http://hg.netbeans.org/main/rev/7eb84d83fe7e Fixed in gfesb23: http://hg-soabi.stc.com/gfesbv23/rev/af2e2c41e4b6
Integrated into 'main-golden', will be available in build *201003190200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/7eb84d83fe7e User: Alex Petrov <alexpetrov@netbeans.org> Log: Fix for issue [#182294]. NPE when some .xsd files are used.