net.thucydides.core.reports.ReportGenerationFailedError

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.


rafael

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

  • StringIndexOutOfBoundsException
    via GitHub by loredan
    ,
  • error in replaceAll with escp
    via Stack Overflow by user1365697
    ,
  • [JENKINS-15300] StringIndexOutOfBounds - Jenkins JIRA
    via by Unknown author,
  • OdiSftp in ODI 12c : String index out of range: 46
    via by Justino Lopes,
    • net.thucydides.core.reports.ReportGenerationFailedError: Failed to generate configuration report at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:188) at net.thucydides.core.reports.ReportService.waitForReportGenerationToFinish(ReportService.java:181) at net.thucydides.core.reports.ReportService.generateReportsFor(ReportService.java:162) at net.thucydides.core.reports.ReportService.generateReportsFor(ReportService.java:111) at net.serenitybdd.junit.runners.SerenityRunner.generateReportsFor(SerenityRunner.java:392) at net.serenitybdd.junit.runners.SerenityRunner.generateReports(SerenityRunner.java:283) at net.serenitybdd.junit.runners.SerenityRunner.run(SerenityRunner.java:248) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) Caused by: net.thucydides.core.reports.ReportGenerationFailedError: Failed to generate reports using net.thucydides.core.reports.html.HtmlAcceptanceTestReporter@2d0e7adf at net.thucydides.core.reports.ReportService.generateReportFor(ReportService.java:222) at net.thucydides.core.reports.ReportService.access$100(ReportService.java:34) at net.thucydides.core.reports.ReportService$1.run(ReportService.java:156) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 1 at java.lang.String.charAt(String.java:658) at java.util.regex.Matcher.appendReplacement(Matcher.java:762) at java.util.regex.Matcher.replaceAll(Matcher.java:906) at java.lang.String.replaceAll(String.java:2162) at net.thucydides.core.requirements.classpath.NarrativeText.definedIn(NarrativeText.java:16)

    Users with the same issue

    poroszd
    12 times, last one,
    olle.hallin
    1 times, last one,
    linxiaolong
    1 times, last one,
    jokester
    1 times, last one,
    tyson925
    1 times, last one,
    27 more bugmates