| Summary: | NPE when running Servlet on server if <servlet-class> is not defined | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Jason Peterson <jasonpet> | ||||
| Component: | jst.j2ee | Assignee: | Jason Peterson <jasonpet> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Chuck Bridgham <cbridgha> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | ccc | ||||
| Version: | 3.2 | Flags: | cbridgha:
review+
|
||||
| Target Milestone: | 3.2.2 P | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
approve - now that we expose using a jsp mapping, we need to protect this code Committed to R3_2_2_patches |
Created attachment 180197 [details] patch If servlet-class is not defined in the web.xml a NPE is being thrown when attempting to run the servlet on the server. This occurs when running the actual servlet's Java resource file or if attempting to run using the Server model object node shown in the explorer view. Fix is to check for the null condition.