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

Atlassian JIRA | Michał Mach | 9 years ago
  1. 0

    In general, it seems like a Fisheye issue, but it's a formally Crucible+Fisheye bundle, therefore I'm reporting it as Crucible bug. Crucible is running nicely for 1-2 days, than one of the jvm process that it runs on starts consuming 100% of processor time. I have logs supressed to error messages only and have many tracebacks like below in it (pointing to different spots in repository in actual error message) 2008-01-21 08:32:33,517 ERROR [btpool0-833] org.mortbay.log sun.reflect.GeneratedMethodAccessor248-invoke - /changelog/CiviCRM/branches/v1.6.tmf/templates/CRM/Mailing 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 com.cenqua.fisheye.web.util.GZIPResponseWrapper.finishResponse(GZIPResponseWrapper.java:30) at com.cenqua.fisheye.web.util.GZIPFilter.doFilter(GZIPFilter.java:26) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1141) at com.cenqua.fisheye.web.filters.UpfrontFilter.doFilter(UpfrontFilter.java:37) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1141) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:285) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

    Atlassian JIRA | 9 years ago | Michał Mach
    java.lang.IllegalStateException: Current state = FLUSHED, new state = CODING_END
  2. 0

    In general, it seems like a Fisheye issue, but it's a formally Crucible+Fisheye bundle, therefore I'm reporting it as Crucible bug. Crucible is running nicely for 1-2 days, than one of the jvm process that it runs on starts consuming 100% of processor time. I have logs supressed to error messages only and have many tracebacks like below in it (pointing to different spots in repository in actual error message) 2008-01-21 08:32:33,517 ERROR [btpool0-833] org.mortbay.log sun.reflect.GeneratedMethodAccessor248-invoke - /changelog/CiviCRM/branches/v1.6.tmf/templates/CRM/Mailing 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 com.cenqua.fisheye.web.util.GZIPResponseWrapper.finishResponse(GZIPResponseWrapper.java:30) at com.cenqua.fisheye.web.util.GZIPFilter.doFilter(GZIPFilter.java:26) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1141) at com.cenqua.fisheye.web.filters.UpfrontFilter.doFilter(UpfrontFilter.java:37) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1141) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:285) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

    Atlassian JIRA | 9 years ago | Michał Mach
    java.lang.IllegalStateException: Current state = FLUSHED, new state = CODING_END
  3. 0

    [CONF-4725] IllegalStateException in Jboss log - Atlassian JIRA

    atlassian.com | 1 year ago
    java.lang.IllegalStateException: Current state = FLUSHED, new state = CODING_END
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Current state = FLUSHED, new state = CODING_END

      at java.nio.charset.CharsetEncoder.throwIllegalStateException()
    2. Java RT
      PrintWriter.close
      1. java.nio.charset.CharsetEncoder.throwIllegalStateException(CharsetEncoder.java:941)
      2. java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:537)
      3. sun.nio.cs.StreamEncoder$CharsetSE.flushLeftoverChar(StreamEncoder.java:358)
      4. sun.nio.cs.StreamEncoder$CharsetSE.implClose(StreamEncoder.java:414)
      5. sun.nio.cs.StreamEncoder.close(StreamEncoder.java:160)
      6. java.io.OutputStreamWriter.close(OutputStreamWriter.java:222)
      7. java.io.PrintWriter.close(PrintWriter.java:287)
      7 frames
    3. com.cenqua.fisheye
      GZIPFilter.doFilter
      1. com.cenqua.fisheye.web.util.GZIPResponseWrapper.finishResponse(GZIPResponseWrapper.java:30)
      2. com.cenqua.fisheye.web.util.GZIPFilter.doFilter(GZIPFilter.java:26)
      2 frames
    4. Jetty Server
      ServletHandler$Chain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1141)
      1 frame
    5. com.cenqua.fisheye
      UpfrontFilter.doFilter
      1. com.cenqua.fisheye.web.filters.UpfrontFilter.doFilter(UpfrontFilter.java:37)
      1 frame
    6. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1141)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
      8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      10. org.mortbay.jetty.Server.handle(Server.java:285)
      11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
      12. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821)
      13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
      14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
      15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
      16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368)
      16 frames
    7. Jetty Util
      BoundedThreadPool$PoolThread.run
      1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
      1 frame