Opened 11 years ago

Closed 11 years ago

#1755 closed defect (fixed)

IllegalStateException in Tomcat's log after each use of 'Download immediately'

Reported by: Nicklas Nordborg Owned by: everyone
Priority: trivial Milestone: BASE 3.2.3
Component: web Version:
Keywords: Cc:


Almost all export plug-ins have an option to download the result immediately to the client computer. There is no problem with the export but a log statement is created in one of the Tomcat log files.

java.lang.IllegalStateException: getOutputStream() has already been called for this response
	at org.apache.catalina.connector.Response.getWriter(
	at org.apache.catalina.connector.ResponseFacade.getWriter(
	at org.apache.jasper.runtime.JspWriterImpl.initOut(
	at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(
	at org.apache.jasper.runtime.PageContextImpl.release(
	at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(
	at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(
	at org.apache.jsp.common.plugin.index_jsp._jspService(

Change History (1)

comment:1 by Nicklas Nordborg, 11 years ago

Resolution: fixed
Status: newclosed

(In [6274]) Fixes #1755: IllegalStateException in Tomcat's log after each use of 'Download immediately'

Added call to clear the buffer before starting the export.

Note: See TracTickets for help on using tickets.