[jboss-jira] [JBoss JIRA] Assigned: (EJBTHREE-1572) Injected SessionContext became invalid after passivation

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Thu Nov 6 11:33:13 EST 2008


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

Andrew Lee Rubinger reassigned EJBTHREE-1572:
---------------------------------------------

    Assignee: Andrew Lee Rubinger


> Injected SessionContext became invalid after passivation
> --------------------------------------------------------
>
>                 Key: EJBTHREE-1572
>                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1572
>             Project: EJB 3.0
>          Issue Type: Bug
>          Components: injection
>    Affects Versions: AS 4.2.2.GA
>            Reporter: Alexey Neupokoev
>            Assignee: Andrew Lee Rubinger
>
> I have SFSB with SessionContext injected as:
> @Resource
> private SessionContext ctx;
> Some of my SFSB's methods use ctx.getBusinessObject(). After passivation and activation of bean ctx.getBusinessObject() produces NPE.
> While debugging I discover that ctx is instance of org.jboss.ejb3.BaseSessionContext. In it's writeExternal() / readExternal() it loose baseContext, which is needed for getBusinessObject() invocation.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list