java.util.regex.PatternSyntaxException: Illegal repetition near index 1 \${$1} ^

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Sujatha Kannan
, 1 year ago
Illegal repetition near index 1 \${$1} ^
via Oracle Community by 807601, 3 months ago
Illegal repetition near index 1262
via karaf-user by Jean-Baptiste Onofré, 1 year ago
Illegal repetition near index 0 ${jdbc_driver} ^
via karaf-user by eBroots, 1 year ago
Illegal repetition near index 0 ${jdbc_driver} ^
via Stack Overflow by Alphalapz
, 4 months ago
via Stack Overflow by Unknown author, 9 months ago
java.util.regex.PatternSyntaxException: Illegal repetition near index 1 \${$1} ^
at java.util.regex.Pattern.error(Unknown Source)
at java.util.regex.Pattern.closure(Unknown Source)
at java.util.regex.Pattern.sequence(Unknown Source)
at java.util.regex.Pattern.expr(Unknown Source)
at java.util.regex.Pattern.compile(Unknown Source)
at java.util.regex.Pattern.(Unknown Source)
at myUtil.ReplaceString.fetchKeyword(ReplaceString.java:70)
at myUtil.ReplaceString.main(ReplaceString.java:20)

Users with the same issue

Once, 2 days ago
6 times, 5 days ago
Once, 1 week ago
3 times, 3 weeks ago
Once, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.