java.lang.ArrayIndexOutOfBoundsException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)
    via by kavan puranik,
  • 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)
    via by kavan puranik,
    • 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)
    No Bugmate found.