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 156224 - NullPointerException at org.netbeans.modules.xml.schema.abe.nodes.ReferencedSchemasNode$ReferencedSchemas.isIncludedSchema
Summary: NullPointerException at org.netbeans.modules.xml.schema.abe.nodes.ReferencedS...
Status: RESOLVED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-02 10:40 UTC by ndev69
Modified: 2009-07-30 06:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 100431


Attachments
stacktrace (7.43 KB, text/plain)
2009-01-02 10:40 UTC, ndev69
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ndev69 2009-01-02 10:40:10 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows Vista, 6.0, amd64

User Comments:
ndev69: Referencing external schema that I created with version 6.0. Does not function in 6.5

piero: My schema is including another schema.
The error occured after clicking on "Referenced schemas" in the element's definition dialog.

ndev69: Referencing external schema that I created with version 6.0. Does not function in 6.5



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.xml.schema.abe.nodes.ReferencedSchemasNode$ReferencedSchemas.isIncludedSchema(ReferencedSchemasNode.java:134)
        at org.netbeans.modules.xml.schema.abe.nodes.ReferencedSchemasNode$ReferencedSchemas.createNodes(ReferencedSchemasNode.java:117)
        at org.openide.nodes.Children$Keys$KE.nodes(Children.java:1596)
        at org.openide.nodes.ChildrenArray.nodesFor(ChildrenArray.java:168)
        at org.openide.nodes.EntrySupport$Default$Info.nodes(EntrySupport.java:925)
        at org.openide.nodes.EntrySupport$Default.justComputeNodes(EntrySupport.java:246)
Comment 1 ndev69 2009-01-02 10:40:17 UTC
Created attachment 75404 [details]
stacktrace
Comment 2 Sergey Lunegov 2009-05-08 15:16:58 UTC
Vladimir, please take a look. Request additional info if needed.
Comment 4 Quality Engineering 2009-07-30 06:04:12 UTC
Integrated into 'main-golden', will be available in build *200907300201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c3389895f697
User: Vladimir Yaroslavskiy <yaroslavskiy@netbeans.org>
Log: [Issue #156224] NullPointerException at org.netbeans.modules.xml.schema.abe.nodes.ReferencedSchemasNode$ReferencedSchemas.isIncludedSchema