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

Solutions on the web

via Oracle Community by greynolds, 1 year ago
via Oracle Community by 885126, 1 year ago
via javasystemsolutions.com by Unknown author, 2 years ago
via priyankgandhi.com by Unknown author, 2 years ago
via Stack Overflow by DarthVader
, 2 years ago
via Stack Overflow by lightheat
, 2 years ago
java.lang.IllegalArgumentException: Illegal group reference
at java.util.regex.Matcher.appendReplacement(Matcher.java:725)
at java.util.regex.Matcher.replaceAll(Matcher.java:823)
at java.lang.String.replaceAll(String.java:2201)
at com.sun.am.AMConfigurator.replace(AMConfigurator.java:1572)
at com.sun.am.AMConfigurator.updateAMConfig(AMConfigurator.java:569)
at com.sun.am.AMConfigurator.main(AMConfigurator.java:399)
at com.sun.am.AMConfigurator.configure(AMConfigurator.java:1877)
at com.sun.enterprise.addons.AddonConfigurationController.invokeApi(AddonConfigurationController.java:270)
at com.sun.enterprise.addons.AddonConfigurationController.configure(AddonConfigurationController.java:169)
at com.sun.enterprise.addons.AddonConfigurationController.configureDAS(AddonConfigurationController.java:136)
at com.sun.enterprise.addons.AddonFacade.configureDAS(AddonFacade.java:110)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.sun.enterprise.cli.commands.AddonControl.configureDAS(AddonControl.java:100)
at com.sun.enterprise.cli.commands.StartDomainCommand.configureAddons(StartDomainCommand.java:526)
at com.sun.enterprise.cli.commands.StartDomainCommand.init(StartDomainCommand.java:495)
at com.sun.enterprise.cli.commands.StartDomainCommand.startDomain(StartDomainCommand.java:123)
at com.sun.enterprise.cli.commands.StartDomainCommand.runCommand(StartDomainCommand.java:215)
at com.sun.enterprise.cli.framework.CLIMain.invokeCommand(CLIMain.java:171)

Users with the same issue

5 times, 7 months ago
Once, 1 year ago
2 times, 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.