Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.10, 2.3-next-M7, 4.0.0-RC2
-
None
-
None
Description
Caused by: java.lang.NullPointerException at org.apache.myfaces.flow.cdi.FlowScopeContext.get(FlowScopeContext.java:249) at org.jboss.weld.contexts.PassivatingContextWrapper$AbstractPassivatingContextWrapper.get(PassivatingContextWrapper.java:84) at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:100) at org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50) at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:102) at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105) at org.jboss.weld.generated.proxies.util.Map$1196533720$Proxy$_$$_WeldClientProxy.put(Unknown Source) at ee.jakarta.tck.faces.test.javaee8.cdi.InjectFlowMapBean.initFoo(InjectFlowMapBean.java:35)
We pass in false for createIfNotExist in getContextualStorage, which returns a null object hence an NPE.
Attachments
Issue Links
- links to