Closed vankeisb closed 8 years ago
Happens for 304
responses etc.
Problem is that DMF's responseWrapper.setStatus considers all statuses as errors.
When the container sets a 304 status for example, DMF stores the status as an error, and subsequently tries to call response.sendError(). Not only 304 is not an error, but moreover the response seems to be already committed on jetty9 in that case.
fixed in e0eec13c8f85f1698d1d515598518ed31d6488de
DMF calls response.sendError() event if response has already been commited (see
net.sourceforge.stripes.controller.DynamicMappingFilter.ErrorTrappingResponseWrapper#proceed
).This leads to exceptions (randomly in my case) and blank pages (see stack trace below).
How To Reproduce
1/ Deploy the examples app in jetty9 (I do this from IDEA) 2/ open the index page 3/ reload until page gets blank
server stack :