This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 26554 - IllegalStateException while debugging servlet
Summary: IllegalStateException while debugging servlet
Status: RESOLVED DUPLICATE of bug 24443
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: -S1S-
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Jiricka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-16 14:41 UTC by sva
Modified: 2006-06-05 00:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Output under RH Linux7.3 (5.02 KB, text/plain)
2002-08-16 14:46 UTC, sva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sva 2002-08-16 14:41:49 UTC
Steps to reproduce:
1. Start debug for servlet.
2. Quikly press reload in browser 10-15 times.

Result:
IllegalStateException occured, tomcta crashed, following 
output to host_name:11555 tab (output for W2k):

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.finishRespon
se(HttpResponseBase.java:229)
        at 
org.apache.catalina.connector.http.HttpResponseImpl.finishR
esponse(HttpResponseImpl.java:288)
        at 
org.apache.catalina.connector.http.HttpProcessor.process
(HttpProcessor.java:1038)
        at 
org.apache.catalina.connector.http.HttpProcessor.run
(HttpProcessor.java:1106)
        at java.lang.Thread.run(Thread.java:536)
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed 
mode)
#
# Error ID: 5052455345525645255843455054494F4E0E435050001B
#
# Problematic Thread: prio=5 tid=0x0F26EDB8 nid=0x4e8 
runnable 
#


Well reproduced with under RH Linux 7.2 & W2K with Sun One 
Studio 4 update 1 (build 020812).
Comment 1 sva 2002-08-16 14:46:38 UTC
Created attachment 7113 [details]
Output under RH Linux7.3
Comment 2 Damian Frach 2002-08-19 18:04:47 UTC
looks like JVM problem

I will create a bugreport for the JDK team
Comment 3 Damian Frach 2002-10-02 14:53:23 UTC
see 4755938
Comment 4 Petr Jiricka 2003-01-22 16:10:56 UTC
The fix should appear in J2SE 1.4.2.

Comment 5 Petr Jiricka 2003-02-12 10:33:39 UTC
Looks like a duplicate of 24443.

*** This issue has been marked as a duplicate of 24443 ***