Project

General

Profile

Bug #16125

Response is already commited on redirect

Added by Kyle Hazelwood about 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
High
Category:
Server
Target version:
Start date:
04/06/2017
Due date:
% Done:

0%

Estimated time:
Duration:

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.

2017-04-06.15.25.16.227.png (45.6 KB) 2017-04-06.15.25.16.227.png Kyle Hazelwood, 04/06/2017 03:25 PM

History

#1 Updated by Kyle Hazelwood about 3 years ago

  • Status changed from Assigned to Resolved

Found an errant semi colon! Fixed on next restart.

#2 Updated by Kyle Hazelwood almost 3 years ago

  • Status changed from Resolved to Remission

Still seeing this.

#3 Updated by Kyle Hazelwood over 2 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 about 2 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF