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 118884 - NullPointerException at org.netbeans.modules.j2ee.sun.ddloaders.multiview.webservice.WebServiceMetadataReader.filterInvalidServices
Summary: NullPointerException at org.netbeans.modules.j2ee.sun.ddloaders.multiview.web...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: _ pcw
URL: http://statistics.netbeans.org/except...
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-10-15 13:27 UTC by nouar38
Modified: 2007-10-17 10:16 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 7735


Attachments
stacktrace (887 bytes, text/plain)
2007-10-15 13:27 UTC, nouar38
Details
Proposed patch (1.30 KB, text/plain)
2007-10-15 21:05 UTC, _ pcw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nouar38 2007-10-15 13:27:33 UTC
Build: NetBeans IDE Dev (Build 200710150000)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Windows XP, 5.1, x86

User Comments: 
double click of sun-web.xml / web services tab in a war 1.4 created from i18n-application ear/war
(j2ee 1.4 tutorial)
Comment 1 nouar38 2007-10-15 13:27:48 UTC
Created attachment 50940 [details]
stacktrace
Comment 2 _ pcw 2007-10-15 20:31:10 UTC
Regression caused by workaround committed for issue 118314.

J2EE 1.4 metadata is null by definition, need to check for that.

Trivial to fix but important because this will happen for ALL sun-web.xml and sun-ejb-jar.xml editors in J2EE 1.4
projects.  Escalating to P2.
Comment 3 _ pcw 2007-10-15 21:05:08 UTC
Created attachment 50970 [details]
Proposed patch
Comment 5 _ pcw 2007-10-15 22:49:59 UTC
I think this should be fixed for beta2, requesting approval from QA, per rules.
Comment 6 nouar38 2007-10-16 08:03:54 UTC
thanks for the quick fix, yes is better to have it in Beta2. QA approve the fix.
Comment 7 Vince Kraemer 2007-10-16 16:44:46 UTC
The fix looks fine for integration to Beta2
Comment 8 Jan Horvath 2007-10-16 17:04:55 UTC
verified by prague QA in trunk
Comment 9 _ pcw 2007-10-16 19:26:07 UTC
Marking beta2fix & upgrading to P1 per guidelines
Comment 11 nouar38 2007-10-17 10:16:18 UTC
does not happen in 101600000 Beta2 nightly on solaris sparc.

http://bits.netbeans.org/download/6.0/beta2/200710160000/start.html?netbeans-6.0beta2-javaee-solaris-sparc.sh
Peter fix is done Oct 16 22:22:58

rechecked in daily 10160000 on windows/xp.