Teresa Miyar created MYFACES-4306:
-------------------------------------

             Summary: Intermittent "Argument bean must not be null"
                 Key: MYFACES-4306
                 URL: https://issues.apache.org/jira/browse/MYFACES-4306
             Project: MyFaces Core
          Issue Type: Bug
          Components: General
    Affects Versions: 2.3.4
         Environment: Wildfly 19
            Reporter: Teresa Miyar
         Attachments: bundled-jsf.ear

Intermittently getting the following stack trace:
{code:java}
Caused by: org.jboss.weld.exceptions.IllegalArgumentException: WELD-001456: 
Argument bean must not be nullCaused by: 
org.jboss.weld.exceptions.IllegalArgumentException: WELD-001456: Argument bean 
must not be null at 
org.jboss.weld.util.Preconditions.checkArgumentNotNull(Preconditions.java:40) 
at 
org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:708) 
at 
org.jboss.weld.util.ForwardingBeanManager.getReference(ForwardingBeanManager.java:64)
 at 
org.jboss.weld.bean.builtin.BeanManagerProxy.getReference(BeanManagerProxy.java:87)
 at org.apache.myfaces.cdi.util.CDIUtils.resolveInstance(CDIUtils.java:65) at 
org.apache.myfaces.cdi.util.CDIUtils.lookup(CDIUtils.java:52) at 
org.apache.myfaces.el.unified.ResolverBuilderBase.isReplaceImplicitObjectResolverWithCDIResolver(ResolverBuilderBase.java:232)
 at 
org.apache.myfaces.el.unified.ResolverBuilderForFaces.build(ResolverBuilderForFaces.java:108)
 at 
org.apache.myfaces.application.ApplicationImpl.createFacesResolver(ApplicationImpl.java:408)
 at 
org.apache.myfaces.application.ApplicationImpl.getELResolver(ApplicationImpl.java:389)
 at 
org.apache.myfaces.context.servlet.FacesContextImplBase.getELContext(FacesContextImplBase.java:230)
{code}
It works fine with MyFaces 2.0, the reason could be the one explained here 
[https://issues.jboss.org/browse/WELD-1387]

 

to reproduce install wildfly 19, start/stop several times sometimes starts with 
error and sometimes starts without a problem.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to