jamesnetherton opened a new issue, #7216:
URL: https://github.com/apache/camel-quarkus/issues/7216

   ### Bug description
   
   I have no idea why this is happening only for the FTP tests.
   
   There is a NullPointerException being thrown when trying to resolve Camel 
services. The strange thing is, I only see this on GitHub CI, it's not 
happening locally.
   
   ```
   java.lang.RuntimeException: io.quarkus.builder.BuildException: Build 
failure: Build failed due to errors
        [error]: Build step 
org.apache.camel.quarkus.core.deployment.CamelProcessor#componentNameResolver 
threw an exception: java.lang.NullPointerException
        at java.base/java.util.Objects.requireNonNull(Objects.java:209)
        at 
java.base/java.util.ImmutableCollections$List12.<init>(ImmutableCollections.java:556)
        at java.base/java.util.List.of(List.java:812)
        at 
io.quarkus.paths.OpenContainerPathTree.getRoots(OpenContainerPathTree.java:96)
        at 
io.quarkus.paths.SharedArchivePathTree$CallerOpenPathTree.getRoots(SharedArchivePathTree.java:152)
        at 
io.quarkus.deployment.ApplicationArchiveImpl.getRootDirectories(ApplicationArchiveImpl.java:51)
        at 
org.apache.camel.quarkus.core.deployment.util.CamelSupport.services(CamelSupport.java:65)
        at 
org.apache.camel.quarkus.core.deployment.CamelProcessor.componentNameResolver(CamelProcessor.java:427)
        at 
java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
        at 
io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)
        at io.quarkus.builder.BuildContext.run(BuildContext.java:255)
        at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
        at 
org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)
        at 
org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2654)
        at 
org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)
        at 
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)
        at java.base/java.lang.Thread.run(Thread.java:840)
        at org.jboss.threads.JBossThread.run(JBossThread.java:499)
   ```
   
   And:
   
   ```
   [error]: Build step 
org.apache.camel.quarkus.core.deployment.CamelProcessor#camelServices threw an 
exception: java.lang.NullPointerException
       at java.base/java.util.Objects.requireNonNull(Objects.java:209)
       at 
java.base/java.util.ImmutableCollections$List12.<init>(ImmutableCollections.java:556)
       at java.base/java.util.List.of(List.java:812)
       at 
io.quarkus.paths.OpenContainerPathTree.getRoots(OpenContainerPathTree.java:96)
       at 
io.quarkus.paths.SharedArchivePathTree$CallerOpenPathTree.getRoots(SharedArchivePathTree.java:152)
       at 
io.quarkus.deployment.ApplicationArchiveImpl.getRootDirectories(ApplicationArchiveImpl.java:51)
       at 
org.apache.camel.quarkus.core.deployment.util.CamelSupport.services(CamelSupport.java:65)
       at 
org.apache.camel.quarkus.core.deployment.CamelProcessor.camelServices(CamelProcessor.java:237)
       at 
java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
       at 
io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)
       at io.quarkus.builder.BuildContext.run(BuildContext.java:255)
       at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
       at 
org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)
       at 
org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2654)
       at 
org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)
       at 
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)
       at java.base/java.lang.Thread.run(Thread.java:840)
       at org.jboss.threads.JBossThread.run(JBossThread.java:499)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to