Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.IllegalStateException: Recycled #1280

Closed
borisvyle opened this issue Sep 12, 2013 · 4 comments
Closed

java.lang.IllegalStateException: Recycled #1280

borisvyle opened this issue Sep 12, 2013 · 4 comments

Comments

@borisvyle
Copy link

Hi,

I am just trying to configure the Broadcaster Life Cycle policy by adding IDLE_DESTROY(param value) and org.atmosphere.cpr.broadcasterLifeCyclePolicy (param-name) on the web.xml

(Using Atmosphere 2.0.0 RC1 and nettosphere 2.0.0.RC1)

and I have this log :

Could you help me please ?

11:36:56.965 [Atmosphere-Shared-AsyncOp-2] DEBUG o.atmosphere.cpr.DefaultBroadcaster - Invalid AtmosphereResource state 4afe9b46-3453-413c-a6e8-ee44dec5bb77. The connection has been remotely closed and message null will be added to the configured BroadcasterCache for later retrieval
11:36:56.965 [Atmosphere-Shared-AsyncOp-2] WARN o.atmosphere.cpr.DefaultBroadcaster - This message null will be lost for AtmosphereResource null, adding it to the BroadcasterCache
11:36:56.970 [Atmosphere-Shared-AsyncOp-2] DEBUG o.atmosphere.cpr.DefaultBroadcaster - Failed to execute a write operation for Broadcaster /*
java.lang.IllegalStateException: Recycled
at org.atmosphere.cpr.AtmosphereResourceEventImpl.check(AtmosphereResourceEventImpl.java:231) ~[atmosphere-runtime-2.0.0.RC1.jar:2.0.0.RC1]
at org.atmosphere.cpr.AtmosphereResourceEventImpl.setCancelled(AtmosphereResourceEventImpl.java:168) ~[atmosphere-runtime-2.0.0.RC1.jar:2.0.0.RC1]
at org.atmosphere.cpr.DefaultBroadcaster.executeAsyncWrite(DefaultBroadcaster.java:906) ~[atmosphere-runtime-2.0.0.RC1.jar:2.0.0.RC1]
at org.atmosphere.cpr.DefaultBroadcaster$3.run(DefaultBroadcaster.java:578) ~[atmosphere-runtime-2.0.0.RC1.jar:2.0.0.RC1]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_21]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [na:1.7.0_21]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) [na:1.7.0_21]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_21]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_21]
at java.lang.Thread.run(Thread.java:722) [na:1.7.0_21]
11:36:56.971 [Atmosphere-Shared-AsyncOp-2] DEBUG o.atmosphere.cpr.DefaultBroadcaster - AtmosphereResource 4afe9b46-3453-413c-a6e8-ee44dec5bb77 state is invalid for Broadcaster /*.
onRequest

@jfarcand
Copy link
Member

OK Fixed, available in 2.0.0-SNAPSHOT

@borisvyle
Copy link
Author

Ok thanks, but where can I find the 2.0.0-SNAPSHOT ?

@slovdahl
Copy link
Contributor

@borisvyle
Copy link
Author

Ok thank you so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants