java.util.regex.PatternSyntaxException

Illegal/unsupported escape sequence near index 31 href=".*scoverage-report\views\html\pages/ ^

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web597

  • via Jenkins JIRA by Akhilesh Kumar, 11 months ago
    Illegal/unsupported escape sequence near index 31 href=".*scoverage-report\views\html\pages/ ^
  • via Jenkins JIRA by Akhilesh Kumar, 1 year ago
    Illegal/unsupported escape sequence near index 31 href=".*scoverage-report\views\html\pages/ ^
  • via Google Groups by Unknown author, 1 year ago
    Illegal/unsupported escape sequence near index 31 href=".*scoverage-report\views\html\pages/ ^
  • Stack trace

    • java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 31 href=".*scoverage-report\views\html\pages/ ^ at java.util.regex.Pattern.error(Pattern.java:1924) at java.util.regex.Pattern.escape(Pattern.java:2416) at java.util.regex.Pattern.atom(Pattern.java:2164) at java.util.regex.Pattern.sequence(Pattern.java:2097) at java.util.regex.Pattern.expr(Pattern.java:1964) at java.util.regex.Pattern.compile(Pattern.java:1665) at java.util.regex.Pattern.<init>(Pattern.java:1337) at java.util.regex.Pattern.compile(Pattern.java:1022) at java.lang.String.replaceAll(String.java:2162) at org.jenkinsci.plugins.scoverage.ScoveragePublisher.processReport(ScoveragePublisher.java:93) at org.jenkinsci.plugins.scoverage.ScoveragePublisher.perform(ScoveragePublisher.java:58) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) at hudson.model.Run.execute(Run.java:1765) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240)

    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

    Once, 2 months ago
    Once, 8 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    12 times, 1 month ago
    22 more bugmates