Aurélien Pupier created CAMEL-24480:
---------------------------------------

             Summary: CliConfigITCase.setLocalMavenRepoTest is broken on 4.18.x
                 Key: CAMEL-24480
                 URL: https://issues.apache.org/jira/browse/CAMEL-24480
             Project: Camel
          Issue Type: Test
          Components: camel-jbang
    Affects Versions: 4.18.4
            Reporter: Aurélien Pupier


{noformat}
[ERROR] 
org.apache.camel.test.infra.cli.it.CliConfigITCase.setLocalMavenRepoTest -- 
Time elapsed: 18.45 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
{noformat}

https://ci-builds.apache.org/job/Camel/job/Camel%20Jbang%20IT%20Tests/job/camel-4.18.x/72/cloudbees-pipeline-explorer/



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

Reply via email to