java.lang.StringIndexOutOfBoundsException: String index out of range: -114

Jenkins JIRA | rejesi | 4 years ago
  1. 0

    We had been getting these exceptions every now and again intermittently but then the next build would be fine. Now we are experiencing them much more frequently. Here is what is seen as the final output to the log file: 18:40:19 [xxxREPO] $ git log --raw --first-parent --format="zzREPOzz%H%n%an<%ae>%aD%n%cn<%ce>%cD%n%s%n%n%byyREPOyy" 66da983ea1516b76f1cc6a078940abd2509862f1..27ec061e06fa872f8d01dad5322534df2559d156 18:40:19 FATAL: String index out of range: -114 18:40:19 java.lang.StringIndexOutOfBoundsException: String index out of range: -114 18:40:19 at java.lang.String.substring(String.java:1949) 18:40:19 at hudson.plugins.repo.ChangeLog.generateChangeLog(ChangeLog.java:167) 18:40:19 at hudson.plugins.repo.ChangeLog.saveChangeLog(ChangeLog.java:239) 18:40:19 at hudson.plugins.repo.RepoScm.checkout(RepoScm.java:259) 18:40:19 at hudson.model.AbstractProject.checkout(AbstractProject.java:1256) 18:40:19 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589) 18:40:19 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) 18:40:19 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494) 18:40:19 at hudson.model.Run.execute(Run.java:1502) 18:40:19 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 18:40:19 at hudson.model.ResourceController.execute(ResourceController.java:88) 18:40:19 at hudson.model.Executor.run(Executor.java:236)

    Jenkins JIRA | 4 years ago | rejesi
    java.lang.StringIndexOutOfBoundsException: String index out of range: -114
  2. 0

    We had been getting these exceptions every now and again intermittently but then the next build would be fine. Now we are experiencing them much more frequently. Here is what is seen as the final output to the log file: 18:40:19 [xxxREPO] $ git log --raw --first-parent --format="zzREPOzz%H%n%an<%ae>%aD%n%cn<%ce>%cD%n%s%n%n%byyREPOyy" 66da983ea1516b76f1cc6a078940abd2509862f1..27ec061e06fa872f8d01dad5322534df2559d156 18:40:19 FATAL: String index out of range: -114 18:40:19 java.lang.StringIndexOutOfBoundsException: String index out of range: -114 18:40:19 at java.lang.String.substring(String.java:1949) 18:40:19 at hudson.plugins.repo.ChangeLog.generateChangeLog(ChangeLog.java:167) 18:40:19 at hudson.plugins.repo.ChangeLog.saveChangeLog(ChangeLog.java:239) 18:40:19 at hudson.plugins.repo.RepoScm.checkout(RepoScm.java:259) 18:40:19 at hudson.model.AbstractProject.checkout(AbstractProject.java:1256) 18:40:19 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589) 18:40:19 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) 18:40:19 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494) 18:40:19 at hudson.model.Run.execute(Run.java:1502) 18:40:19 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 18:40:19 at hudson.model.ResourceController.execute(ResourceController.java:88) 18:40:19 at hudson.model.Executor.run(Executor.java:236)

    Jenkins JIRA | 4 years ago | rejesi
    java.lang.StringIndexOutOfBoundsException: String index out of range: -114
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    parsing coveralls response seams to cause exception

    GitHub | 2 years ago | chpache
    java.lang.StringIndexOutOfBoundsException: String index out of range: -7
  5. 0

    Invalid Markup shows StringIndexOutOfBoundsExceptionange instead of JadeCompilerException

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

  1. richard77 2 times, last 4 days ago
  2. kjhdofjosvs 2 times, last 1 week ago
  3. archenroot 17 times, last 2 weeks ago
  4. Alexandru Popa 2 times, last 4 weeks ago
  5. poroszd 3 times, last 1 month ago
18 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: -114

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1949)
    1 frame
  3. hudson.plugins.repo
    RepoScm.checkout
    1. hudson.plugins.repo.ChangeLog.generateChangeLog(ChangeLog.java:167)
    2. hudson.plugins.repo.ChangeLog.saveChangeLog(ChangeLog.java:239)
    3. hudson.plugins.repo.RepoScm.checkout(RepoScm.java:259)
    3 frames
  4. Hudson
    AbstractBuild$AbstractBuildExecution.defaultCheckout
    1. hudson.model.AbstractProject.checkout(AbstractProject.java:1256)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589)
    2 frames
  5. jenkins.scm
    SCMCheckoutStrategy.checkout
    1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
    1 frame
  6. Hudson
    Executor.run
    1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494)
    2. hudson.model.Run.execute(Run.java:1502)
    3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    4. hudson.model.ResourceController.execute(ResourceController.java:88)
    5. hudson.model.Executor.run(Executor.java:236)
    5 frames