You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Thomas Andraschko (Jira)" <de...@myfaces.apache.org> on 2019/11/05 11:46:00 UTC

[jira] [Commented] (MYFACES-4306) Intermittent "Argument bean must not be null"

    [ https://issues.apache.org/jira/browse/MYFACES-4306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16967450#comment-16967450 ] 

Thomas Andraschko commented on MYFACES-4306:
--------------------------------------------

Otherwise, please debug and dig into it by yourself.
Also feel free to provide a patch or pull request if you found a fix.

> 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
>            Priority: Major
>         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)