java.lang.IndexOutOfBoundsException: No group 5

Coderanch | sankey jain | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ReplaceAll function - Index out of bounds exception

    Coderanch | 7 years ago | sankey jain
    java.lang.IndexOutOfBoundsException: No group 5
  2. 0

    Regexp exception in String.replaceAll

    Google Groups | 4 years ago | Tim Slattery
    java.lang.IndexOutOfBoundsException: No group 5
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    String replaceAll() and regex question

    Google Groups | 1 decade ago | grasp...@yahoo.com
    java.lang.IndexOutOfBoundsException: No group 9
  5. 0

    Exception in thread "main" java.lang.IndexOutOfBoundsException: No group 9

    yenlo.com | 1 year ago
    java.lang.IndexOutOfBoundsException: No group 9

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IndexOutOfBoundsException

      No group 5

      at java.util.regex.Matcher.group()
    2. Java RT
      String.replaceAll
      1. java.util.regex.Matcher.group(Matcher.java:463)
      2. java.util.regex.Matcher.appendReplacement(Matcher.java:730)
      3. java.util.regex.Matcher.replaceAll(Matcher.java:806)
      4. java.lang.String.replaceAll(String.java:2000)
      4 frames
    3. com.scb.conflict
      ConflictSearchAction.updateConflictSearch
      1. com.scb.conflict.email.service.impl.EmailComposer.composePADSStatusChangeToApprovedEmail(EmailComposer.java:2333)
      2. com.scb.conflict.common.service.impl.AuditTrailServiceImpl.retrieveStatusChangeEmail(AuditTrailServiceImpl.java:796)
      3. com.scb.conflict.conflictsearch.action.ConflictSearchAction.updateConflictSearch(ConflictSearchAction.java:2204)
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    5. XWork
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404)
      2. com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:267)
      3. com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
      3 frames