org.grails.gsp.GroovyPagesException: Error processing GroovyPageView: getOutputStream() has already been called for this response

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by akistanov
, 1 year ago
Error processing GroovyPageView: getOutputStream() has already been called for this response
via Stack Overflow by jon.airey
, 1 year ago
Error processing GroovyPageView: [views/blog/show.gsp:17] Error executing tag <g:render>: [views/blog/_content.gsp:18] Error executing tag <markdown:renderHtml>: org/parboiled/transform/ParserClassNode
via Stack Overflow by Songday
, 2 years ago
Error processing GroovyPageView: getOutputStream() has already been called for this response
via GitHub by songday
, 2 years ago
Error processing GroovyPageView: getOutputStream() has already been called for this response
via GitHub by sdelamo
, 4 months ago
via GitHub by mchandler89
, 1 year ago
Error processing GroovyPageView: Cannot ask for request attribute - request is not active anymore!
java.lang.IllegalStateException: getOutputStream() has already been called for this response
at org.apache.catalina.connector.Response.getWriter(Response.java:578)
at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:109)
at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:109)
at org.grails.web.sitemesh.GrailsPageResponseWrapper$5.activateDestination(GrailsPageResponseWrapper.java:158)
at org.grails.web.sitemesh.GrailsPageResponseWrapper$5.activateDestination(GrailsPageResponseWrapper.java:156)
at org.grails.web.sitemesh.GrailsRoutablePrintWriter.activateDestination(GrailsRoutablePrintWriter.java:75)
at org.grails.web.sitemesh.GrailsRoutablePrintWriter.write(GrailsRoutablePrintWriter.java:240)
at org.grails.buffer.StreamCharBuffer$AllocatedBuffer.writeTo(StreamCharBuffer.java:1609)
at org.grails.buffer.StreamCharBuffer.writeToImpl(StreamCharBuffer.java:652)
at org.grails.buffer.StreamCharBuffer.writeTo(StreamCharBuffer.java:615)
at org.grails.buffer.StreamCharBuffer.flushToConnected(StreamCharBuffer.java:1030)
at org.grails.buffer.StreamCharBuffer.access$1300(StreamCharBuffer.java:254)
at org.grails.buffer.StreamCharBuffer$StreamCharBufferWriter.flushWriter(StreamCharBuffer.java:1309)
at org.grails.buffer.StreamCharBuffer$StreamCharBufferWriter.flush(StreamCharBuffer.java:1337)
at org.grails.buffer.GrailsPrintWriter.flush(GrailsPrintWriter.java:171)
at org.grails.buffer.GrailsPrintWriterAdapter.flush(GrailsPrintWriterAdapter.java:122)
at org.grails.web.sitemesh.GrailsRoutablePrintWriter.flush(GrailsRoutablePrintWriter.java:259)
at java.io.FilterWriter.flush(FilterWriter.java:100)
at org.grails.buffer.GrailsPrintWriter.flush(GrailsPrintWriter.java:171)
at org.grails.taglib.encoder.OutputEncodingStack$OutputProxyWriterGroup.flushActive(OutputEncodingStack.java:167)
at org.grails.taglib.encoder.OutputEncodingStack$OutputProxyWriterGroup.activateWriter(OutputEncodingStack.java:160)
at org.grails.taglib.encoder.OutputEncodingStack$OutputProxyWriterGroup.reset(OutputEncodingStack.java:155)
at org.grails.taglib.encoder.OutputEncodingStack.pop(OutputEncodingStack.java:356)
at org.grails.gsp.GroovyPage.cleanup(GroovyPage.java:177)
at org.grails.gsp.GroovyPageWritable.doWriteTo(GroovyPageWritable.java:167)
at org.grails.gsp.GroovyPageWritable.writeTo(GroovyPageWritable.java:82)
at org.grails.web.servlet.view.GroovyPageView.renderTemplate(GroovyPageView.java:76)

Users with the same issue

40 times, 3 months ago
Once, 6 months ago
4 times, 6 months ago
24 times, 1 year ago
10 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.