Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Meaning of "java.lang.IllegalStateException: s=ASYNCIO i=false a=COMPLETE" error message?

I found the root cause of the issue- a buggy section of the code was completing the async context and when other sections of the code were trying to access the context (which is now complete), "java.lang.IllegalStateException: s=ASYNCIO i=false a=COMPLETE" is thrown. Makes sense. I am still curious to know what does "s", "i" and "a" stand for? 

I am using Jetty v9.1.0.v20131115. ​Complete stacktrace:

java.lang.IllegalStateException: s=ASYNCIO i=false a=COMPLETE
at org.eclipse.jetty.server.HttpChannelState.complete(HttpChannelState.java:430)
at org.eclipse.jetty.server.AsyncContextState.complete(AsyncContextState.java:92)
at com.mycompany.StandardDataStream.onWritePossible(StandardDataStream.java:52)
at org.eclipse.jetty.server.HttpOutput.run(HttpOutput.java:673)
at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1159)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334)
at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:238)
at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1159)
at org.eclipse.jetty.server.HttpChannelState.complete(HttpChannelState.java:440)
at org.eclipse.jetty.server.AsyncContextState.complete(AsyncContextState.java:92)
at com.mycompany.ClientAsyncRequestProcessor.run(ClientAsyncRequestProcessor.java:112)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)



On Sun, Jan 5, 2014 at 7:31 PM, Joakim Erdfelt <joakim@xxxxxxxxxxx> wrote:
With Jetty 9.1.0 its likely from HttpChannelState.getStatusString(), but without more context of your stacktrace, it would be hard to explain what is going on.

--
Joakim Erdfelt <joakim@xxxxxxxxxxx>
Expert advice, services and support from from the Jetty & CometD experts


On Sun, Jan 5, 2014 at 8:25 PM, Joakim Erdfelt <joakim@xxxxxxxxxxx> wrote:
Also, we need *MUCH* more context for that particular exception.
Such as more lines of the stacktrace.  As an IllegalStateException depends heavily on what was going on.

--
Joakim Erdfelt <joakim@xxxxxxxxxxx>
Expert advice, services and support from from the Jetty & CometD experts


On Sun, Jan 5, 2014 at 6:19 PM, Gaurav Kumar <gauravphoenix@xxxxxxxxx> wrote:
As per subject, what does java.lang.IllegalStateException: s=ASYNCIO i=false a=COMPLETE mean? What does "s", "i" and "a" stand for? 

I am getting this error message intermittently.

Thanks,
Gaurav


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users




_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



Back to the top