java.lang.IllegalStateException: Current state = FLUSHED, new state = CODING_END

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 atlassian.com by Unknown author, 2 years ago
Current state = FLUSHED, new state = CODING_END
via Oracle Community by 807546, 1 year ago
The owner protected this stack trace.
via Google Groups by Joachim Arrasz, 1 month ago
Current state = FLUSHED, new state =
via java.com by Unknown author, 1 year ago
java.lang.IllegalStateException: Current state = FLUSHED, new state = CODING_END
at java.nio.charset.CharsetEncoder.throwIllegalStateException(CharsetEncoder.java:941)
at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:537)
at sun.nio.cs.StreamEncoder$CharsetSE.flushLeftoverChar(StreamEncoder.java:358)
at sun.nio.cs.StreamEncoder$CharsetSE.implClose(StreamEncoder.java:414)
at sun.nio.cs.StreamEncoder.close(StreamEncoder.java:160)
at java.io.OutputStreamWriter.close(OutputStreamWriter.java:222)
at java.io.PrintWriter.close(PrintWriter.java:287)
at org.apache.catalina.connector.ResponseBase.finishResponse(ResponseBase.java:483)
at org.apache.ajp.tomcat4.Ajp13Response.finishResponse(Ajp13Response.java:191)
at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:479)
at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:576)
at java.lang.Thread.run(Thread.java:595)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

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