java.lang.StringIndexOutOfBoundsException

String index out of range: 1

Samebug tips2

You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"

This is a bug when using Micromax devices with VideoView. You can either exclude these devices or look at this workaround: http://stackoverflow.com/a/31942841/4347859

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web4605

  • via Coderanch by virga, 7 months ago
    String index out of range: -1
  • via Coderanch by Kari Nordmann, 9 months ago
    String index out of range: -1
  • via Coderanch by Khaly Silverman, 9 months ago
    String index out of range: -1
  • Stack trace

    • java.lang.StringIndexOutOfBoundsException: String index out of range: 1 at java.lang.String.substring(String.java:1765) at com.atlassian.bamboo.results.tests.TestResults.getMethodName(TestResults.java:89) at com.atlassian.bamboo.results.tests.TestCaseResultWrapper.getMethodName(TestCaseResultWrapper.java:205) at com.atlassian.bamboo.index.TestCaseResultDocument.getDocument(TestCaseResultDocument.java:67) at com.atlassian.bamboo.index.DefaultBuildResultsIndexer.indexBuildResultKeepConnection(DefaultBuildResultsIndexer.java:192) at com.atlassian.bamboo.index.DefaultBuildResultsIndexer.indexBuildResult(DefaultBuildResultsIndexer.java:111) at com.atlassian.bamboo.build.pipeline.tasks.SaveBuildTask.call(SaveBuildTask.java:74) at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:31) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:595)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 1 day ago
    2 times, 6 days ago
    Once, 3 weeks ago
    Once, 3 weeks ago
    Once, 1 month ago
    95 more bugmates