Maximo List Archive

This is an archive of the Maximo Yahoo Community. The content of this pages may be a sometimes obsolete so please check post dates.
Thanks to the community owner Christopher Wanko for providing the content.



Error while routing Child Workorder Workflow

From: (2013-12-13 12:45)

Hi All


Past two days whenever I try to route the workflow for child workorder I am getting the below error. The parent workorder I am able to route it properly. I searched in net for below error but didn't get the proper solution yet. Please let me know If anyone faced this kind of issue.


BMXAA4407E - A nested exception caused the workflow process to fail
String index out of range: -1

Thanks & Regards
GM


From: Hanna, Christopher A CTR (2013-12-16 13:21)

Do you have custom Java in use? A nested exception from a workflow means something outside of the WF threw the error. String index out of range: -1 is usually thrown from a Java substring operation. Check your logs and see if there is a stack trace, that can help point you to exactly where the problems lies.

Thanks!

-Chris H

-----Original Message-----
From: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com] On Behalf Of murugovind@gmail.com
Sent: Friday, December 13, 2013 3:45 PM
To: MAXIMO@yahoogroups.com
Subject: [MAXIMO List] Error while routing Child Workorder Workflow



Hi All




Past two days whenever I try to route the workflow for child workorder I am getting the below error. The parent workorder I am able to route it properly. I searched in net for below error but didn't get the proper solution yet. Please let me know If anyone faced this kind of issue.




BMXAA4407E - A nested exception caused the workflow process to fail String index out of range: -1


Thanks & Regards

GM



From: Murugaiyan G (2013-12-18 15:44)

Hi Chris
There was no custom action class only one condition node which used to
check the status.
I tried to route the same record and got the below error in the log.
[12/18/13 13:59:37:306 EST] 0000079d SystemOut O 18 Dec 2013
13:59:37:306 [ERROR] BMXAA4407E - A nested exception caused the workflow
process to fail.
String index out of range: -1
psdi.util.MXApplicationException: BMXAA4407E - A nested exception caused
the workflow process to fail.
String index out of range: -1
at
psdi.workflow.WorkflowDirector.input(WorkflowDirector.java:280)
at
psdi.workflow.WorkflowDirector.startInput(WorkflowDirector.java:1154)
at
psdi.webclient.system.beans.AppBean.ROUTEWF(AppBean.java:1362)
at sun.reflect.GeneratedMethodAccessor3895.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at
psdi.webclient.system.session.WebClientSession.defaultHandler(WebClientSession.java:1193)
at
psdi.webclient.system.session.WebClientSession.handleEvent(WebClientSession.java:1087)
at
psdi.webclient.system.session.WebClientSession.handleRequest(WebClientSession.java:700)
at
psdi.webclient.system.controller.RequestManager.manageRequest(RequestManager.java:101)
at
psdi.webclient.servlet.WebClientServlet.handleRequest(WebClientServlet.java:96)
at
psdi.webclient.servlet.WebClientServlet.doPost(WebClientServlet.java:45)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1087)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)
at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:691)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:588)
at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:764)
at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:133)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:450)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:508)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:296)
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at
com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at
com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
at
com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)
Caused by:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at
java.lang.StringBuffer.deleteCharAt(StringBuffer.java:367)
at
psdi.common.role.MaxRole.getDataSetGroup(MaxRole.java:312)
at psdi.common.role.MaxRole.resolveRole(MaxRole.java:174)
at
psdi.workflow.WFAssignment.generateForRole(WFAssignment.java:836)
at
psdi.workflow.WFAssignment.generateAssignments(WFAssignment.java:418)
at psdi.workflow.WFTask.initializeTask(WFTask.java:222)
at
psdi.workflow.WFCallStackSet.applyWorkflowAction(WFCallStackSet.java:247)
at
psdi.workflow.WFCallStackSet.initiateWorkflow(WFCallStackSet.java:136)
at
psdi.workflow.WFInstance.initiateWorkflow(WFInstance.java:127)
at
com.ibm.ism.rba.app.wfadmin.RBAWFInstance.initiateWorkflow(RBAWFInstance.java:96)
at
psdi.workflow.WFProcess.initiateWorkflow(WFProcess.java:713)
at
psdi.workflow.virtual.InitiateWorkflowMboSet.execute(InitiateWorkflowMboSet.java:89)
at
psdi.workflow.WorkflowDirector.doStateChangeFromStart(WorkflowDirector.java:524)
at
psdi.workflow.WorkflowDirector.doStateChange(WorkflowDirector.java:340)
at
psdi.workflow.WorkflowDirector.doStateChangeFromStart(WorkflowDirector.java:493)
at
psdi.workflow.WorkflowDirector.doStateChange(WorkflowDirector.java:340)
at
psdi.workflow.WorkflowDirector.input(WorkflowDirector.java:256)
Thanks & Regards
GM
On Mon, Dec 16, 2013 at 8:21 AM, Hanna, Christopher A CTR <
christopher.a.hanna@uscg.mil> wrote:
>
>
> Do you have custom Java in use? A nested exception from a workflow means
> something outside of the WF threw the error. String index out of range: -1
> is usually thrown from a Java substring operation. Check your logs and see
> if there is a stack trace, that can help point you to exactly where the
> problems lies.
>
> Thanks!
>
> -Chris H
>
> -----Original Message-----
> From: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com] On Behalf Of
> murugovind@gmail.com
> Sent: Friday, December 13, 2013 3:45 PM
> To: MAXIMO@yahoogroups.com
> Subject: [MAXIMO List] Error while routing Child Workorder Workflow
>
>
>
> Hi All
>
>
>
>
> Past two days whenever I try to route the workflow for child workorder I
> am getting the below error. The parent workorder I am able to route it
> properly. I searched in net for below error but didn't get the proper
> solution yet. Please let me know If anyone faced this kind of issue.
>
>
>
>
> BMXAA4407E - A nested exception caused the workflow process to fail String
> index out of range: -1
>
>
> Thanks & Regards
>
> GM
>
>
>
>


From: Hanna, Christopher A CTR (2013-12-20 11:43)

The stack trace would seem to indicate that there is some problem assigning to a role. Is there a task node that might have an assignment to a role that might not be exactly right?
From: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com] On Behalf Of Murugaiyan G
Sent: Wednesday, December 18, 2013 3:44 PM
To: MAXIMO@yahoogroups.com
Subject: Re: [MAXIMO List] Error while routing Child Workorder Workflow
Hi Chris
There was no custom action class only one condition node which used to check the status.
I tried to route the same record and got the below error in the log.
[12/18/13 13:59:37:306 EST] 0000079d SystemOut O 18 Dec 2013 13:59:37:306 [ERROR] BMXAA4407E - A nested exception caused the workflow process to fail.
String index out of range: -1
psdi.util.MXApplicationException: BMXAA4407E - A nested exception caused the workflow process to fail.
String index out of range: -1
at psdi.workflow.WorkflowDirector.input(WorkflowDirector.java:280)
at psdi.workflow.WorkflowDirector.startInput(WorkflowDirector.java:1154)
at psdi.webclient.system.beans.AppBean.ROUTEWF(AppBean.java:1362)
at sun.reflect.GeneratedMethodAccessor3895.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at psdi.webclient.system.session.WebClientSession.defaultHandler(WebClientSession.java:1193)
at psdi.webclient.system.session.WebClientSession.handleEvent(WebClientSession.java:1087)
at psdi.webclient.system.session.WebClientSession.handleRequest(WebClientSession.java:700)
at psdi.webclient.system.controller.RequestManager.manageRequest(RequestManager.java:101)
at psdi.webclient.servlet.WebClientServlet.handleRequest(WebClientServlet.java:96)
at psdi.webclient.servlet.WebClientServlet.doPost(WebClientServlet.java:45)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1087)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:691)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:588)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:764)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:133)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:450)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:508)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:296)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)
Caused by:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.StringBuffer.deleteCharAt(StringBuffer.java:367)
at psdi.common.role.MaxRole.getDataSetGroup(MaxRole.java:312)
at psdi.common.role.MaxRole.resolveRole(MaxRole.java:174)
at psdi.workflow.WFAssignment.generateForRole(WFAssignment.java:836)
at psdi.workflow.WFAssignment.generateAssignments(WFAssignment.java:418)
at psdi.workflow.WFTask.initializeTask(WFTask.java:222)
at psdi.workflow.WFCallStackSet.applyWorkflowAction(WFCallStackSet.java:247)
at psdi.workflow.WFCallStackSet.initiateWorkflow(WFCallStackSet.java:136)
at psdi.workflow.WFInstance.initiateWorkflow(WFInstance.java:127)
at com.ibm.ism.rba.app.wfadmin.RBAWFInstance.initiateWorkflow(RBAWFInstance.java:96)
at psdi.workflow.WFProcess.initiateWorkflow(WFProcess.java:713)
at psdi.workflow.virtual.InitiateWorkflowMboSet.execute(InitiateWorkflowMboSet.java:89)
at psdi.workflow.WorkflowDirector.doStateChangeFromStart(WorkflowDirector.java:524)
at psdi.workflow.WorkflowDirector.doStateChange(WorkflowDirector.java:340)
at psdi.workflow.WorkflowDirector.doStateChangeFromStart(WorkflowDirector.java:493)
at psdi.workflow.WorkflowDirector.doStateChange(WorkflowDirector.java:340)
at psdi.workflow.WorkflowDirector.input(WorkflowDirector.java:256)
Thanks & Regards
GM
On Mon, Dec 16, 2013 at 8:21 AM, Hanna, Christopher A CTR <christopher.a.hanna@uscg.mil<mailto:christopher.a.hanna@uscg.mil>> wrote:
Do you have custom Java in use? A nested exception from a workflow means something outside of the WF threw the error. String index out of range: -1 is usually thrown from a Java substring operation. Check your logs and see if there is a stack trace, that can help point you to exactly where the problems lies.
Thanks!
-Chris H
-----Original Message-----
From: MAXIMO@yahoogroups.com<mailto:MAXIMO@yahoogroups.com> [mailto:MAXIMO@yahoogroups.com<mailto:MAXIMO@yahoogroups.com>] On Behalf Of murugovind@gmail.com<mailto:murugovind@gmail.com>
Sent: Friday, December 13, 2013 3:45 PM
To: MAXIMO@yahoogroups.com<mailto:MAXIMO@yahoogroups.com>
Subject: [MAXIMO List] Error while routing Child Workorder Workflow
Hi All
Past two days whenever I try to route the workflow for child workorder I am getting the below error. The parent workorder I am able to route it properly. I searched in net for below error but didn't get the proper solution yet. Please let me know If anyone faced this kind of issue.
BMXAA4407E - A nested exception caused the workflow process to fail String index out of range: -1
Thanks & Regards
GM