javax.servlet.ServletException: java.lang.StringIndexOutOfBoundsException: String index out of range: 1155

Jenkins JIRA | Joshua Hoblitt | 8 months ago
  1. 0

    [JIRA] [core] (JENKINS-33961) java.lang.ClassCastException in parameterized jobs

    Google Groups | 8 months ago | alex...@gmail.com (JIRA)
    javax.servlet.ServletException: java.lang.ClassCastException: net.sf.json.JSONNull cannot be <span class="code-keyword" style="color: #000091">cast</span> to net.sf.json.JSONObject
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    [JIRA] [kubernetes-plugin] (JENKINS-34067) exception from "Test Connection" button

    Google Groups | 8 months ago | jo...@hoblitt.com (JIRA)
    javax.servlet.ServletException: java.lang.StringIndexOutOfBoundsException: <span class="code-object" style="color: #910091">String</span> index out of range: 1155
  4. 0

    h5. Steps to reproduce the bug # A fresh installation of Jenkins # Create a new job (for example a freestyle project) # Check the option *This build is parameterized* but we don't set any parameter # Save the job # Build the job We get this: {code:java} javax.servlet.ServletException: java.lang.ClassCastException: net.sf.json.JSONNull cannot be cast to net.sf.json.JSONObject at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796) 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 org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:86) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) {code}

    Jenkins JIRA | 8 months ago | Alejandro Ruiz
    javax.servlet.ServletException: java.lang.ClassCastException: net.sf.json.JSONNull cannot be cast to net.sf.json.JSONObject

    7 unregistered visitors
    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. javax.servlet.ServletException

      java.lang.StringIndexOutOfBoundsException: String index out of range: 1155

      at org.kohsuke.stapler.Stapler.tryInvoke()
    2. Stapler
      Stapler.service
      1. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)
      2. org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      3. org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:233)
      4. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
      5. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      6. org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      7. org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
      8. org.kohsuke.stapler.Stapler.service(Stapler.java:238)
      8 frames