Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.1
-
Fix Version/s: 1.6.1
-
Component/s: None
-
Labels:None
-
Environment:ICEfaces Asynchronous HTTP Server 1.6.1
-
Workaround Exists:Yes
-
Workaround Description:Turn off DEBUG level logging for ICEfaces AHS
Description
When logging at DEBUG level for ICEfaces AHS it is possible that an NPE is thrown when trying to log the sent HTTP Response.
Activity
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Jack van Ooststroom [ jack.van.ooststroom ] |
Jack Van Ooststroom
made changes -
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Fix Version/s | 1.6.1 [ 10070 ] | |
Resolution | Fixed [ 1 ] |
Jack Van Ooststroom
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Jack Van Ooststroom
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Jack van Ooststroom [ jack.van.ooststroom ] |
Jack Van Ooststroom
created issue -
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #14826 | Wed Sep 19 10:43:31 MDT 2007 | jack.van.ooststroom | Fixed JIRA |
Files Changed | ||||
MODIFY
/projects/icefaces-ahs/trunk/icefaces-ahs/src/com/icesoft/faces/async/server/WriteHandler.java
|
When an invalid HTTP Request is received the ICEfaces Asynchronous HTTP Server tries to send an client error response indicating the error found in the HTTP Request. Because the HTTP Request contained an error it is not added to the Transaction object. When the HTTP Response is send back it tries to log the Request-URI of the HTTP Request. Because that is null an NullPointerException was thrown. I added a little check to see if the HttpRequest is null before retrieving the Request-URI from it. Marking this one as FIXED.