apupier commented on PR #26091:
URL: https://github.com/apache/camel/pull/26091#issuecomment-5526541757

   several camel jbang IT tests on 4.18.x are currently failing with this kind 
of error:
   
   ```
   [ERROR] 
org.apache.camel.test.infra.cli.it.CliConfigITCase.setLocalMavenRepoTest -- 
Time elapsed: 16.90 s <<< ERROR!
        
   java.lang.RuntimeException: java.lang.NullPointerException: Cannot invoke 
"String.trim()" because the return value of 
"org.apache.camel.util.StringHelper.between(String, String, String)" is null
        
        at 
org.apache.camel.test.infra.cli.it.AbstractTestSupport.execute(AbstractTestSupport.java:31)
        
        at 
org.apache.camel.test.infra.cli.it.CliConfigITCase.setLocalMavenRepoTest(CliConfigITCase.java:88)
        
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
        
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
        
   Caused by: java.lang.NullPointerException: Cannot invoke "String.trim()" 
because the return value of "org.apache.camel.util.StringHelper.between(String, 
String, String)" is null
        
        at 
org.apache.camel.test.infra.cli.services.CliLocalContainerService.lambda$version$0(CliLocalContainerService.java:224)
        
        at java.base/java.util.Optional.orElseGet(Optional.java:364)
        
        at 
org.apache.camel.test.infra.cli.services.CliLocalContainerService.version(CliLocalContainerService.java:218)
        
        at 
org.apache.camel.test.infra.cli.services.CliLocalContainerService.initialize(CliLocalContainerService.java:93)
        
        at 
org.apache.camel.test.infra.common.services.TestServiceUtil.tryInitialize(TestServiceUtil.java:43)
        
        at 
org.apache.camel.test.infra.common.services.TestService.beforeAll(TestService.java:28)
        
        at 
org.apache.camel.test.infra.cli.it.AbstractTestSupport.execute(AbstractTestSupport.java:28)
        
        ... 4 more
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to