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 60908 - NPE when WEB-INF/web.xml doesn't exist
Summary: NPE when WEB-INF/web.xml doesn't exist
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
: 60503 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-13 09:16 UTC by zikmund
Modified: 2010-01-12 02:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
java.lang.NullPointerException at org.netbeans.modules.web.freeform.WebModules$FFWebModule.getDeploymentDescriptor(WebModules.java:290) (2.97 KB, text/plain)
2005-07-13 09:16 UTC, zikmund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2005-07-13 09:16:26 UTC
4.1 FCS

1) Have a web freeform project where web.xml is placed in non-standard place
(e.g. in src) i.e. there's no any WEB-INF diretory
2) Invoke Servlet wizard
3) NPE - see attachment
Comment 1 zikmund 2005-07-13 09:16:56 UTC
Created attachment 23074 [details]
java.lang.NullPointerException at org.netbeans.modules.web.freeform.WebModules$FFWebModule.getDeploymentDescriptor(WebModules.java:290)
Comment 2 zikmund 2005-07-13 09:18:23 UTC
I suppose that same problems appears in other web.xml related wizards (listener,
filter, etc.)
Comment 3 zikmund 2005-07-13 09:25:32 UTC
*** Issue 60503 has been marked as a duplicate of this issue. ***
Comment 4 Pavel Buzek 2005-11-13 02:00:03 UTC
I can take this.