Details
Description
NPE is thrown in SessionDispatcher when running ICEfaces in Weblogic app server. It seems that HttpServletRequest.getRequestedSessionId method behaves differently in Weblogic than in the other servlet containers.
Activity
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #19207 | Wed Sep 02 07:33:53 MDT 2009 | mircea.toma | |
| Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/SessionDispatcher.java
|
| Field | Original Value | New Value |
|---|---|---|
| Support Case References | 8605 | |
| Salesforce Case | [] | |
| Fix Version/s | 1.8.2 [ 10190 ] | |
| Assignee | Mircea Toma [ mircea.toma ] |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Salesforce Case | [5007000000A61mx] |
| Fix Version/s | 1.8.2-RC1 [ 10210 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |

Avoided usage of HttpServletRequest.getRequestedSessionId method, used HttpSession.getId() instead. The session ID is acquired once before addRequest/removeRequest are called to avoid having the methods work with different IDs during a request/response cycle.
Also introduced check for the existence of active requests list before removing requests from it.