java.lang.ArrayIndexOutOfBoundsException: 2

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Jenkins JIRA by kavan puranik, 1 year ago
2
via Jenkins JIRA by kavan puranik, 1 year ago
2
java.lang.ArrayIndexOutOfBoundsException: 2
at jenkins.plugins.nodejs.tools.NodeJSVersion.(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 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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.