Bug #16125
Response is already commited on redirect
0%
Description
The authentication filter is throwing an IllegalStateException whenever someone logs into the elog. The filter is complaining the the response is already committed when the user is redirected after a successfull login. The user does not see this and it is transparent to them. However, the logger is getting filled up. I'm already wrapping the response to override isCommitted() so I'm not sure what is happening.
History
#1 Updated by Kyle Hazelwood almost 4 years ago
- Status changed from Assigned to Resolved
Found an errant semi colon! Fixed on next restart.
#2 Updated by Kyle Hazelwood over 3 years ago
- Status changed from Resolved to Remission
Still seeing this.
#3 Updated by Kyle Hazelwood about 3 years ago
- Status changed from Remission to Resolved
If the HttpServletResponse getWriter() method is called then the response is committed and then the sendError() method throughs this error. I switched all statements to getOutputStream() so that I can still use sendError(). Hopefully this fixes the problem.
#4 Updated by Kyle Hazelwood almost 3 years ago
- Status changed from Resolved to Closed