javax.servlet.ServletException: java.lang.ArrayIndexOutOfBoundsException: 1

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

Solutions on the web

via Jenkins JIRA by imran shaik, 1 year ago
java.lang.ArrayIndexOutOfBoundsException: 1
via Jenkins JIRA by Abhimanyu Singh, 1 year ago
java.lang.IllegalArgumentException: Failed to instantiate class hudson.scm.SCM from {"value":"1","stapler-class":"com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelineSCM","$class":"com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelineSCM
via Jenkins JIRA by Abhimanyu Singh, 1 year ago
java.lang.IllegalArgumentException: Failed to instantiate class hudson.scm.SCM from {"value":"1","stapler-class":"com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelineSCM","$class":"com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelineSCM
via Jenkins JIRA by Mark M, 1 year ago
java.lang.IllegalArgumentException: Failed to instantiate class hudson.scm.SCM from {"value":"1","stapler-class":"com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelineSCM","$class":"com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelineSCM
via Google Groups by ma...@offtherecord.com (JIRA), 11 months ago
java.lang.IllegalArgumentException: Failed to instantiate class hudson.scm.SCM from {"value":"1","stapler-class":"com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelineSCM","$class":"com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelineSCM
javax.servlet.ServletException: java.lang.ArrayIndexOutOfBoundsException: 1
at org.kohsuke.github.GitHub.getRepository(GitHub.java:338)
at org.jenkinsci.plugins.ghprb.GhprbRepository.initGhRepository(GhprbRepository.java:112)
at org.jenkinsci.plugins.ghprb.GhprbRepository.getGitHubRepo(GhprbRepository.java:399)
at org.jenkinsci.plugins.ghprb.GhprbRepository.hookExist(GhprbRepository.java:269)
at org.jenkinsci.plugins.ghprb.GhprbRepository.createHook(GhprbRepository.java:289)
at org.jenkinsci.plugins.ghprb.GhprbTrigger.start(GhprbTrigger.java:257)
at org.jenkinsci.plugins.ghprb.GhprbTrigger.start(GhprbTrigger.java:66)
at hudson.model.AbstractProject.submit(AbstractProject.java:1876)
at hudson.model.Project.submit(Project.java:230)
at hudson.model.Job.doConfigSubmit(Job.java:1218)
at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:796)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:324)
at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:52)
at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:167)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:100)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:124)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:233)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:553)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
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)

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.

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