java.lang.ArrayIndexOutOfBoundsException: 2

Jenkins JIRA | kavan puranik | 1 year ago
  1. 0

    Jenkins is blowing up on all our node.js based builds this morning. They were working fine yesterday. We are using version org.jenkins-ci.plugins:nodejs:0.2.1 Stack Trace: FATAL: 2 java.lang.ArrayIndexOutOfBoundsException: 2 at jenkins.plugins.nodejs.tools.NodeJSVersion.<init>(NodeJSVersion.java:15) at jenkins.plugins.nodejs.tools.InstallerPathResolver$Factory.isVersionBlacklisted(InstallerPathResolver.java:23) at jenkins.plugins.nodejs.tools.NodeJSInstaller$DescriptorImpl$1.apply(NodeJSInstaller.java:370) at jenkins.plugins.nodejs.tools.NodeJSInstaller$DescriptorImpl$1.apply(NodeJSInstaller.java:368) at com.google.common.collect.Iterators$7.computeNext(Iterators.java:649) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at com.google.common.collect.Iterators.size(Iterators.java:151) at com.google.common.collect.Collections2$FilteredCollection.size(Collections2.java:222) at java.util.TreeSet.addAll(TreeSet.java:300) at jenkins.plugins.nodejs.tools.NodeJSInstaller$DescriptorImpl.getInstallables(NodeJSInstaller.java:378) at hudson.tools.DownloadFromUrlInstaller.getInstallable(DownloadFromUrlInstaller.java:52) at jenkins.plugins.nodejs.tools.NodeJSInstaller.performInstallation(NodeJSInstaller.java:119) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:204) at jenkins.plugins.nodejs.tools.NodeJSInstallation.forNode(NodeJSInstallation.java:60) at jenkins.plugins.nodejs.tools.NpmPackagesBuildWrapper$2.launch(NpmPackagesBuildWrapper.java:68) at hudson.Launcher$ProcStarter.start(Launcher.java:353) at hudson.Launcher$ProcStarter.join(Launcher.java:360) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:94) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:63) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:781) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246)

    Jenkins JIRA | 1 year ago | kavan puranik
    java.lang.ArrayIndexOutOfBoundsException: 2
  2. 0

    Jenkins is blowing up on all our node.js based builds this morning. They were working fine yesterday. We are using version org.jenkins-ci.plugins:nodejs:0.2.1 Stack Trace: FATAL: 2 java.lang.ArrayIndexOutOfBoundsException: 2 at jenkins.plugins.nodejs.tools.NodeJSVersion.<init>(NodeJSVersion.java:15) at jenkins.plugins.nodejs.tools.InstallerPathResolver$Factory.isVersionBlacklisted(InstallerPathResolver.java:23) at jenkins.plugins.nodejs.tools.NodeJSInstaller$DescriptorImpl$1.apply(NodeJSInstaller.java:370) at jenkins.plugins.nodejs.tools.NodeJSInstaller$DescriptorImpl$1.apply(NodeJSInstaller.java:368) at com.google.common.collect.Iterators$7.computeNext(Iterators.java:649) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at com.google.common.collect.Iterators.size(Iterators.java:151) at com.google.common.collect.Collections2$FilteredCollection.size(Collections2.java:222) at java.util.TreeSet.addAll(TreeSet.java:300) at jenkins.plugins.nodejs.tools.NodeJSInstaller$DescriptorImpl.getInstallables(NodeJSInstaller.java:378) at hudson.tools.DownloadFromUrlInstaller.getInstallable(DownloadFromUrlInstaller.java:52) at jenkins.plugins.nodejs.tools.NodeJSInstaller.performInstallation(NodeJSInstaller.java:119) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:204) at jenkins.plugins.nodejs.tools.NodeJSInstallation.forNode(NodeJSInstallation.java:60) at jenkins.plugins.nodejs.tools.NpmPackagesBuildWrapper$2.launch(NpmPackagesBuildWrapper.java:68) at hudson.Launcher$ProcStarter.start(Launcher.java:353) at hudson.Launcher$ProcStarter.join(Launcher.java:360) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:94) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:63) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:781) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246)

    Jenkins JIRA | 1 year ago | kavan puranik
    java.lang.ArrayIndexOutOfBoundsException: 2
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Error handling when reading from txt file

    Stack Overflow | 4 weeks ago | Buupu
    java.lang.ArrayIndexOutOfBoundsException: 2
  5. 0

    migrating jsf1.1 to jsf1.1_02

    Oracle Community | 8 years ago | 843844
    java.lang.ArrayIndexOutOfBoundsException: 2

    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

      2

      at jenkins.plugins.nodejs.tools.NodeJSVersion.<init>()
    2. jenkins.plugins.nodejs
      NodeJSInstaller$DescriptorImpl$1.apply
      1. jenkins.plugins.nodejs.tools.NodeJSVersion.<init>(NodeJSVersion.java:15)
      2. jenkins.plugins.nodejs.tools.InstallerPathResolver$Factory.isVersionBlacklisted(InstallerPathResolver.java:23)
      3. jenkins.plugins.nodejs.tools.NodeJSInstaller$DescriptorImpl$1.apply(NodeJSInstaller.java:370)
      4. jenkins.plugins.nodejs.tools.NodeJSInstaller$DescriptorImpl$1.apply(NodeJSInstaller.java:368)
      4 frames
    3. Guava
      Collections2$FilteredCollection.size
      1. com.google.common.collect.Iterators$7.computeNext(Iterators.java:649)
      2. com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
      3. com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
      4. com.google.common.collect.Iterators.size(Iterators.java:151)
      5. com.google.common.collect.Collections2$FilteredCollection.size(Collections2.java:222)
      5 frames
    4. Java RT
      TreeSet.addAll
      1. java.util.TreeSet.addAll(TreeSet.java:300)
      1 frame
    5. jenkins.plugins.nodejs
      NodeJSInstaller$DescriptorImpl.getInstallables
      1. jenkins.plugins.nodejs.tools.NodeJSInstaller$DescriptorImpl.getInstallables(NodeJSInstaller.java:378)
      1 frame
    6. Hudson
      DownloadFromUrlInstaller.getInstallable
      1. hudson.tools.DownloadFromUrlInstaller.getInstallable(DownloadFromUrlInstaller.java:52)
      1 frame
    7. jenkins.plugins.nodejs
      NodeJSInstaller.performInstallation
      1. jenkins.plugins.nodejs.tools.NodeJSInstaller.performInstallation(NodeJSInstaller.java:119)
      1 frame
    8. Hudson
      ToolInstallation.translateFor
      1. hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)
      2. hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
      3. hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:204)
      3 frames
    9. jenkins.plugins.nodejs
      NpmPackagesBuildWrapper$2.launch
      1. jenkins.plugins.nodejs.tools.NodeJSInstallation.forNode(NodeJSInstallation.java:60)
      2. jenkins.plugins.nodejs.tools.NpmPackagesBuildWrapper$2.launch(NpmPackagesBuildWrapper.java:68)
      2 frames
    10. Hudson
      Executor.run
      1. hudson.Launcher$ProcStarter.start(Launcher.java:353)
      2. hudson.Launcher$ProcStarter.join(Launcher.java:360)
      3. hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:94)
      4. hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:63)
      5. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      6. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:781)
      7. hudson.model.Build$BuildExecution.build(Build.java:199)
      8. hudson.model.Build$BuildExecution.doRun(Build.java:160)
      9. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562)
      10. hudson.model.Run.execute(Run.java:1665)
      11. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      12. hudson.model.ResourceController.execute(ResourceController.java:88)
      13. hudson.model.Executor.run(Executor.java:246)
      13 frames