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


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
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to