Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 384297

Summary: IllegalStateException handling error in hosted site servlet
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ServerAssignee: Project Inbox <orion.server-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2012-07-04 14:30:00 EDT
0.5 Final on orionhub.org.

I am seeing a bunch of errors like this in the orionhub.org log. This means we started writing a raw byte stream and then attempted to switch to writing characters. The worst part of this is that the original error is lost because the exception handler fails to write.


java.lang.IllegalStateException: STREAM
        at org.eclipse.jetty.server.Response.getWriter(Response.java:683) ~[org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
        at org.eclipse.jetty.http.gzip.CompressedResponseWrapper.getWriter(CompressedResponseWrapper.java:365) ~[org.eclipse.jetty.http_8.1.3.v20120522.jar:8.1.3.v20120522]
        at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:152) ~[javax.servlet_3.0.0.v201112011016.jar:na]
        at org.eclipse.jetty.http.gzip.CompressedResponseWrapper.getWriter(CompressedResponseWrapper.java:365) ~[org.eclipse.jetty.http_8.1.3.v20120522.jar:8.1.3.v20120522]
        at org.eclipse.orion.internal.server.servlets.ServletStatusHandler.handleRequest(ServletStatusHandler.java:38) ~[na:na]
        at org.eclipse.orion.internal.server.servlets.ServletStatusHandler.handleRequest(ServletStatusHandler.java:1) ~[na:na]
        at org.eclipse.orion.server.servlets.OrionServlet.handleException(OrionServlet.java:128) ~[na:na]
        at org.eclipse.orion.internal.server.hosting.HostedSiteServlet.service(HostedSiteServlet.java:168) ~[na:na]
Comment 1 John Arthorne CLA 2015-05-05 15:46:42 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html
Comment 2 John Arthorne CLA 2015-05-05 16:00:24 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html