Splunk AppDynamics

Ignore specific messages

Jubin_Patel1
New Member

Hi Team,

How can we ignore highlighted messages from AppDynamics

java.lang.StringIndexOutOfBoundsException


String index out of range: 34
at java.lang.String.substring(String.java:2666)
at com.****.***.util.authentication.DecryptMyString.getOriginalString(DecryptMyString.java:76)
at com.****.***.****.authenticate*****(****.java:274)
at com.ibm._jsp._****Login._jspService(_****Login.java:175)

Any suggestions.

Labels (3)
0 Karma

markvanber
Explorer

When using the Java substring() method, a subset of the character sequence can be extracted from a string. The substring index must be any value from 0 to the length of a string. The java.lang.StringIndexOutOfBoundsException thrown by String methods to indicate that the beginIndex is negative , or endIndex is larger than the length of this String object, or beginIndex is larger than endIndex.

How to solve the StringIndexOutOfBoundsException:

  • Check the length of the string before using substring()
  • Exception handling using try...catch.
Get Updates on the Splunk Community!

Splunk Observability Synthetic Monitoring - Resolved Incident on Detector Alerts

We’ve discovered a bug that affected the auto-clear of Synthetic Detectors in the Splunk Synthetic Monitoring ...

Video | Tom’s Smartness Journey Continues

Remember Splunk Community member Tom Kopchak? If you caught the first episode of our Smartness interview ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud? Learn how unique features like ...