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

Jenkins JIRA | caniszczyk | 7 years ago
  1. 0

    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)

    Jenkins JIRA | 7 years ago | caniszczyk
    java.lang.StringIndexOutOfBoundsException: String index out of range: 113
  2. 0

    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)

    Jenkins JIRA | 7 years ago | caniszczyk
    java.lang.StringIndexOutOfBoundsException: String index out of range: 113
  3. 0

    StringIndexOutOfBoundsException

    GitHub | 4 years ago | fordfrog
    java.lang.StringIndexOutOfBoundsException: String index out of range: 221
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unexpected report in terminal shell when Ctrl+Click on any know Erlang module/function.

    GitHub | 2 years ago | ethrbh
    java.lang.StringIndexOutOfBoundsException: String index out of range: 50
  6. 0

    Error when generating Getter / Setter for properties starting with underscore

    GitHub | 4 years ago | pulse00
    java.lang.StringIndexOutOfBoundsException: String index out of range: 1

  1. archenroot 17 times, last 2 weeks ago
  2. Alexandru Popa 2 times, last 3 weeks ago
  3. poroszd 3 times, last 4 weeks ago
  4. DoktorDoener666 6 times, last 1 month ago
  5. eti22 3 times, last 1 month ago
16 more registered users
58 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. java.lang.StringIndexOutOfBoundsException

    String index out of range: 113

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