You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/03/27 13:44:31 UTC

DO NOT REPLY [Bug 7511] New: - IllegalStateException

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7511>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7511

IllegalStateException

           Summary: IllegalStateException
           Product: Tomcat 4
           Version: 4.0.3 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: gavin.stevenson@kcom.com


I have recently upgrade to j2sdk 1.4 and tomcat 4.03

I have now noticed the following stack trace occours fairly often.
I had the same problem with previous version of tomcat 4.0. 
I have tried using jsk1.3, which seems to remove the problem, however, i do 
need to migrate to jdk1.4.

The stack trace is as follows

java.lang.IllegalStateException: Current state = FLUSHED, new state = CODING_END
        at java.nio.charset.CharsetEncoder.throwIllegalStateException
(CharsetEncoder.java:933)
        at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:529)
        at sun.nio.cs.StreamEncoder$CharsetSE.flushLeftoverChar
(StreamEncoder.java:356)
        at sun.nio.cs.StreamEncoder$CharsetSE.implClose(StreamEncoder.java:413)
        at sun.nio.cs.StreamEncoder.close(StreamEncoder.java:158)
        at java.io.OutputStreamWriter.close(OutputStreamWriter.java:222)
        at java.io.PrintWriter.close(PrintWriter.java:137)
        at org.apache.catalina.connector.ResponseBase.finishResponse
(ResponseBase.java:482)
        at org.apache.catalina.connector.HttpResponseBase.finishResponse
(HttpResponseBase.java:236)
        at org.apache.catalina.connector.http.HttpResponseImpl.finishResponse
(HttpResponseImpl.java:288)
        at org.apache.catalina.connector.http.HttpProcessor.process
(HttpProcessor.java:1039)
        at org.apache.catalina.connector.http.HttpProcessor.run
(HttpProcessor.java:1107)
        at java.lang.Thread.run(Thread.java:536)

It does not appear to cause any major problems, however i have not seen what 
happens to the web pages when this does happen.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>