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

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


     [ https://issues.jboss.org/browse/WELD-950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wang Liyu updated WELD-950:
---------------------------

    Attachment: screenshot-1.jpg


> 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
>         Attachments: Game.java, screenshot-1.jpg
>
>
> 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