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 15013 - NPE in XMLDataObject.createNodeDelegate()
Summary: NPE in XMLDataObject.createNodeDelegate()
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-31 12:34 UTC by Jan Chalupa
Modified: 2008-12-22 16:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception stack-trace (2.77 KB, text/plain)
2001-08-31 12:38 UTC, Jan Chalupa
Details
Proposed patch (598 bytes, patch)
2001-08-31 18:13 UTC, _ pkuzel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Chalupa 2001-08-31 12:34:08 UTC
[dev-200108310100; Sun JDK 1.3.1; MDI]

Got a NullPointerException (see attachment).

Don't know if it's related, but I had a JavaCVS filesystem mounted 
(openide/src) and invoked CVS Refresh recursively on the filesystem root a 
moment before the exception occurred.
Comment 1 Jan Chalupa 2001-08-31 12:38:19 UTC
Created attachment 2379 [details]
Exception stack-trace
Comment 2 _ pkuzel 2001-08-31 18:11:31 UTC
It looks like an attempt to parse invalid (probably empty) XML
document. This case is not handled correctly, it results in no Lookup
but the code relies on Lookup existence.
Comment 3 _ pkuzel 2001-08-31 18:13:03 UTC
Created attachment 2395 [details]
Proposed patch
Comment 4 _ pkuzel 2001-09-04 13:24:15 UTC
new revision: 1.96
Comment 5 Jan Chalupa 2001-09-07 12:24:22 UTC
I'm no longer able to reproduce it in dev-200109070100.
Comment 6 Quality Engineering 2003-07-01 16:10:52 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.