[jira] [Commented] (MYFACES-4587) Intermittent deployment error on WildFly 27

2023-03-07 Thread Thomas Andraschko (Jira)


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

Thomas Andraschko commented on MYFACES-4587:


for me both OWB and Weld working fine (primefaces-test using Weld like Wildfly)
If you see ClientWindowScopeExtension, which is registered via 
jakarta.enterprise.inject.spi.Extension file, wildfly has to scan it actually

i cant assist you here much as im wether Wildfly dev nor user but i think MF 
does correct

> Intermittent deployment error on WildFly 27
> ---
>
> Key: MYFACES-4587
> URL: https://issues.apache.org/jira/browse/MYFACES-4587
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.0
> Environment: Windows 10, WildFly 27.0.1
>Reporter: Manuel K
>Priority: Major
> Attachments: stacktrace.txt
>
>
> When deploying our JSF application using MyFaces on WildFly 27.0.1, we 
> intermittently get the following exception:
> {code:java}
> org.jboss.weld.exceptions.IllegalArgumentException: WELD-001456: Argument 
> bean must not be null{code}
> I have attached the full stack trace.
> Debugging leads me to CDIUtils#get, where the following statement returns an 
> empty set:
> {code:java}
> bm.getBeans(clazz); // clazz is ClientWindowScopeContextualStorageHolder{code}
> It doesn't happen on every deployment but too often to ignore. Do you have 
> any insight on this?
> It happens whether 
> _org.apache.myfaces.annotation.USE_CDI_FOR_ANNOTATION_SCANNING_ is _true_ or 
> _false_ (just a wild experiment) and the following in the web.xml (another 
> wild experiment):
> {code:java}
>     
>         Faces Servlet
>         jakarta.faces.webapp.FacesServlet
>         1
>     {code}
> Thank you very much in advance!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (MYFACES-4587) Intermittent deployment error on WildFly 27

2023-03-07 Thread Manuel K (Jira)


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

Manuel K commented on MYFACES-4587:
---

@[~tandraschko] Thanks. I'll ask the WildFly devs if they can help...

> Intermittent deployment error on WildFly 27
> ---
>
> Key: MYFACES-4587
> URL: https://issues.apache.org/jira/browse/MYFACES-4587
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.0
> Environment: Windows 10, WildFly 27.0.1
>Reporter: Manuel K
>Priority: Major
> Attachments: stacktrace.txt
>
>
> When deploying our JSF application using MyFaces on WildFly 27.0.1, we 
> intermittently get the following exception:
> {code:java}
> org.jboss.weld.exceptions.IllegalArgumentException: WELD-001456: Argument 
> bean must not be null{code}
> I have attached the full stack trace.
> Debugging leads me to CDIUtils#get, where the following statement returns an 
> empty set:
> {code:java}
> bm.getBeans(clazz); // clazz is ClientWindowScopeContextualStorageHolder{code}
> It doesn't happen on every deployment but too often to ignore. Do you have 
> any insight on this?
> It happens whether 
> _org.apache.myfaces.annotation.USE_CDI_FOR_ANNOTATION_SCANNING_ is _true_ or 
> _false_ (just a wild experiment) and the following in the web.xml (another 
> wild experiment):
> {code:java}
>     
>         Faces Servlet
>         jakarta.faces.webapp.FacesServlet
>         1
>     {code}
> Thank you very much in advance!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (MYFACES-4587) Intermittent deployment error on WildFly 27

2023-03-07 Thread Melloware (Jira)


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

Melloware commented on MYFACES-4587:


I am the author of WildFly MyFaces Galleon pack.  I will test it out today with 
WildFly 27 Bootable.

> Intermittent deployment error on WildFly 27
> ---
>
> Key: MYFACES-4587
> URL: https://issues.apache.org/jira/browse/MYFACES-4587
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.0
> Environment: Windows 10, WildFly 27.0.1
>Reporter: Manuel K
>Priority: Major
> Attachments: stacktrace.txt
>
>
> When deploying our JSF application using MyFaces on WildFly 27.0.1, we 
> intermittently get the following exception:
> {code:java}
> org.jboss.weld.exceptions.IllegalArgumentException: WELD-001456: Argument 
> bean must not be null{code}
> I have attached the full stack trace.
> Debugging leads me to CDIUtils#get, where the following statement returns an 
> empty set:
> {code:java}
> bm.getBeans(clazz); // clazz is ClientWindowScopeContextualStorageHolder{code}
> It doesn't happen on every deployment but too often to ignore. Do you have 
> any insight on this?
> It happens whether 
> _org.apache.myfaces.annotation.USE_CDI_FOR_ANNOTATION_SCANNING_ is _true_ or 
> _false_ (just a wild experiment) and the following in the web.xml (another 
> wild experiment):
> {code:java}
>     
>         Faces Servlet
>         jakarta.faces.webapp.FacesServlet
>         1
>     {code}
> Thank you very much in advance!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (MYFACES-4587) Intermittent deployment error on WildFly 27

2023-03-07 Thread Manuel K (Jira)


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

Manuel K commented on MYFACES-4587:
---

@[~melloware] Thank you very much! As I wrote above it weirdly happens only 
sometimes.

There is a MyFaces pack? Is it new? Because I built our WildFly a few weeks ago 
using Galleon and I didn't see it. But I'm looking forward to it, because it 
wasn't trivial to get MyFaces running in WildFly 27.

> Intermittent deployment error on WildFly 27
> ---
>
> Key: MYFACES-4587
> URL: https://issues.apache.org/jira/browse/MYFACES-4587
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.0
> Environment: Windows 10, WildFly 27.0.1
>Reporter: Manuel K
>Priority: Major
> Attachments: stacktrace.txt
>
>
> When deploying our JSF application using MyFaces on WildFly 27.0.1, we 
> intermittently get the following exception:
> {code:java}
> org.jboss.weld.exceptions.IllegalArgumentException: WELD-001456: Argument 
> bean must not be null{code}
> I have attached the full stack trace.
> Debugging leads me to CDIUtils#get, where the following statement returns an 
> empty set:
> {code:java}
> bm.getBeans(clazz); // clazz is ClientWindowScopeContextualStorageHolder{code}
> It doesn't happen on every deployment but too often to ignore. Do you have 
> any insight on this?
> It happens whether 
> _org.apache.myfaces.annotation.USE_CDI_FOR_ANNOTATION_SCANNING_ is _true_ or 
> _false_ (just a wild experiment) and the following in the web.xml (another 
> wild experiment):
> {code:java}
>     
>         Faces Servlet
>         jakarta.faces.webapp.FacesServlet
>         1
>     {code}
> Thank you very much in advance!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (MYFACES-4587) Intermittent deployment error on WildFly 27

2023-03-07 Thread Melloware (Jira)


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

Melloware commented on MYFACES-4587:


Yeah: [https://github.com/melloware/wildfly-myfaces-galleon-pack]

 

And I have a WildFly Faces project using it: 
[https://github.com/melloware/wildfly-faces]

 

I am releasing 9.27.0 to Maven central now which uses MyFaces 4.0.0 Final on 
Wildfly 27.  So far I see no issues.

> Intermittent deployment error on WildFly 27
> ---
>
> Key: MYFACES-4587
> URL: https://issues.apache.org/jira/browse/MYFACES-4587
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.0
> Environment: Windows 10, WildFly 27.0.1
>Reporter: Manuel K
>Priority: Major
> Attachments: stacktrace.txt
>
>
> When deploying our JSF application using MyFaces on WildFly 27.0.1, we 
> intermittently get the following exception:
> {code:java}
> org.jboss.weld.exceptions.IllegalArgumentException: WELD-001456: Argument 
> bean must not be null{code}
> I have attached the full stack trace.
> Debugging leads me to CDIUtils#get, where the following statement returns an 
> empty set:
> {code:java}
> bm.getBeans(clazz); // clazz is ClientWindowScopeContextualStorageHolder{code}
> It doesn't happen on every deployment but too often to ignore. Do you have 
> any insight on this?
> It happens whether 
> _org.apache.myfaces.annotation.USE_CDI_FOR_ANNOTATION_SCANNING_ is _true_ or 
> _false_ (just a wild experiment) and the following in the web.xml (another 
> wild experiment):
> {code:java}
>     
>         Faces Servlet
>         jakarta.faces.webapp.FacesServlet
>         1
>     {code}
> Thank you very much in advance!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (MYFACES-4587) Intermittent deployment error on WildFly 27

2023-03-07 Thread Manuel K (Jira)


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

Manuel K commented on MYFACES-4587:
---

Yeah I fear it might only occur in combination with Apache Shiro...

> Intermittent deployment error on WildFly 27
> ---
>
> Key: MYFACES-4587
> URL: https://issues.apache.org/jira/browse/MYFACES-4587
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.0
> Environment: Windows 10, WildFly 27.0.1
>Reporter: Manuel K
>Priority: Major
> Attachments: stacktrace.txt
>
>
> When deploying our JSF application using MyFaces on WildFly 27.0.1, we 
> intermittently get the following exception:
> {code:java}
> org.jboss.weld.exceptions.IllegalArgumentException: WELD-001456: Argument 
> bean must not be null{code}
> I have attached the full stack trace.
> Debugging leads me to CDIUtils#get, where the following statement returns an 
> empty set:
> {code:java}
> bm.getBeans(clazz); // clazz is ClientWindowScopeContextualStorageHolder{code}
> It doesn't happen on every deployment but too often to ignore. Do you have 
> any insight on this?
> It happens whether 
> _org.apache.myfaces.annotation.USE_CDI_FOR_ANNOTATION_SCANNING_ is _true_ or 
> _false_ (just a wild experiment) and the following in the web.xml (another 
> wild experiment):
> {code:java}
>     
>         Faces Servlet
>         jakarta.faces.webapp.FacesServlet
>         1
>     {code}
> Thank you very much in advance!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (MYFACES-4587) Intermittent deployment error on WildFly 27

2023-03-07 Thread Melloware (Jira)


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

Melloware commented on MYFACES-4587:


OK 9.27.0.Final is of the MyFaces Galleon Pack is now in Maven Central based on 
WildFly 27.0.1 and MyFaces 4.0.0. 

I could have saved you a lot of trouble :)

 

> Intermittent deployment error on WildFly 27
> ---
>
> Key: MYFACES-4587
> URL: https://issues.apache.org/jira/browse/MYFACES-4587
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.0
> Environment: Windows 10, WildFly 27.0.1
>Reporter: Manuel K
>Priority: Major
> Attachments: stacktrace.txt
>
>
> When deploying our JSF application using MyFaces on WildFly 27.0.1, we 
> intermittently get the following exception:
> {code:java}
> org.jboss.weld.exceptions.IllegalArgumentException: WELD-001456: Argument 
> bean must not be null{code}
> I have attached the full stack trace.
> Debugging leads me to CDIUtils#get, where the following statement returns an 
> empty set:
> {code:java}
> bm.getBeans(clazz); // clazz is ClientWindowScopeContextualStorageHolder{code}
> It doesn't happen on every deployment but too often to ignore. Do you have 
> any insight on this?
> It happens whether 
> _org.apache.myfaces.annotation.USE_CDI_FOR_ANNOTATION_SCANNING_ is _true_ or 
> _false_ (just a wild experiment) and the following in the web.xml (another 
> wild experiment):
> {code:java}
>     
>         Faces Servlet
>         jakarta.faces.webapp.FacesServlet
>         1
>     {code}
> Thank you very much in advance!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (MYFACES-4587) Intermittent deployment error on WildFly 27

2023-03-07 Thread Thomas Andraschko (Jira)


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

Thomas Andraschko commented on MYFACES-4587:


Do you use a EAR?
EAR is always a bit buggy with classloading and getting the right beanmanager
we had many bugs in the past in deltaspike

maybe you can try to check if myfaces pick ups the right beanmanager in 
FacesInitializerImpl#initCDIIntegration

> Intermittent deployment error on WildFly 27
> ---
>
> Key: MYFACES-4587
> URL: https://issues.apache.org/jira/browse/MYFACES-4587
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.0
> Environment: Windows 10, WildFly 27.0.1
>Reporter: Manuel K
>Priority: Major
> Attachments: stacktrace.txt
>
>
> When deploying our JSF application using MyFaces on WildFly 27.0.1, we 
> intermittently get the following exception:
> {code:java}
> org.jboss.weld.exceptions.IllegalArgumentException: WELD-001456: Argument 
> bean must not be null{code}
> I have attached the full stack trace.
> Debugging leads me to CDIUtils#get, where the following statement returns an 
> empty set:
> {code:java}
> bm.getBeans(clazz); // clazz is ClientWindowScopeContextualStorageHolder{code}
> It doesn't happen on every deployment but too often to ignore. Do you have 
> any insight on this?
> It happens whether 
> _org.apache.myfaces.annotation.USE_CDI_FOR_ANNOTATION_SCANNING_ is _true_ or 
> _false_ (just a wild experiment) and the following in the web.xml (another 
> wild experiment):
> {code:java}
>     
>         Faces Servlet
>         jakarta.faces.webapp.FacesServlet
>         1
>     {code}
> Thank you very much in advance!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (MYFACES-4587) Intermittent deployment error on WildFly 27

2023-03-07 Thread Manuel K (Jira)


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

Manuel K commented on MYFACES-4587:
---

@[~melloware] Haha, maybe a bit ;). But I used the galleon cli, so I probably 
never would have found your pack. Always Google, duh!

@[~tandraschko] Yeah we're deploying an EAR. I'll check it out, thanks!

> Intermittent deployment error on WildFly 27
> ---
>
> Key: MYFACES-4587
> URL: https://issues.apache.org/jira/browse/MYFACES-4587
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.0
> Environment: Windows 10, WildFly 27.0.1
>Reporter: Manuel K
>Priority: Major
> Attachments: stacktrace.txt
>
>
> When deploying our JSF application using MyFaces on WildFly 27.0.1, we 
> intermittently get the following exception:
> {code:java}
> org.jboss.weld.exceptions.IllegalArgumentException: WELD-001456: Argument 
> bean must not be null{code}
> I have attached the full stack trace.
> Debugging leads me to CDIUtils#get, where the following statement returns an 
> empty set:
> {code:java}
> bm.getBeans(clazz); // clazz is ClientWindowScopeContextualStorageHolder{code}
> It doesn't happen on every deployment but too often to ignore. Do you have 
> any insight on this?
> It happens whether 
> _org.apache.myfaces.annotation.USE_CDI_FOR_ANNOTATION_SCANNING_ is _true_ or 
> _false_ (just a wild experiment) and the following in the web.xml (another 
> wild experiment):
> {code:java}
>     
>         Faces Servlet
>         jakarta.faces.webapp.FacesServlet
>         1
>     {code}
> Thank you very much in advance!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (MYFACES-4587) Intermittent deployment error on WildFly 27

2023-03-07 Thread Thomas Andraschko (Jira)


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

Thomas Andraschko commented on MYFACES-4587:


i checked Mojarra and they use JNDI first and then fallback to CDI.current

i will push this change to MyFaces too, can you try a snapshot?
Otherwise please debug our FacesInitializerImpl#initCDIIntegration vs Mojarra 
Util#getCdiBeanManager, if we receive a different BM

> Intermittent deployment error on WildFly 27
> ---
>
> Key: MYFACES-4587
> URL: https://issues.apache.org/jira/browse/MYFACES-4587
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.0
> Environment: Windows 10, WildFly 27.0.1
>Reporter: Manuel K
>Priority: Major
> Attachments: stacktrace.txt
>
>
> When deploying our JSF application using MyFaces on WildFly 27.0.1, we 
> intermittently get the following exception:
> {code:java}
> org.jboss.weld.exceptions.IllegalArgumentException: WELD-001456: Argument 
> bean must not be null{code}
> I have attached the full stack trace.
> Debugging leads me to CDIUtils#get, where the following statement returns an 
> empty set:
> {code:java}
> bm.getBeans(clazz); // clazz is ClientWindowScopeContextualStorageHolder{code}
> It doesn't happen on every deployment but too often to ignore. Do you have 
> any insight on this?
> It happens whether 
> _org.apache.myfaces.annotation.USE_CDI_FOR_ANNOTATION_SCANNING_ is _true_ or 
> _false_ (just a wild experiment) and the following in the web.xml (another 
> wild experiment):
> {code:java}
>     
>         Faces Servlet
>         jakarta.faces.webapp.FacesServlet
>         1
>     {code}
> Thank you very much in advance!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (MYFACES-4587) Intermittent deployment error on WildFly 27

2023-03-07 Thread Manuel K (Jira)


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

Manuel K commented on MYFACES-4587:
---

Yeah I can try a snapshot, sure! Thanks you so much!

> Intermittent deployment error on WildFly 27
> ---
>
> Key: MYFACES-4587
> URL: https://issues.apache.org/jira/browse/MYFACES-4587
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.0
> Environment: Windows 10, WildFly 27.0.1
>Reporter: Manuel K
>Priority: Major
> Attachments: stacktrace.txt
>
>
> When deploying our JSF application using MyFaces on WildFly 27.0.1, we 
> intermittently get the following exception:
> {code:java}
> org.jboss.weld.exceptions.IllegalArgumentException: WELD-001456: Argument 
> bean must not be null{code}
> I have attached the full stack trace.
> Debugging leads me to CDIUtils#get, where the following statement returns an 
> empty set:
> {code:java}
> bm.getBeans(clazz); // clazz is ClientWindowScopeContextualStorageHolder{code}
> It doesn't happen on every deployment but too often to ignore. Do you have 
> any insight on this?
> It happens whether 
> _org.apache.myfaces.annotation.USE_CDI_FOR_ANNOTATION_SCANNING_ is _true_ or 
> _false_ (just a wild experiment) and the following in the web.xml (another 
> wild experiment):
> {code:java}
>     
>         Faces Servlet
>         jakarta.faces.webapp.FacesServlet
>         1
>     {code}
> Thank you very much in advance!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (MYFACES-4587) Intermittent deployment error on WildFly 27

2023-03-07 Thread Melloware (Jira)


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

Melloware commented on MYFACES-4587:


Add this to your pom.xml
{code:java}
    
        
            apache.snapshots
            Apache Development Snapshot Repository
            
https://repository.apache.org/content/repositories/snapshots/
            
                false
            
            
                true
            
        
     {code}
And then use `4.0.1-SNAPSHOT` in your pom.xml

 

> Intermittent deployment error on WildFly 27
> ---
>
> Key: MYFACES-4587
> URL: https://issues.apache.org/jira/browse/MYFACES-4587
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.0
> Environment: Windows 10, WildFly 27.0.1
>Reporter: Manuel K
>Priority: Major
> Attachments: stacktrace.txt
>
>
> When deploying our JSF application using MyFaces on WildFly 27.0.1, we 
> intermittently get the following exception:
> {code:java}
> org.jboss.weld.exceptions.IllegalArgumentException: WELD-001456: Argument 
> bean must not be null{code}
> I have attached the full stack trace.
> Debugging leads me to CDIUtils#get, where the following statement returns an 
> empty set:
> {code:java}
> bm.getBeans(clazz); // clazz is ClientWindowScopeContextualStorageHolder{code}
> It doesn't happen on every deployment but too often to ignore. Do you have 
> any insight on this?
> It happens whether 
> _org.apache.myfaces.annotation.USE_CDI_FOR_ANNOTATION_SCANNING_ is _true_ or 
> _false_ (just a wild experiment) and the following in the web.xml (another 
> wild experiment):
> {code:java}
>     
>         Faces Servlet
>         jakarta.faces.webapp.FacesServlet
>         1
>     {code}
> Thank you very much in advance!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (MYFACES-4587) Intermittent deployment error on WildFly 27

2023-03-07 Thread Thomas Andraschko (Jira)


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

Thomas Andraschko commented on MYFACES-4587:


I just pushed 10 mins ago, not sure If already deployed
Better build it

> Intermittent deployment error on WildFly 27
> ---
>
> Key: MYFACES-4587
> URL: https://issues.apache.org/jira/browse/MYFACES-4587
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.0
> Environment: Windows 10, WildFly 27.0.1
>Reporter: Manuel K
>Priority: Major
> Attachments: stacktrace.txt
>
>
> When deploying our JSF application using MyFaces on WildFly 27.0.1, we 
> intermittently get the following exception:
> {code:java}
> org.jboss.weld.exceptions.IllegalArgumentException: WELD-001456: Argument 
> bean must not be null{code}
> I have attached the full stack trace.
> Debugging leads me to CDIUtils#get, where the following statement returns an 
> empty set:
> {code:java}
> bm.getBeans(clazz); // clazz is ClientWindowScopeContextualStorageHolder{code}
> It doesn't happen on every deployment but too often to ignore. Do you have 
> any insight on this?
> It happens whether 
> _org.apache.myfaces.annotation.USE_CDI_FOR_ANNOTATION_SCANNING_ is _true_ or 
> _false_ (just a wild experiment) and the following in the web.xml (another 
> wild experiment):
> {code:java}
>     
>         Faces Servlet
>         jakarta.faces.webapp.FacesServlet
>         1
>     {code}
> Thank you very much in advance!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (MYFACES-4587) Intermittent deployment error on WildFly 27

2023-03-07 Thread Manuel K (Jira)


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

Manuel K commented on MYFACES-4587:
---

So I've redeployed 10 times now using the 4.0.1-SNAPSHOT and the problem has 
not reappeared so far. Either I'm incredibly lucky or you managed to find the 
solution! I'll keep an eye on it.

Thank you very much, you guys are awesome!

> Intermittent deployment error on WildFly 27
> ---
>
> Key: MYFACES-4587
> URL: https://issues.apache.org/jira/browse/MYFACES-4587
> Project: MyFaces Core
>  Issue Type: Bug
>  Components: General
>Affects Versions: 4.0.0
> Environment: Windows 10, WildFly 27.0.1
>Reporter: Manuel K
>Priority: Major
> Attachments: stacktrace.txt
>
>
> When deploying our JSF application using MyFaces on WildFly 27.0.1, we 
> intermittently get the following exception:
> {code:java}
> org.jboss.weld.exceptions.IllegalArgumentException: WELD-001456: Argument 
> bean must not be null{code}
> I have attached the full stack trace.
> Debugging leads me to CDIUtils#get, where the following statement returns an 
> empty set:
> {code:java}
> bm.getBeans(clazz); // clazz is ClientWindowScopeContextualStorageHolder{code}
> It doesn't happen on every deployment but too often to ignore. Do you have 
> any insight on this?
> It happens whether 
> _org.apache.myfaces.annotation.USE_CDI_FOR_ANNOTATION_SCANNING_ is _true_ or 
> _false_ (just a wild experiment) and the following in the web.xml (another 
> wild experiment):
> {code:java}
>     
>         Faces Servlet
>         jakarta.faces.webapp.FacesServlet
>         1
>     {code}
> Thank you very much in advance!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)