Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Cannot Reproduce Bug
-
Affects Version/s: 1.1.2.Final
-
Fix Version/s: None
-
Component/s: Bootstrap and Metamodel API, Class Beans (Managed and Session)
-
Labels:None
-
Environment:JSF2 + Weld1.1.2.Final on Tomcat (JBoss 6 has same issue), JDK1.6.0u25
-
Steps to Reproduce:
-
Estimated Difficulty:Medium
Description
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)
Gliffy Diagrams
Activity
- All
- Comments
- Work Log
- History
- Activity
- Links Hierarchy
Apparently, this was fixed in 1.1.8.
I can reproduce the bug with 1.1.7 and earlier.