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 93261

Summary: NPE: opening WSDL file with no targetNamespace in definitions
Product: xml Reporter: jlautz <jlautz>
Component: WSDL ToolsAssignee: Shivanand Kini <skini>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: WSDL document used in the scenario.
Message.log file including NPE stack trace.

Description jlautz 2007-01-26 02:04:28 UTC
Seen on Windows XP with Gavotte build 070125_12 and JDK 1.5.0_10.

1. Open attached WSDL file.

I immediately get an NPE. Stacktrace attached.

This file has a definitions element with no targetNamespace defined, which is
valid according to WSDL 1.1.
Comment 1 jlautz 2007-01-26 02:05:55 UTC
Created attachment 37700 [details]
WSDL document used in the scenario.
Comment 2 jlautz 2007-01-26 02:10:53 UTC
Created attachment 37701 [details]
Message.log file including NPE stack trace.
Comment 3 jlautz 2007-01-26 02:12:05 UTC
. . . and I can't dismiss the exception dialog and go on. I have to shutdown NB
and restart.
Comment 4 jlautz 2007-01-26 02:15:25 UTC
Actually, the last time I did this, even restarting didn't help -- I kept
getting the NPE. I had to delete the .netbeans files and restart NB.
Comment 5 jlautz 2007-01-26 04:37:25 UTC
I think this is a dup of 88223, but I didn't note that the error was that bad.
Comment 6 Ritesh Adval 2007-02-05 23:33:07 UTC

*** This issue has been marked as a duplicate of 88223 ***
Comment 7 jlautz 2007-02-07 23:01:18 UTC
Verified on Windows XP with NB 5.5.1 070206 and EP Gavotte 070207_9 and JDK
1.5.0_10.
Comment 8 kozlov 2007-02-12 15:55:28 UTC
Keyword "EP551_BETA_RN" was removed as the issue was fixed.