Melloware created MYFACES-4735:
----------------------------------

             Summary: Quarkus NPE on WebParams
                 Key: MYFACES-4735
                 URL: https://issues.apache.org/jira/browse/MYFACES-4735
             Project: MyFaces Core
          Issue Type: Bug
          Components: Extension Feature
    Affects Versions: 4.1.2
            Reporter: Melloware


Getting this with 4.1.2.  I will submit a fix

{code:java}
uild step 
org.apache.myfaces.core.extensions.quarkus.deployment.MyFacesProcessor#buildServlet
 threw an exception: java.lang.NullPointerException: Cannot invoke 
"java.util.List.stream()" because the return value of 
"org.jboss.metadata.web.spec.WebMetaData.getContextParams()" is null
        at 
org.apache.myfaces.core.extensions.quarkus.deployment.MyFacesProcessor.buildServlet(MyFacesProcessor.java:241)
        at 
java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:733)
        at 
io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)
        at io.quarkus.builder.BuildContext.run(BuildContext.java:256)
        at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
        at 
org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2516)
        at 
org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2495)
        at 
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1521)
        at java.base/java.lang.Thread.run(Thread.java:1583)
        at org.jboss.threads.JBossThread.run(JBossThread.java:483)

        at 
io.quarkus.runner.bootstrap.AugmentActionImpl.runAugment(AugmentActionImpl.java:354)
        at 
io.quarkus.runner.bootstrap.AugmentActionImpl.createInitialRuntimeApplication(AugmentActionImpl.java:272)
        at 
io.quarkus.runner.bootstrap.AugmentActionImpl.createInitialRuntimeApplication(AugmentActionImpl.java:62)
        at 
io.quarkus.deployment.dev.IsolatedDevModeMain.firstStart(IsolatedDevModeMain.java:91)
        at 
io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:430)
        at 
io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:57)
        at 
io.quarkus.bootstrap.app.CuratedApplication.runInCl(CuratedApplication.java:138)
        at 
io.quarkus.bootstrap.app.CuratedApplication.runInAugmentClassLoader(CuratedApplication.java:93)
        at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:131)
        at 
io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
{code}




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

Reply via email to