[weld-issues] [JBoss JIRA] Created: (WELD-950) Session Scoped bean got stucked in CreationalContextImpl.incompleteInstances map

Wang Liyu (JIRA) jira-events at lists.jboss.org
Wed Aug 3 22:12:10 EDT 2011


Session Scoped bean got stucked in CreationalContextImpl.incompleteInstances map
--------------------------------------------------------------------------------

                 Key: WELD-950
                 URL: https://issues.jboss.org/browse/WELD-950
             Project: Weld
          Issue Type: Bug
          Components: Bootstrap and Metamodel API, Class Beans (Managed and Session)
    Affects Versions: 1.1.2.Final
         Environment: JSF2 + Weld1.1.2.Final on Tomcat (JBoss 6 has same issue)
            Reporter: Wang Liyu


I have a session scoped bean annotated with @Named @SessionScoped, and in the bean's method, I called context.getExternalContext().invalidateSession(); to end the conversation and after @PreDestroy called, the bean is still in the memory, it was hard reference from CreationalContextImpl.incompleteInstances map.

The issue can be reproduced with modified weld-numberguess example (I attached with this ticket)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list