java.lang.IllegalArgumentException: Illegal group reference

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Coderanch by K Riaz, 1 year ago
Illegal group reference
via javasystemsolutions.com by Unknown author, 1 year ago
via priyankgandhi.com by Unknown author, 1 year ago
via Stack Overflow by DarthVader
, 2 years ago
java.lang.IllegalArgumentException: Illegal group reference
at java.util.regex.Matcher.appendReplacement(Matcher.java:561)
at java.util.regex.Matcher.replaceAll(Matcher.java:661)
at java.lang.String.replaceAll(String.java:1663)
at undefined.ReplaceTest.main(ReplaceTest.java:13)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
5 times, 5 months ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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