Unfortunately I can't share the code . it happened in a rare condition - Session Timeout, it trigged in the ServerSide, when session timeout, it only trigger session destroy, no request created/request destroy, not sure how easy to create this, one way is to set the session timeout to 60 sec in the web.xml, and fire one request, wait 60 sec, it will trigger that. and if you set break point on both org.jboss.weld.context.AbstractManagedContext.getManagedState() and org.jboss.weld.context.AbstractManagedContext.removeState(), you will see what I mean.
|