java.util.regex.PatternSyntaxException: Unknown character property name {r} near index 4 C:\projects\roo-test\expenses\src\main\java\ ^

Spring JIRA | Alan Stewart | 5 years ago
  1. 0

    The following error occurs when running expenses.roo in Windows: {code} 188abe3 Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\proxy\EmployeeProxy.java Unknown character property name {r} near index 4 C:\projects\roo-test\expenses\src\main\java\ ^ java.util.regex.PatternSyntaxException: Unknown character property name {r} near index 4 C:\projects\roo-test\expenses\src\main\java\ ^ at java.util.regex.Pattern.error(Pattern.java:1713) at java.util.regex.Pattern.charPropertyNodeFor(Pattern.java:2437) at java.util.regex.Pattern.family(Pattern.java:2412) at java.util.regex.Pattern.sequence(Pattern.java:1831) at java.util.regex.Pattern.expr(Pattern.java:1752) at java.util.regex.Pattern.compile(Pattern.java:1460) at java.util.regex.Pattern.<init>(Pattern.java:1133) at java.util.regex.Pattern.compile(Pattern.java:823) at java.lang.String.replaceAll(String.java:2189) at org.springframework.roo.addon.gwt.GwtOperationsImpl.addPackageToGwtXml(GwtOperationsImpl.java:302) at org.springframework.roo.addon.gwt.GwtOperationsImpl.createProxy(GwtOperationsImpl.java:342) at org.springframework.roo.addon.gwt.GwtOperationsImpl.proxyAll(GwtOperationsImpl.java:201) at org.springframework.roo.addon.gwt.GwtOperationsImpl.scaffoldAll(GwtOperationsImpl.java:239) at org.springframework.roo.addon.gwt.GwtCommands.scaffoldAll(GwtCommands.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191) {code}

    Spring JIRA | 5 years ago | Alan Stewart
    java.util.regex.PatternSyntaxException: Unknown character property name {r} near index 4 C:\projects\roo-test\expenses\src\main\java\ ^
  2. 0

    The following error occurs when running expenses.roo in Windows: {code} 188abe3 Created SRC_MAIN_JAVA\org\springsource\roo\extrack\client\proxy\EmployeeProxy.java Unknown character property name {r} near index 4 C:\projects\roo-test\expenses\src\main\java\ ^ java.util.regex.PatternSyntaxException: Unknown character property name {r} near index 4 C:\projects\roo-test\expenses\src\main\java\ ^ at java.util.regex.Pattern.error(Pattern.java:1713) at java.util.regex.Pattern.charPropertyNodeFor(Pattern.java:2437) at java.util.regex.Pattern.family(Pattern.java:2412) at java.util.regex.Pattern.sequence(Pattern.java:1831) at java.util.regex.Pattern.expr(Pattern.java:1752) at java.util.regex.Pattern.compile(Pattern.java:1460) at java.util.regex.Pattern.<init>(Pattern.java:1133) at java.util.regex.Pattern.compile(Pattern.java:823) at java.lang.String.replaceAll(String.java:2189) at org.springframework.roo.addon.gwt.GwtOperationsImpl.addPackageToGwtXml(GwtOperationsImpl.java:302) at org.springframework.roo.addon.gwt.GwtOperationsImpl.createProxy(GwtOperationsImpl.java:342) at org.springframework.roo.addon.gwt.GwtOperationsImpl.proxyAll(GwtOperationsImpl.java:201) at org.springframework.roo.addon.gwt.GwtOperationsImpl.scaffoldAll(GwtOperationsImpl.java:239) at org.springframework.roo.addon.gwt.GwtCommands.scaffoldAll(GwtCommands.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191) {code}

    Spring JIRA | 5 years ago | Alan Stewart
    java.util.regex.PatternSyntaxException: Unknown character property name {r} near index 4 C:\projects\roo-test\expenses\src\main\java\ ^
  3. 0

    Examples fail with RegEx exception

    GitHub | 3 years ago | fjenett
    java.util.regex.PatternSyntaxException: Unexpected internal error near index 1 \ ^
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Not work for version 2.21 and later

    GitHub | 2 years ago | qianlvable
    java.util.regex.PatternSyntaxException: Unexpected internal error near index 1 \ ^
  6. 0

    Errors while extracting several files from a folder

    GitHub | 3 years ago | jonzl
    java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 3 C:\Users\user123\files\ ^

  1. Handemelindo 1 times, last 1 month ago
2 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

    Unknown character property name {r} near index 4 C:\projects\roo-test\expenses\src\main\java\ ^

    at java.util.regex.Pattern.error()
  2. Java RT
    String.replaceAll
    1. java.util.regex.Pattern.error(Pattern.java:1713)
    2. java.util.regex.Pattern.charPropertyNodeFor(Pattern.java:2437)
    3. java.util.regex.Pattern.family(Pattern.java:2412)
    4. java.util.regex.Pattern.sequence(Pattern.java:1831)
    5. java.util.regex.Pattern.expr(Pattern.java:1752)
    6. java.util.regex.Pattern.compile(Pattern.java:1460)
    7. java.util.regex.Pattern.<init>(Pattern.java:1133)
    8. java.util.regex.Pattern.compile(Pattern.java:823)
    9. java.lang.String.replaceAll(String.java:2189)
    9 frames
  3. Spring Roo - Annotations (ASLv2 Licensed)
    GwtCommands.scaffoldAll
    1. org.springframework.roo.addon.gwt.GwtOperationsImpl.addPackageToGwtXml(GwtOperationsImpl.java:302)
    2. org.springframework.roo.addon.gwt.GwtOperationsImpl.createProxy(GwtOperationsImpl.java:342)
    3. org.springframework.roo.addon.gwt.GwtOperationsImpl.proxyAll(GwtOperationsImpl.java:201)
    4. org.springframework.roo.addon.gwt.GwtOperationsImpl.scaffoldAll(GwtOperationsImpl.java:239)
    5. org.springframework.roo.addon.gwt.GwtCommands.scaffoldAll(GwtCommands.java:99)
    5 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  5. org.springframework.roo
    ReflectionUtils.invokeMethod
    1. org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191)
    1 frame