[weld-issues] [JBoss JIRA] Commented: (WELD-809) NPE in ForwardingContextual.toString during session failover

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Dec 30 09:15:18 EST 2010


    [ https://issues.jboss.org/browse/WELD-809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572533#comment-12572533 ] 

Pete Muir commented on WELD-809:
--------------------------------

I committed https://github.com/weld/core/commit/35cf66d7475811a17aa46aa8e9c871670d3542f4 to improve error reporting

> NPE in ForwardingContextual.toString during session failover
> ------------------------------------------------------------
>
>                 Key: WELD-809
>                 URL: https://issues.jboss.org/browse/WELD-809
>             Project: Weld
>          Issue Type: Bug
>            Reporter: Sivakumar Thyagarajan
>             Fix For: 1.2.0.Beta1
>
>
> Please see the corresponding GlassFish issue for more information http://java.net/jira/browse/GLASSFISH-15277
> GlassFish SQE has a multi-machine HA cluster setup, where during session failover of a shopping cart sample application, the following NPE is thrown is ForwardingContextual.toString
> java.lang.NullPointerException 
> at org.jboss.weld.context.ForwardingContextual.toString(ForwardingContextual.java:53) 
> at java.lang.String.valueOf(String.java:2826) 
> at java.lang.StringBuilder.append(StringBuilder.java:115) 
> at org.jboss.weld.context.SerializableContextualInstanceImpl.toString(SerializableContextualInstanceImpl.java:66) 
> at java.lang.String.valueOf(String.java:2826) 
> at java.lang.StringBuilder.append(StringBuilder.java:115) 
> at org.jboss.weld.context.beanstore.AttributeBeanStore.attach(AttributeBeanStore.java:120) 
> at org.jboss.weld.context.AbstractBoundContext.activate(AbstractBoundContext.java:75) 
> at org.jboss.weld.servlet.WeldListener.requestInitialized(WeldListener.java:138) 
> at org.apache.catalina.core.StandardContext.fireRequestInitializedEvent(StandardContext.java:4544) 
> at org.apache.catalina.core.StandardHostValve.preInvoke(StandardHostValve.java:626) 
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) 
> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655) 
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595) 
> at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:323) 
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227) 
> at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170) 

-- 
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