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 Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...