java.util.regex.PatternSyntaxException: Unknown character category {Nonsense} near index 11 \p{Nonsense} ^

Atlassian JIRA | Adrian Hempel [Atlassian] | 10 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    The Build Labeller plugin attempts, but fails, to validate that the configured regex pattern is valid. Bamboo generates the following logging during any builds that use the invalid regex, and the build is never labelled: {noformat} 2007-06-22 16:37:22,764 INFO [BAM::Default Queue::BuildComp] [DefaultErrorHandler] Recording error: Build Labeller custom build complete action failed to run : Test - Default java.util.regex.PatternSyntaxException: Unknown character category {Nonsense} near index 11 \p{Nonsense} ^ at java.util.regex.Pattern.error(Pattern.java:1650) at java.util.regex.Pattern.familyError(Pattern.java:2366) at java.util.regex.Pattern.retrieveCategoryNode(Pattern.java:2357) at java.util.regex.Pattern.family(Pattern.java:2335) at java.util.regex.Pattern.sequence(Pattern.java:1740) at java.util.regex.Pattern.expr(Pattern.java:1687) at java.util.regex.Pattern.compile(Pattern.java:1397) at java.util.regex.Pattern.<init>(Pattern.java:1124) at java.util.regex.Pattern.compile(Pattern.java:817) at com.atlassian.bamboo.plugins.labeller.BuildLabeller.run(BuildLabeller.java:69) at com.atlassian.bamboo.event.BuildCompleteNotifier.performCustomBuildCompleteAction(BuildCompleteNotifier.java:117) at com.atlassian.bamboo.event.BuildCompleteNotifier.doTask(BuildCompleteNotifier.java:78) at com.atlassian.bamboo.container.BambooTask.run(BambooTask.java:37) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:35) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:595) {noformat}

    Atlassian JIRA | 10 years ago | Adrian Hempel [Atlassian]
    java.util.regex.PatternSyntaxException: Unknown character category {Nonsense} near index 11 \p{Nonsense} ^
  2. 0

    The Build Labeller plugin attempts, but fails, to validate that the configured regex pattern is valid. Bamboo generates the following logging during any builds that use the invalid regex, and the build is never labelled: {noformat} 2007-06-22 16:37:22,764 INFO [BAM::Default Queue::BuildComp] [DefaultErrorHandler] Recording error: Build Labeller custom build complete action failed to run : Test - Default java.util.regex.PatternSyntaxException: Unknown character category {Nonsense} near index 11 \p{Nonsense} ^ at java.util.regex.Pattern.error(Pattern.java:1650) at java.util.regex.Pattern.familyError(Pattern.java:2366) at java.util.regex.Pattern.retrieveCategoryNode(Pattern.java:2357) at java.util.regex.Pattern.family(Pattern.java:2335) at java.util.regex.Pattern.sequence(Pattern.java:1740) at java.util.regex.Pattern.expr(Pattern.java:1687) at java.util.regex.Pattern.compile(Pattern.java:1397) at java.util.regex.Pattern.<init>(Pattern.java:1124) at java.util.regex.Pattern.compile(Pattern.java:817) at com.atlassian.bamboo.plugins.labeller.BuildLabeller.run(BuildLabeller.java:69) at com.atlassian.bamboo.event.BuildCompleteNotifier.performCustomBuildCompleteAction(BuildCompleteNotifier.java:117) at com.atlassian.bamboo.event.BuildCompleteNotifier.doTask(BuildCompleteNotifier.java:78) at com.atlassian.bamboo.container.BambooTask.run(BambooTask.java:37) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:35) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:595) {noformat}

    Atlassian JIRA | 10 years ago | Adrian Hempel [Atlassian]
    java.util.regex.PatternSyntaxException: Unknown character category {Nonsense} near index 11 \p{Nonsense} ^
  3. 0

    Java PatternSyntaxException: Illegal repetition on string substitution?

    Stack Overflow | 4 years ago
    java.util.regex.PatternSyntaxException: Illegal repetition near index 0 ${fizz} ^
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    PatternSyntaxException when trying to access Website with HtmlUnit

    Stack Overflow | 2 years ago
    java.util.regex.PatternSyntaxException: Illegal octal escape sequence near index 2 \0+$ ^
  6. 0

    Exception when replacing brackets

    Stack Overflow | 3 years ago | Kewitschka
    java.util.regex.PatternSyntaxException: Incorrectly nested parentheses in regexp pattern near index 1: ) ^
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.util.regex.PatternSyntaxException

    Unknown character category {Nonsense} near index 11 \p{Nonsense} ^

    at java.util.regex.Pattern.error()
  2. Java RT
    Pattern.compile
    1. java.util.regex.Pattern.error(Pattern.java:1650)
    2. java.util.regex.Pattern.familyError(Pattern.java:2366)
    3. java.util.regex.Pattern.retrieveCategoryNode(Pattern.java:2357)
    4. java.util.regex.Pattern.family(Pattern.java:2335)
    5. java.util.regex.Pattern.sequence(Pattern.java:1740)
    6. java.util.regex.Pattern.expr(Pattern.java:1687)
    7. java.util.regex.Pattern.compile(Pattern.java:1397)
    8. java.util.regex.Pattern.<init>(Pattern.java:1124)
    9. java.util.regex.Pattern.compile(Pattern.java:817)
    9 frames
  3. com.atlassian.bamboo
    NamedThreadFactory$1.run
    1. com.atlassian.bamboo.plugins.labeller.BuildLabeller.run(BuildLabeller.java:69)
    2. com.atlassian.bamboo.event.BuildCompleteNotifier.performCustomBuildCompleteAction(BuildCompleteNotifier.java:117)
    3. com.atlassian.bamboo.event.BuildCompleteNotifier.doTask(BuildCompleteNotifier.java:78)
    4. com.atlassian.bamboo.container.BambooTask.run(BambooTask.java:37)
    5. com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:35)
    5 frames
  4. Backport of JSR 166
    ThreadHelpers$1.run
    1. edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34)
    1 frame
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:595)
    1 frame