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 163218 - NullPointerException at org.netbeans.modules.xml.schema.ui.nodes.schema.LocalSimpleTypeNode.getSuperDefinition
Summary: NullPointerException at org.netbeans.modules.xml.schema.ui.nodes.schema.Local...
Status: RESOLVED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Svata Dedic
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-21 11:13 UTC by petermount
Modified: 2015-02-04 03:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 149870


Attachments
stacktrace (3.71 KB, text/plain)
2009-04-21 11:14 UTC, petermount
Details

Note You need to log in before you can comment on or make changes to this bug.
Description petermount 2009-04-21 11:13:52 UTC
Build: NetBeans IDE Dev (Build 200904171401)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

User Comments:
petermount: Editing an xsd and inserting an xs:documentation element. It autocompleted the end tag then repeatedly throws the NPE



Stacktrace: 
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.explorer.view.VisualizerNode.getHtmlDisplayName(VisualizerNode.java:566)
        at org.openide.explorer.view.NodeRenderer.getTreeCellRendererComponent(NodeRenderer.java:125)
        at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2693)
        at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475)
Comment 1 petermount 2009-04-21 11:14:02 UTC
Created attachment 80578 [details]
stacktrace
Comment 2 Quality Engineering 2015-02-04 03:37:32 UTC
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.