Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68101

Artifactory.mavenDescriptor is failing to read when we have multiple folders with multiple poms

XMLWordPrintable

      The Artifactory.mavenDescriptor is started failing to read the pom when I have submodule way of projects with multiple folders and multiple poms with below exception.

       
      ERROR: Something went wrong: java.io.IOException: Remote call on JNLP4-connect connection from 10.207.212.205/10.207.212.205:47530 failed

      16:54:01 java.lang.StackOverflowError 16:54:01 at java.base/java.nio.charset.CharsetDecoder.decode(Unknown Source) 16:54:01 at java.base/sun.nio.cs.StreamDecoder.implRead(Unknown Source) 16:54:01 at java.base/sun.nio.cs.StreamDecoder.read(Unknown Source) 16:54:01 at java.base/java.io.InputStreamReader.read(Unknown Source) 16:54:01 at java.base/java.io.BufferedReader.read1(Unknown Source) 16:54:01 at java.base/java.io.BufferedReader.read(Unknown Source) 16:54:01 at org.codehaus.plexus.util.xml.pull.MXParser.fillBuf(MXParser.java:3797) 16:54:01 at org.codehaus.plexus.util.xml.pull.MXParser.more(MXParser.java:3893) 16:54:01 at org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1774) 16:54:01 at org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1757) 16:54:01 at org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1375)

      16:54:01 at java.base/java.lang.Thread.run(Unknown Source) 16:54:01 Caused: java.io.IOException: Remote call on JNLP4-connect connection from 10.207.212.205/10.207.212.205:47530 failed 16:54:01 at hudson.remoting.Channel.call(Channel.java:1004) 16:54:01 at org.jfrog.hudson.pipeline.scripted.steps.MavenDescriptorStep$Execution.runStep(MavenDescriptorStep.java:89) 16:54:01 at org.jfrog.hudson.pipeline.scripted.steps.MavenDescriptorStep$Execution.runStep(MavenDescriptorStep.java:66) 16:54:01 at org.jfrog.hudson.pipeline.ArtifactorySynchronousStepExecution.run(ArtifactorySynchronousStepExecution.java:54) 16:54:01 at org.jenkinsci.plugins.workflow.steps.SynchronousStepExecution.start(SynchronousStepExecution.java:37) 16:54:01 at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:319) 16:54:01 at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:193) 16:54:01 at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:122) 16:54:01 at org.jfrog.hudson.pipeline.common.types.MavenDescriptor.transform(MavenDescriptor.java:72) 16:54:01 at jdk.internal.reflect.GeneratedMethodAccessor5734.invoke(Unknown Source) 16:54:01 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 16:54:01 at java.base/java.lang.reflect.Method.invoke(Unknown Source) 16:54:01 at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98) 16:54:01 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) 16:54:01 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225) 16:54:01 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034) 16:54:01 at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46) 16:54:01 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47) 16:54:01 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) 16:54:01 at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:20) 16:54:01 at maven.setVersionOnPom(maven.groovy:155)

      I see the latest changes around that causing the issue , can you kindly able to help at the earliest.

       

      Attaching the project folder structure for reference and whic*h is *perfectly working with 3.15.4 version of artifactory plugin but failing with 2.16.0/2.16.1 

            eyalbe Eyal Ben Moshe
            swamygoud18 Swamy
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: