What does it mean? java.lang.IllegalStateException: AsyncContext

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

msaygi
Posts: 11
Joined: 06 Jan 2017, 09:21

What does it mean? java.lang.IllegalStateException: AsyncContext

Postby msaygi » 14 Jan 2017, 09:17

Hello everyone,

We're using SFS 2.9.2 on our game. We released a new game version yesterday and activated bluebox on our server. After this process we are getting the exception that detailed below frequently. We did not find meaningful that message. What does it mean? In which states Smartfox gives this exception?

Thanks for your answer in advance.

Code: Select all

13 Jan 2017 | 11:49:17,776 | WARN  | SocketWriter-3 | bitswarm.core.SocketWriter |     | java.lang.IllegalStateException: AsyncContext#dispath s=ASYNCWAIT i=false a=DISPATCH
       org.eclipse.jetty.server.HttpChannelState.dispatch(HttpChannelState.java:352)
       org.eclipse.jetty.server.AsyncContextState.dispatch(AsyncContextState.java:114)
       org.eclipse.jetty.continuation.Servlet3Continuation.resume(Servlet3Continuation.java:139)
       sfs2x.bluebox.v3.data.BBClient.enqueueMessage(BBClient.java:80)
       com.smartfoxserver.bitswarm.core.SocketWriter.processBlueBoxSession(SocketWriter.java:242)
       com.smartfoxserver.bitswarm.core.SocketWriter.processSessionQueue(SocketWriter.java:208)
       com.smartfoxserver.bitswarm.core.SocketWriter.run(SocketWriter.java:181)
       java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
       java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
       java.lang.Thread.run(Unknown Source)
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: What does it mean? java.lang.IllegalStateException: AsyncContext

Postby Lapo » 14 Jan 2017, 10:08

Hi,
this is a known issue in Jetty which doesn't seem to cause any real problem but it's annoying to see repeated in the log files.

We have updated Jetty in the latest SFS2X 2.12 and the message is gone.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
msaygi
Posts: 11
Joined: 06 Jan 2017, 09:21

Re: What does it mean? java.lang.IllegalStateException: AsyncContext

Postby msaygi » 14 Jan 2017, 10:16

Lapo wrote:Hi,
this is a known issue in Jetty which doesn't seem to cause any real problem but it's annoying to see repeated in the log files.

We have updated Jetty in the latest SFS2X 2.12 and the message is gone.

Cheers


Does Jetty use on only SFS Admin -as i know :) - or Jetty use on application side?
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: What does it mean? java.lang.IllegalStateException: AsyncContext

Postby Lapo » 14 Jan 2017, 15:55

Jetty is also used when clients connect via BlueBox (HTTP Tunneling)
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 145 guests