Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-6358

Eror 500 while displaying live console

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • other
    • None
    • Hudson 1.355 on tomcat 6.0.24

      I wanted to follow the execution of a maven build (a little bit long due to a workspace cleanup) and received each time a 500 error while I tried to display its console :

      Console Output
      
      View as plain text Skipping 647 KB.. Full Log
       
      HTTP Status 500 - 
      
      type Exception report
      
      message 
      
      description The server encountered an internal error () that prevented it from fulfilling this request.
      
      exception 
      
      javax.servlet.ServletException: java.lang.StringIndexOutOfBoundsException: String index out of range: 165
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:554)
      	org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:145)
      	org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:519)
      	org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:319)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:519)
      	org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:181)
      	org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:519)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:435)
      	org.kohsuke.stapler.Stapler.service(Stapler.java:123)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
      	hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:51)
      	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
      	hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:64)
      	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
      	hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
      	hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:78)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      	hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	hudson.security.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:113)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      	hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      root cause 
      
      java.lang.StringIndexOutOfBoundsException: String index out of range: 165
      	java.lang.String.substring(String.java:1934)
      	hudson.MarkupText$SubText.getText(MarkupText.java:106)
      	hudson.console.UrlAnnotator$UrlConsoleAnnotator.annotate(UrlAnnotator.java:30)
      	hudson.console.ConsoleAnnotationOutputStream.eol(ConsoleAnnotationOutputStream.java:145)
      	hudson.console.LineTransformationOutputStream.eol(LineTransformationOutputStream.java:60)
      	hudson.console.LineTransformationOutputStream.write(LineTransformationOutputStream.java:56)
      	hudson.console.LineTransformationOutputStream.write(LineTransformationOutputStream.java:74)
      	org.apache.commons.io.output.ProxyOutputStream.write(ProxyOutputStream.java:70)
      	org.apache.commons.io.output.CountingOutputStream.write(CountingOutputStream.java:71)
      	org.kohsuke.stapler.framework.io.LargeText$HeadMark.moveTo(LargeText.java:237)
      	org.kohsuke.stapler.framework.io.LargeText.writeLogTo(LargeText.java:152)
      	hudson.console.AnnotatedLargeText.writeHtmlTo(AnnotatedLargeText.java:150)
      	hudson.console.AnnotatedLargeText.writeLogTo(AnnotatedLargeText.java:142)
      	org.kohsuke.stapler.framework.io.LargeText.doProgressText(LargeText.java:187)
      	hudson.console.AnnotatedLargeText.doProgressiveHtml(AnnotatedLargeText.java:92)
      	sun.reflect.GeneratedMethodAccessor457.invoke(Unknown Source)
      	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	java.lang.reflect.Method.invoke(Method.java:597)
      	org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:169)
      	org.kohsuke.stapler.Function.bindAndInvoke(Function.java:101)
      	org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:54)
      	org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75)
      	org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:519)
      	org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:145)
      	org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:519)
      	org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:319)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:519)
      	org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:181)
      	org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:519)
      	org.kohsuke.stapler.Stapler.invoke(Stapler.java:435)
      	org.kohsuke.stapler.Stapler.service(Stapler.java:123)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
      	hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:51)
      	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
      	hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:64)
      	hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
      	hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
      	hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:78)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      	hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	hudson.security.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:113)
      	hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      	hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      note The full stack trace of the root cause is available in the Apache Tomcat/6.0.24 logs.
      
      Apache Tomcat/6.0.24
      

      The full log (raw) is available.
      It was on this build : http://builder.exoplatform.org/hudson/job/gatein-portal-trunk-ci/1441/console

            Unassigned Unassigned
            aheritier Arnaud Héritier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: