| Summary: | Style tag can crash VPD | ||
|---|---|---|---|
| Product: | [WebTools] Java Server Faces | Reporter: | Cameron Bateman <cameron.bateman> |
| Component: | Core | Assignee: | Ian Trimble <ian.trimble> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | raghunathan.srinivasan |
| Version: | 2.0 | Keywords: | helpwanted |
| Target Milestone: | 3.3 M7 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | 170080 | ||
| Bug Blocks: | |||
|
Description
Cameron Bateman
I have implemented a workaround for this bug that I should avoid the nasty side-effect of crashing the VPD. The workaround is sorround the logic that calls getSheet with the following:
if (sheetAdapter.getElement() != null
&& "text/css".equals(sheetAdapter.getElement().getAttribute(HTML40Namespace.ATTR_NAME_TYPE)))
Under these conditions, I believe getSheet will always work without throwing an NPE.
Full fix is pending dependant bug.
Updating target to RC0. Consider for 3.0 Deferred due to lack of resources. Dependent bug 170080 still open. The blocking bug has been fixed. We need to verify and close this one. This may involve backing out the workaround. Fix submitted at 2011/04/01 04:32PM PDT. |