java.util.regex.PatternSyntaxException: Illegal octal escape sequence near index 3 [\0-] ^

htmlunit | csp-a0zvq5m | 1 year ago
  1. 0

    Exception caused by regex with null character

    htmlunit | 1 year ago | csp-a0zvq5m
    java.util.regex.PatternSyntaxException: Illegal octal escape sequence near index 3 [\0-] ^
  2. 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+$ ^
  3. 0

    Java PatternSyntaxException: Illegal repetition on string substitution?

    Stack Overflow | 3 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

    Exception when replacing brackets

    Stack Overflow | 2 years ago | Kewitschka
    java.util.regex.PatternSyntaxException: Incorrectly nested parentheses in regexp pattern near index 1: ) ^
  6. 0

    Android app crashes when any math parser is included

    Stack Overflow | 3 years ago | John Smith
    java.util.regex.PatternSyntaxException: Syntax error in regexp pattern near index 1: } ^

  1. davidvanlaatum 2 times, last 3 months ago
  2. mortalman7 1 times, last 4 months ago
  3. Christopher 5 times, last 6 months ago
6 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.util.regex.PatternSyntaxException

    Illegal octal escape sequence near index 3 [\0-] ^

    at java.util.regex.Pattern.error()
  2. Java RT
    Pattern.compile
    1. java.util.regex.Pattern.error(Pattern.java:1955)
    2. java.util.regex.Pattern.o(Pattern.java:3192)
    3. java.util.regex.Pattern.escape(Pattern.java:2300)
    4. java.util.regex.Pattern.range(Pattern.java:2633)
    5. java.util.regex.Pattern.clazz(Pattern.java:2562)
    6. java.util.regex.Pattern.sequence(Pattern.java:2063)
    7. java.util.regex.Pattern.expr(Pattern.java:1996)
    8. java.util.regex.Pattern.compile(Pattern.java:1696)
    9. java.util.regex.Pattern.<init>(Pattern.java:1351)
    10. java.util.regex.Pattern.compile(Pattern.java:1054)
    10 frames
  3. HtmlUnit
    HtmlUnitRegExpProxy.action
    1. com.gargoylesoftware.htmlunit.javascript.regexp.HtmlUnitRegExpProxy.doAction(HtmlUnitRegExpProxy.java:126)
    2. com.gargoylesoftware.htmlunit.javascript.regexp.HtmlUnitRegExpProxy.action(HtmlUnitRegExpProxy.java:75)
    2 frames
  4. HtmlUnit Core JS
    InterpretedFunction.call
    1. net.sourceforge.htmlunit.corejs.javascript.NativeString.execIdCall(NativeString.java:514)
    2. net.sourceforge.htmlunit.corejs.javascript.IdFunctionObject.call(IdFunctionObject.java:93)
    3. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1536)
    4. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798)
    5. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105)
    5 frames
  5. com.gargoylesoftware.htmlunit
    EventHandler.call
    1. com.gargoylesoftware.htmlunit.javascript.host.event.EventHandler.call(EventHandler.java:83)
    1 frame
  6. HtmlUnit Core JS
    ContextFactory.doTopCall
    1. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411)
    1 frame
  7. HtmlUnit
    HtmlUnitContextFactory.doTopCall
    1. com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:310)
    1 frame
  8. HtmlUnit Core JS
    ScriptRuntime.doTopCall
    1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3286)
    1 frame
  9. HtmlUnit
    JavaScriptEngine$HtmlUnitContextAction.run
    1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:794)
    2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:855)
    2 frames