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

StringIndexOutOfBoundsException in hudson.MarkupText$SubText.getText(...)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • other
    • None
    • Hudson ver. 1.354

      When I leave the console running in Hudson I sometimes get this exception in the console...

      [exec] [javac] Discouraged access: The field SECURITY_OSGI from the type Framework is not accessible due to restriction on classpath entry /home/hudson/workspace/eclipse-build-x86_64/eclipse-build/eclipse-build/build/eclipse-3.5.2-src/installation/plugins/org.eclipse.osgi_3.5.2.201004191208.jar [exec] [javac] ---------- [exec] [javac] 562. WARNING in /home/hudson/workspace/eclipse-build-x86_64/eclipse-build/eclipse-build/testsBuild/eclipse-sdktests-3.5.2-src/plugins/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/securityadmin/SecurityManagerTests.java (at line 137) [exec] [javac] configuration.put(Constants.FRAMEWORK_SECURITY, Framework.SECURITY_OSGI); [exec] [javac] ^^^^^^^^^^^^^^^^^^^^^^^ [exec] [javac] Discouraged access: The type Framework is not accessible due to restriction on classpath entry /home/hudson/workspace/eclipse-build-x86_64/eclipse-build/eclipse-build/build/eclipse-3.5.2-src/installation/plugins/org.eclipse.osgi_3.5.2.201004191208.jar [exec] [javac] ----------
      Status Code: 500
      Exception:
      Stacktrace:

      java.lang.StringIndexOutOfBoundsException: String index out of range: 113
      at java.lang.String.substring(String.java:1946)
      at hudson.MarkupText$SubText.getText(MarkupText.java:106)
      at hudson.console.UrlAnnotator$UrlConsoleAnnotator.annotate(UrlAnnotator.java:30)
      at hudson.console.ConsoleAnnotationOutputStream.eol(ConsoleAnnotationOutputStream.java:145)
      at hudson.console.LineTransformationOutputStream.eol(LineTransformationOutputStream.java:60)
      at hudson.console.LineTransformationOutputStream.write(LineTransformationOutputStream.java:56)
      at hudson.console.LineTransformationOutputStream.write(LineTransformationOutputStream.java:74)
      at org.apache.commons.io.output.ProxyOutputStream.write(ProxyOutputStream.java:70)
      at org.apache.commons.io.output.CountingOutputStream.write(CountingOutputStream.java:71)
      at org.kohsuke.stapler.framework.io.LargeText$HeadMark.moveTo(LargeText.java:237)
      at org.kohsuke.stapler.framework.io.LargeText.writeLogTo(LargeText.java:152)
      at hudson.console.AnnotatedLargeText.writeHtmlTo(AnnotatedLargeText.java:150)
      at hudson.console.AnnotatedLargeText.writeLogTo(AnnotatedLargeText.java:142)
      at org.kohsuke.stapler.framework.io.LargeText.doProgressText(LargeText.java:187)
      at hudson.console.AnnotatedLargeText.doProgressiveHtml(AnnotatedLargeText.java:92)
      at sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:169)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:101)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:54)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:519)
      at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:145)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:519)
      at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:319)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:519)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:181)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:519)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:435)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:123)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      at java.lang.Thread.run(Thread.java:636)

            kohsuke Kohsuke Kawaguchi
            caniszczyk caniszczyk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: