java.lang.IndexOutOfBoundsException: No group 5

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 Coderanch by sankey jain, 1 year ago
via Google Groups by Tim Slattery, 2 years ago
via Oracle Community by 843859, 1 year ago
via GitHub by tammycook
, 2 years ago
java.lang.IndexOutOfBoundsException: No group 5
at java.util.regex.Matcher.group(Matcher.java:463)
at java.util.regex.Matcher.appendReplacement(Matcher.java:730)
at java.util.regex.Matcher.replaceAll(Matcher.java:806)
at java.lang.String.replaceAll(String.java:2000)
at com.scb.conflict.email.service.impl.EmailComposer.composePADSStatusChangeToApprovedEmail(EmailComposer.java:2333)
at com.scb.conflict.common.service.impl.AuditTrailServiceImpl.retrieveStatusChangeEmail(AuditTrailServiceImpl.java:796)
at com.scb.conflict.conflictsearch.action.ConflictSearchAction.updateConflictSearch(ConflictSearchAction.java:2204)
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:585)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:267)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)

Users with the same issue

3 times, 2 months ago
4 times, 9 months ago
Once, 11 months ago

Write tip

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