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, 1 month 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
, 2 months ago
via Stack Overflow by Unknown author, 7 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

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 10 months ago
Once, 11 months ago
5 times, 1 year ago
Once, 5 months ago
26 more bugmates

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