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 114135 - 0828: NPE sun-web.xml Add XX if previous null name
Summary: 0828: NPE sun-web.xml Add XX if previous null name
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-29 15:24 UTC by nouar38
Modified: 2007-11-12 10:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception stack .txt file (959 bytes, text/plain)
2007-08-29 15:28 UTC, nouar38
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nouar38 2007-08-29 15:24:24 UTC
NB 6.0 200708280000 & GF v2 b58c & jdk1.6u1
GF V2 node is started,
create a new web project (no framework), access sun-web.xml tab "Servlets"
Click on button "Add Servlet" with name servlet1, 
Click on button "Add Servlet" to add a second servlet but remove the proposed string in Name ==>> 
can see two entries servlet1 and unknown.
Click on button "Add Servlet" to a third servlet ==> NPE

will attache the NPE stack
Comment 1 nouar38 2007-08-29 15:28:19 UTC
Created attachment 47714 [details]
exception stack .txt file
Comment 2 nouar38 2007-08-29 16:30:10 UTC
this happens for all Name string that should not be null, not only for Servlet tab.
got same thing in "web services" tab when "Web service description name" is set to null.
When the "unknown" is removed (select and click button Remove) the next entry added when hit the NPE
is shown up.
Comment 4 nouar38 2007-11-12 10:35:39 UTC
ok verified on solaris-sparc with rc1 daily