[weld-issues] [JBoss JIRA] Created: (WELD-795) NullPointerException in org.jboss.weld.context.beanstore.http.AbstractSessionBeanStore.setAttribute
John Lister (JIRA)
jira-events at lists.jboss.org
Wed Dec 15 18:43:17 EST 2010
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
More information about the weld-issues
mailing list