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 18115 - new TreeELementDecl() throws NullPointerException
Summary: new TreeELementDecl() throws NullPointerException
Status: CLOSED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: TAX (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: _ lkramolis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-27 14:48 UTC by Martin Schovanek
Modified: 2007-09-25 06:05 UTC (History)
0 users

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 Martin Schovanek 2001-11-27 14:48:30 UTC
[jdk1.3.1, Nb Build 200111230645, Linux]

new ...tax.TreeELementDecl(null, (String) null);

throws NullPointerException instead IllegalArgumentException.

java.lang.NullPointerException
        at java.io.StringReader.<init>(StringReader.java:36)
        at
org.netbeans.tax.decl.parser.ParserReader.<init>(ParserReader.java:34)
        at org.netbeans.tax.TreeElementDecl.<init>(TreeElementDecl.java:71)
Comment 1 _ lkramolis 2001-11-29 14:40:59 UTC
Fixed in release33 branch.
Comment 2 Martin Schovanek 2002-01-21 20:15:30 UTC
VERIFIED
Comment 3 Quality Engineering 2003-07-02 08:40:06 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.