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

Summary: new TreeELementDecl() throws NullPointerException
Product: xml Reporter: Martin Schovanek <mschovanek>
Component: TAXAssignee: _ lkramolis <lkramolis>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P4    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

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.