[JIRA] (JENKINS-52669) IndexOutOfBoundsException after upgrade to 1.2.3

2019-06-06 Thread justin.mcmil...@verscend.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Justin M commented on  JENKINS-52669  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: IndexOutOfBoundsException after upgrade to 1.2.3   
 

  
 
 
 
 

 
 Just installed and tested with version 1.2.6 and can confirm that it's working to resolve my artifact. Thanks, Jae.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.192545.1532070393000.22631.1559824500297%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-52669) IndexOutOfBoundsException after upgrade to 1.2.3

2019-02-21 Thread justin.mcmil...@verscend.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Justin M commented on  JENKINS-52669  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: IndexOutOfBoundsException after upgrade to 1.2.3   
 

  
 
 
 
 

 
 Yes to both questions – I have found a workaround in that for this specific artifact I can simply use Powershell or wget to pull it down. Not ideal, but it will get the job done.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-52669) IndexOutOfBoundsException after upgrade to 1.2.3

2019-02-12 Thread justin.mcmil...@verscend.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Justin M edited a comment on  JENKINS-52669  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: IndexOutOfBoundsException after upgrade to 1.2.3   
 

  
 
 
 
 

 
 I am running into this in a scripted pipeline trying to resolve just one of my artifacts – I have 4 WAR files I am trying to download and deploy, all in the same Nexus repository and same group ID and version. 3 of them can be resolved just fine, but for whatever reason, the 4th one gets this same error, and it's really frustrating that it works for all but one of the applications. I am encountering this on both 1.2.3 and 1.2.4. I tried rolling all the way back to version 1.1.3, but that version does not offer pipeline support, which I need for what I'm trying to accomplish. I am calling the step like so: {code:java} artifactResolver artifacts: [artifact(artifactId: "single-sign-on", extension: "war", groupId: "com.foo.bar", targetFileName: "sso.war", version: "15.0.0-SNAPSHOT")], releaseUpdatePolicy: 'always', snapshotUpdatePolicy: 'always', targetDirectory: '.' {code}    And receiving the following stacktrace: {code:java} failed to expand tokens for [Artifact com.foo.bar:single-sign-on:war::15.0.0-SNAPSHOT]java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at org.jvnet.hudson.plugins.repositoryconnector.aether.ReleasedVersionRangeResolver.getLatest(ReleasedVersionRangeResolver.java:181) at org.jvnet.hudson.plugins.repositoryconnector.aether.ReleasedVersionRangeResolver.resolveVersionRange(ReleasedVersionRangeResolver.java:134) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:370) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:544) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:544) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:240) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:308) at org.jvnet.hudson.plugins.repositoryconnector.aether.Aether.resolve(Aether.java:221) at org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver.download(ArtifactResolver.java:217) at org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver.perform(ArtifactResolver.java:154) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:80) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:67) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:51) at hudson.security.ACL.impersonate(ACL.java:290) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:48) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) {code}  
 

  
 
 
 
 

 
 
 

[JIRA] (JENKINS-52669) IndexOutOfBoundsException after upgrade to 1.2.3

2019-02-12 Thread justin.mcmil...@verscend.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Justin M commented on  JENKINS-52669  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: IndexOutOfBoundsException after upgrade to 1.2.3   
 

  
 
 
 
 

 
 I am running into this in a scripted pipeline trying to resolve just one of my artifacts – I have 4 WAR files I am trying to download and deploy, all in the same Nexus repository and same group ID and version. 3 of them can be resolved just fine, but for whatever reason, the 4th one gets this same error, and it's really frustrating that it works for all but one of the applications.   I am encountering this on both 1.2.3 and 1.2.4. I tried rolling all the way back to version 1.1.3, but that version does not offer pipeline support, which I need for what I'm trying to accomplish. I am calling the step like so: artifactResolver artifacts: [artifact(artifactId: "single-sign-on", extension: "war", groupId: "com.foo.bar", targetFileName: "sso.war", version: "15.0.0-SNAPSHOT")], releaseUpdatePolicy: 'always', snapshotUpdatePolicy: 'always', targetDirectory: '.'   And receiving the following stacktrace: failed to expand tokens for [Artifact com.foo.bar:single-sign-on:war::15.0.0-SNAPSHOT] java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at org.jvnet.hudson.plugins.repositoryconnector.aether.ReleasedVersionRangeResolver.getLatest(ReleasedVersionRangeResolver.java:181) at org.jvnet.hudson.plugins.repositoryconnector.aether.ReleasedVersionRangeResolver.resolveVersionRange(ReleasedVersionRangeResolver.java:134) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:370) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:544) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:544) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:240) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:308) at org.jvnet.hudson.plugins.repositoryconnector.aether.Aether.resolve(Aether.java:221) at org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver.download(ArtifactResolver.java:217) at org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver.perform(ArtifactResolver.java:154) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:80) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:67) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:51) at hudson.security.ACL.impersonate(ACL.java:290) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:48) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)