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 84526 - NPE when navigating tree of available base types in Customizer
Summary: NPE when navigating tree of available base types in Customizer
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: bhate
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-08 17:17 UTC by Andrei Chistiakov
Modified: 2006-09-14 10:50 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Chistiakov 2006-09-08 17:17:31 UTC
Reproduced in build 060908 (JDK 1.6 Beta 2)

To reproduce the bug:
- open Loan Application schema;
- in column view select AddressType complex type;
- open customizer of AddressType;
- select 'Use Existing Definition' radio button;
- expand 'Complex Types|Address Type|sequence|state' and select 'Inherited from
StateType' node.
java.lang.NullPointerException
	at
org.netbeans.modules.xml.schema.ui.basic.editors.SchemaComponentSelectionPanel.setDescription(SchemaComponentSelectionPanel.java:268)
	at
org.netbeans.modules.xml.schema.ui.basic.editors.SchemaComponentSelectionPanel.propertyChange(SchemaComponentSelectionPanel.java:228)
	at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
	at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
	at org.openide.explorer.ExplorerManager$2.run(ExplorerManager.java:776)
	at org.openide.util.Mutex.doEvent(Mutex.java:1158)
	at org.openide.util.Mutex.readAccess(Mutex.java:284)
...
Comment 1 bhate 2006-09-12 22:32:15 UTC
fix NPE when selecting inherited from node
removed utilities.findreferenceable method and put it in
schemacomponentselectionpanel.
Comment 2 Andrei Chistiakov 2006-09-14 10:50:39 UTC
Verified in build 060913.