java.lang.ArrayIndexOutOfBoundsException: 1

Jenkins JIRA | Alvaro Lobato | 9 months ago
  1. 0

    ArrayIndexOutOfBoundsException is thrown building node selector map when the node selector field is empty on the advanced configuration configuration: {code} Mar 18, 2016 10:54:48 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud$ProvisioningCallback call SEVERE: Error in provisioning; slave=KubernetesSlave name: , template=org.csanchez.jenkins.plugins.kubernetes.PodTemplate@7fe4ab15 java.lang.ArrayIndexOutOfBoundsException: 1 at org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud.getNodeSelectorMap(KubernetesCloud.java:284) at org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud.getPodTemplate(KubernetesCloud.java:266) at org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud.access$100(KubernetesCloud.java:60) at org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud$ProvisioningCallback.call(KubernetesCloud.java:352) at org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud$ProvisioningCallback.call(KubernetesCloud.java:334) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {code} Tested with last codebase from master. I think it was introduced on this commit: https://github.com/jenkinsci/kubernetes-plugin/commit/ca7653756aa6889ea3a069f6171fa698f569755a I'll submit a PR with a fix.

    Jenkins JIRA | 9 months ago | Alvaro Lobato
    java.lang.ArrayIndexOutOfBoundsException: 1
  2. 0

    ArrayIndexOutOfBoundsException is thrown building node selector map when the node selector field is empty on the advanced configuration configuration: {code} Mar 18, 2016 10:54:48 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud$ProvisioningCallback call SEVERE: Error in provisioning; slave=KubernetesSlave name: , template=org.csanchez.jenkins.plugins.kubernetes.PodTemplate@7fe4ab15 java.lang.ArrayIndexOutOfBoundsException: 1 at org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud.getNodeSelectorMap(KubernetesCloud.java:284) at org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud.getPodTemplate(KubernetesCloud.java:266) at org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud.access$100(KubernetesCloud.java:60) at org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud$ProvisioningCallback.call(KubernetesCloud.java:352) at org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud$ProvisioningCallback.call(KubernetesCloud.java:334) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {code} Tested with last codebase from master. I think it was introduced on this commit: https://github.com/jenkinsci/kubernetes-plugin/commit/ca7653756aa6889ea3a069f6171fa698f569755a I'll submit a PR with a fix.

    Jenkins JIRA | 9 months ago | Alvaro Lobato
    java.lang.ArrayIndexOutOfBoundsException: 1
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    ArrayIndexOutOfBounds When Splitting String

    Stack Overflow | 4 years ago | n0shadow
    java.lang.ArrayIndexOutOfBoundsException: 1
  5. 0

    ArrayIndexOutOfBoundsException occurring when program running

    Stack Overflow | 4 years ago | dharma
    java.lang.ArrayIndexOutOfBoundsException: 1

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      1

      at org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud.getNodeSelectorMap()
    2. org.csanchez.jenkins
      KubernetesCloud$ProvisioningCallback.call
      1. org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud.getNodeSelectorMap(KubernetesCloud.java:284)
      2. org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud.getPodTemplate(KubernetesCloud.java:266)
      3. org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud.access$100(KubernetesCloud.java:60)
      4. org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud$ProvisioningCallback.call(KubernetesCloud.java:352)
      5. org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud$ProvisioningCallback.call(KubernetesCloud.java:334)
      5 frames
    3. jenkins.util
      ContextResettingExecutorService$2.call
      1. jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
      1 frame
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames