Weblogic Generates Exceptions "Index out of range" While Processing Responses (Doc ID 1391071.1)

Last updated on APRIL 07, 2017

Applies to:

Oracle Communications ASAP - Version 4.7.1 and later
Information in this document applies to any platform.
***Checked for relevance on 04-JUN-2014***
***Checked for relevance on 06-NOV-2015***
***Checked for relevance on 07-APR-2017***

Symptoms



The SRP/JSRP tries to publish the ASAP events to the XVTEventTopic,
the following exception is seen at the Weblogic Server log:


####<Nov 22, 2011 2:40:23 AM EST> <Warning> <EJB> <jamu66> <PRO1server> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <
> <> <1321947623385> <BEA-010065> <MessageDrivenBean threw an Exception in onMessage(). The exception was:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1.
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1937)
at com.mslv.asap.activation.srp.ErrorResponseBean.getExceptionName(ErrorResponseBean.java:100)
at com.mslv.asap.activation.srp.ErrorResponseBean.onMessage(ErrorResponseBean.java:83)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms