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

Pete Muir closed WELD-795.
--------------------------

    Resolution: Done


Thanks!

> NullPointerException in 
> org.jboss.weld.context.beanstore.http.AbstractSessionBeanStore.setAttribute
> ---------------------------------------------------------------------------------------------------
>
>                 Key: WELD-795
>                 URL: https://issues.jboss.org/browse/WELD-795
>             Project: Weld
>          Issue Type: Bug
>    Affects Versions: 1.1.0.Beta2
>         Environment: Linux, Java 1.6.22
>            Reporter: John Lister
>            Assignee: Pete Muir
>             Fix For: 1.1.0.CR2
>
>
> The setAttribute method in the AbstractSessionBeanStore class logs an error 
> if the session couldn't be obtained, unfortunately in generating the error it 
> attempts to get the session ID, this results in a NullPointerException as the 
> session is null.
> This should be fixed by simply removing the call to getSession(false).getId() 
> in the trace message.

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

        
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to