Random error when executing a workflow (urgent!!)
We are sometimes getting the following error message when a workflow is executed:
"com.waveset.util.WavesetException: Can't call method getObject on class com.waveset.server.InternalSession com.waveset.util.InternalError: ID not passed to ObjectCache.getObject"
This error occurs randomly (sometimes happens and sometimes don't, even when repeating the same test) when executing the create user and update user workflows.
The problem is that in spite of this error, the user is successfully created and provisioned to all resources (when executing the create workflow) and all changes made user to the user are also successfully provisioned (when executing the update user workflow), so we are not quite sure what is causing it.
So far, we've checked across our code to make sure that every time the getObject method is called we are passing to it the following code as context:
<invoke name='getObject'>
<select>
<ref>context</ref>
<ref>:display.session</ref>
<invoke name='getLighthouseContext'>
<ref>WF_CONTEXT</ref>
</invoke>
</select>
But this made no difference.
Any comments on this issue would be much appreciated!
Here are 2 different examples of this error from the logs:
1)
Walking case 'Create User'
Walking case 'Approval'
Processing steps in 'Approval'
Step pass 1
Check completion 'Approve'
Processing work item results from 'testuseradmin'
Step complete 'Approve'
Step pass 2
Resolved reference WF_ACTION_TIMEOUT = null
Step inactive 'Approve'
Step executing 'Check Status'
Action
Evaluating XPRESS
Resolved reference APPROVAL = true
Resolved reference APPROVAL = true
Assigning approved = true
Resolved reference ACTUAL_APPROVER = testuseradmin
Resolved reference ACTUAL_APPROVER = testuseradmin
Assigning actualApprover = testuseradmin
XPRESS returned =
<WavesetResult>
<ResultItem type='error' status='error'>
<ResultError>
<Message>
<Text>XPRESS <invoke> exception:</Text>
</Message>
</ResultError>
</ResultItem>
<ResultItem type='error' status='error'>
<ResultError throwable='com.waveset.util.WavesetException'>
<Message>
<Text>Can't call method getObject on class com.waveset.server.InternalSession</Text>
</Message>
<StackTrace>com.waveset.util.WavesetException: Can't call method getObject on class com.waveset.server.InternalSession
==> com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:229)
	at com.waveset.util.Reflection.invoke(Reflection.java:908)
	at com.waveset.util.Reflection.invoke(Reflection.java:846)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExGet.evalInternal(ExGet.java:114)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_notnull.evalInternal(ExFunction.java:950)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_and.evalInternal(ExFunction.java:606)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_cond.evalInternal(ExFunction.java:3448)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExFunction$f_append.evalInternal(ExFunction.java:2656)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExBlock.evalInternal(ExBlock.java:182)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExBlock.eval(ExBlock.java:148)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.object.Rule.eval(Rule.java:955)
	at com.waveset.workflow.ExpressionState.resolveRule(ExpressionState.java:233)
	at com.waveset.expression.ExState.externalRule(ExState.java:565)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:184)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.workflow.WorkflowEngine.evaluate(WorkflowEngine.java:1463)
	at com.waveset.workflow.WorkflowEngine.initVariables(WorkflowEngine.java:2017)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3312)
	at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2863)
	at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:2754)
	at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2540)
	at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1945)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1797)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1705)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:843)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:505)
	at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:236)
	at com.waveset.task.Scheduler.execute(Scheduler.java:2612)
	at com.waveset.task.Scheduler.launchTask(Scheduler.java:1701)
	at com.waveset.task.Scheduler.launchTask(Scheduler.java:1376)
	at com.waveset.task.TaskManager.launchTask(TaskManager.java:267)
	at com.waveset.server.InternalSession.runTask(InternalSession.java:3373)
	at com.waveset.server.ViewMaster.runTask(ViewMaster.java:931)
	at com.waveset.view.UserViewer.launchUpdate(UserViewer.java:3336)
	at com.waveset.view.UserViewer.checkinView(UserViewer.java:1322)
	at com.waveset.object.ViewMaster.checkinView(ViewMaster.java:747)
	at com.waveset.session.LocalSession.checkinView(LocalSession.java:611)
	at com.waveset.ui.util.GenericViewSource.checkinView(GenericViewSource.java:522)
	at com.waveset.ui.util.GenericEditForm.process(GenericEditForm.java:613)
	at org.apache.jsp.account.modify_jsp._jspService(modify_jsp.java:413)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:595)
Caused by: com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:114)
	at com.waveset.util.InternalError.<init>(InternalError.java:75)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:527)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:480)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:478)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:497)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.waveset.util.Reflection.invoke(Reflection.java:885)
	... 85 more
Wrapped exception:
com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:114)
	at com.waveset.util.InternalError.<init>(InternalError.java:75)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:527)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:480)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:478)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:497)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.waveset.util.Reflection.invoke(Reflection.java:885)
	at com.waveset.util.Reflection.invoke(Reflection.java:846)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExGet.evalInternal(ExGet.java:114)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_notnull.evalInternal(ExFunction.java:950)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_and.evalInternal(ExFunction.java:606)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_cond.evalInternal(ExFunction.java:3448)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExFunction$f_append.evalInternal(ExFunction.java:2656)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExBlock.evalInternal(ExBlock.java:182)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExBlock.eval(ExBlock.java:148)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.object.Rule.eval(Rule.java:955)
	at com.waveset.workflow.ExpressionState.resolveRule(ExpressionState.java:233)
	at com.waveset.expression.ExState.externalRule(ExState.java:565)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:184)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.workflow.WorkflowEngine.evaluate(WorkflowEngine.java:1463)
	at com.waveset.workflow.WorkflowEngine.initVariables(WorkflowEngine.java:2017)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3312)
	at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2863)
	at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:2754)
	at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2540)
	at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1945)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1797)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1705)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:843)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:505)
	at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:236)
	at com.waveset.task.Scheduler.execute(Scheduler.java:2612)
	at com.waveset.task.Scheduler.launchTask(Scheduler.java:1701)
	at com.waveset.task.Scheduler.launchTask(Scheduler.java:1376)
	at com.waveset.task.TaskManager.launchTask(TaskManager.java:267)
	at com.waveset.server.InternalSession.runTask(InternalSession.java:3373)
	at com.waveset.server.ViewMaster.runTask(ViewMaster.java:931)
	at com.waveset.view.UserViewer.launchUpdate(UserViewer.java:3336)
	at com.waveset.view.UserViewer.checkinView(UserViewer.java:1322)
	at com.waveset.object.ViewMaster.checkinView(ViewMaster.java:747)
	at com.waveset.session.LocalSession.checkinView(LocalSession.java:611)
	at com.waveset.ui.util.GenericViewSource.checkinView(GenericViewSource.java:522)
	at com.waveset.ui.util.GenericEditForm.process(GenericEditForm.java:613)
	at org.apache.jsp.account.modify_jsp._jspService(modify_jsp.java:413)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:595)
</StackTrace>
<ResultError throwable='com.waveset.util.InternalError'>
<Message id='OBJECT_CACHE_NO_ID'>
</Message>
<StackTrace>com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:114)
	at com.waveset.util.InternalError.<init>(InternalError.java:75)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:527)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:480)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:478)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:497)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.waveset.util.Reflection.invoke(Reflection.java:885)
	at com.waveset.util.Reflection.invoke(Reflection.java:846)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExGet.evalInternal(ExGet.java:114)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_notnull.evalInternal(ExFunction.java:950)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_and.evalInternal(ExFunction.java:606)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_cond.evalInternal(ExFunction.java:3448)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExFunction$f_append.evalInternal(ExFunction.java:2656)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExBlock.evalInternal(ExBlock.java:182)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExBlock.eval(ExBlock.java:148)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.object.Rule.eval(Rule.java:955)
	at com.waveset.workflow.ExpressionState.resolveRule(ExpressionState.java:233)
	at com.waveset.expression.ExState.externalRule(ExState.java:565)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:184)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.workflow.WorkflowEngine.evaluate(WorkflowEngine.java:1463)
	at com.waveset.workflow.WorkflowEngine.initVariables(WorkflowEngine.java:2017)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3312)
	at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2863)
	at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:2754)
	at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2540)
	at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1945)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1797)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1705)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:843)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:505)
	at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:236)
	at com.waveset.task.Scheduler.execute(Scheduler.java:2612)
	at com.waveset.task.Scheduler.launchTask(Scheduler.java:1701)
	at com.waveset.task.Scheduler.launchTask(Scheduler.java:1376)
	at com.waveset.task.TaskManager.launchTask(TaskManager.java:267)
	at com.waveset.server.InternalSession.runTask(InternalSession.java:3373)
	at com.waveset.server.ViewMaster.runTask(ViewMaster.java:931)
	at com.waveset.view.UserViewer.launchUpdate(UserViewer.java:3336)
	at com.waveset.view.UserViewer.checkinView(UserViewer.java:1322)
	at com.waveset.object.ViewMaster.checkinView(ViewMaster.java:747)
	at com.waveset.session.LocalSession.checkinView(LocalSession.java:611)
	at com.waveset.ui.util.GenericViewSource.checkinView(GenericViewSource.java:522)
	at com.waveset.ui.util.GenericEditForm.process(GenericEditForm.java:613)
	at org.apache.jsp.account.modify_jsp._jspService(modify_jsp.java:413)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:595)
</StackTrace>
</ResultError>
</ResultError>
</ResultItem>
<ResultItem type='error' status='error'>
<ResultError>
<Message>
<Text>XPRESS <invoke> exception:</Text>
</Message>
</ResultError>
</ResultItem>
<ResultItem type='error' status='error'>
<ResultError throwable='com.waveset.util.WavesetException'>
<Message>
<Text>Can't call method getObject on class com.waveset.server.InternalSession</Text>
</Message>
<StackTrace>com.waveset.util.WavesetException: Can't call method getObject on class com.waveset.server.InternalSession
==> com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:229)
	at com.waveset.util.Reflection.invoke(Reflection.java:908)
	at com.waveset.util.Reflection.invoke(Reflection.java:846)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.ge
Mandar_S: Thank you very much for your reply.
Indeed we are using the inbuilt Approval process in all of our workflows. We call that process from our approval activity and we pass to it the "approver" variable as an argument as follows:
<Activity id='8' name='Manager Approval'>
<Variable name='manager' value='$(user.accounts[Lighthouse].idmManager)'/>
<Action id='0' process='Approval'>
<Argument name='user' value='$(user)'/>
<Argument name='approvalTemplate' value='AIO - New User Approval'/>
<Argument name='approvalForm' value='AIO - Approval Form'/>
<Argument name='approver'>
<ref>manager</ref>
</Argument>
.......... As far as I could investigate, the "approver" variable is passed to the "Approval" process, and this is seen in the logs:
Walking case 'Create User'
Walking case 'Approval'
Processing steps in 'Approval'
Step pass 1
Check completion 'Approve'
Processing work item results from 'testuseradmin'
Step complete 'Approve'
Step pass 2
Resolved reference WF_ACTION_TIMEOUT = null
Step inactive 'Approve'
Step executing 'Check Status'
Action
Evaluating XPRESS
Resolved reference APPROVAL = true
Resolved reference APPROVAL = true
Assigning approved = true
Resolved reference ACTUAL_APPROVER = testuseradmin
Resolved reference ACTUAL_APPROVER = testuseradmin
Assigning actualApprover = testuseradmin
XPRESS returned =
<WavesetResult>
<ResultItem type='error' status='error'>
<ResultError>
<Message>
<Text>XPRESS <invoke> exception:</Text>
</Message>
</ResultError>
</ResultItem>
<ResultItem type='error' status='error'>
<ResultError throwable='com.waveset.util.WavesetException'>
<Message>
<Text>Can't call method getObject on class com.waveset.server.InternalSession</Text>
</Message>
<StackTrace>com.waveset.util.WavesetException: Can't call method getObject on class
com.waveset.server.InternalSession
==> com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:595)
</StackTrace>
</ResultError>
</ResultError>
</ResultItem>
</WavesetResult>
Assimilating last application result into task result
Step complete 'Check Status'
Step inactive 'Approve'
Step pass 3
Resolved reference useSignedApprovals = false
Resolved reference approved = true
Step inactive 'Check Status'
Step executing 'Approved'
Action
Argument op = audit
Argument action = Approve
Resolved reference actualApprover = testuseradmin
Argument subject = testuseradmin
Argument approver = testuseradmin
Argument type = ObjectGroup
Argument name = Top:Bill Payment:Shared Services
Argument accountId = mcontrol1
Argument fullname = Marcelo Control
Argument email = [email protected]
Resolved reference delegator = njefe
Resolved reference approver = testuseradmin
Resolved reference actualApprover = testuseradmin
Resolved reference delegator = njefe
Argument error = Delegated by njefe
Resolved reference comments = null
Argument attributes = {Comments=null}
Resolved reference WF_TRANSACTION_SIGNATURE = null
Calling application 'com.waveset.session.WorkflowServices'
Application requested argument op
Application requested argument logResultErrors
Application requested argument action
Application requested argument status
Application requested argument type
Application requested argument subject
Application requested argument name
Application requested argument resource
Application requested argument accountId
Application requested argument error
Application requested argument parameters
Application requested argument trackedAttributes
Application requested argument attributes
Application requested argument originalAttributes
Application requested argument overflowAttributes
Application requested argument auditableAttributesList
Application requested argument organizations
Step complete 'Approved'
Step inactive 'Check Status'
Step pass 4
Step inactive 'Approved'
Step executing 'end'
Step inactive 'end'
Completing case 'Approval'
Step inactive 'Approved'
Processing steps in 'Create User'
Step pass 1
Check completion 'Manager Approval'
Check subcase result 'Approval'
Subcase complete
Returning from actualApprover to actualApprover = testuseradmin
Returning from applicationEscalator to actualEscalator = null
Returning from approved to managerApproved = true
Returning from comments to comments = null
Step complete 'Manager Approval'
Step pass 2
Resolved reference error = null
Resolved reference managerApproved = true
Resolved reference WF_ACTION_ERROR = null
Step inactive 'Manager Approval'
Step executing 'Provision'
Action
Resolved reference transforms.preProvisionRule = null
Resolved reference transforms.preProvisionForm = null
Creating subcase Data Transformation
Step inactive 'Manager Approval'
Step pass 3
Check completion 'Provision'
Check subcase result 'null'
Subcase waiting
----------------------------------------In spite of that, the error ocurred (I've eliminated some StackTrace lines for clarity reasons, but you can find them in my original post).
Furthermore, we've encountered this error in other activities diffrent from the "Approval" process. Here's another log example of this error:
Walking case 'AIO - Update Resource Account WF'
Walking case 'Rename Task'
Processing steps in 'Rename Task'
Step pass 1
Initializing variables
Initial Case Variables
name = Solicitud de Acceso en Proceso de jjefe (04/08/2008 @ 17:12:04)
Case title set to 'Rename Task'
Step executing 'Find Unique Name'
Action
Resolved reference makeUnique = null
Condition evaluated false
Step complete 'Find Unique Name'
Step inactive 'Find Unique Name'
Step executing 'Rename'
Action
Evaluating XPRESS
Resolved reference name = Solicitud de Acceso en Proceso de jjefe (04/08/2008 @ 17:12:04)
Resolved reference WF_CASE_OWNER = jjefe
Resolved reference name = Solicitud de Acceso en Proceso de jjefe (04/08/2008 @ 17:12:04)
Resolved reference name = Solicitud de Acceso en Proceso de jjefe (04/08/2008 @ 17:12:04)
XPRESS returned =
<WavesetResult>
<ResultItem type='error' status='error'>
<ResultError>
<Message>
<Text>XPRESS <invoke> exception:</Text>
</Message>
</ResultError>
</ResultItem>
<ResultItem type='error' status='error'>
<ResultError throwable='com.waveset.util.WavesetException'>
<Message>
<Text>Can't call method getObject on class com.waveset.server.InternalSession</Text>
</Message>
<StackTrace>com.waveset.util.WavesetException: Can't call method getObject on class com.waveset.server.InternalSession
==> com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:229)
	at com.waveset.util.Reflection.invoke(Reflection.java:908)
	at com.waveset.util.Reflection.invoke(Reflection.java:846)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.object.Rule.eval(Rule.java:955)
	at com.waveset.workflow.ExpressionState.resolveRule(ExpressionState.java:233)
	at com.waveset.expression.ExState.externalRule(ExState.java:565)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:184)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExRule$Argument.evalInternal(ExRule.java:345)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:172)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.workflow.WorkflowEngine.evaluate(WorkflowEngine.java:1463)
	at com.waveset.workflow.WorkflowEngine.initVariables(WorkflowEngine.java:2017)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3312)
	at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2863)
	at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:2754)
	at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2540)
	at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1945)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1797)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1705)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:843)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:505)
	at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:236)
	at com.waveset.task.TaskThread.run(TaskThread.java:132)
Caused by: com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:114)
	at com.waveset.util.InternalError.<init>(InternalError.java:75)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:527)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:480)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:478)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:497)
	at sun.reflect.GeneratedMethodAccessor420.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.waveset.util.Reflection.invoke(Reflection.java:885)
	... 31 more
Wrapped exception:
com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:114)
	at com.waveset.util.InternalError.<init>(InternalError.java:75)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:527)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:480)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:478)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:497)
	at sun.reflect.GeneratedMethodAccessor420.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.waveset.util.Reflection.invoke(Reflection.java:885)
	at com.waveset.util.Reflection.invoke(Reflection.java:846)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.object.Rule.eval(Rule.java:955)
	at com.waveset.workflow.ExpressionState.resolveRule(ExpressionState.java:233)
	at com.waveset.expression.ExState.externalRule(ExState.java:565)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:184)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExRule$Argument.evalInternal(ExRule.java:345)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:172)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.workflow.WorkflowEngine.evaluate(WorkflowEngine.java:1463)
	at com.waveset.workflow.WorkflowEngine.initVariables(WorkflowEngine.java:2017)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3312)
	at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2863)
	at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:2754)
	at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2540)
	at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1945)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1797)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1705)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:843)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:505)
	at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:236)
	at com.waveset.task.TaskThread.run(TaskThread.java:132)
</StackTrace>
<ResultError throwable='com.waveset.util.InternalError'>
<Message id='OBJECT_CACHE_NO_ID'>
</Message>
<StackTrace>com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:114)
	at com.waveset.util.InternalError.<init>(InternalError.java:75)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:527)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:480)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:478)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:497)
	at sun.reflect.GeneratedMethodAccessor420.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.waveset.util.Reflection.invoke(Reflection.java:885)
	at com.waveset.util.Reflection.invoke(Reflection.java:846)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.object.Rule.eval(Rule.java:955)
	at com.waveset.workflow.ExpressionState.resolveRule(ExpressionState.java:233)
	at com.waveset.expression.ExState.externalRule(ExState.java:565)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:184)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExRule$Argument.evalInternal(ExRule.java:345)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:172)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.workflow.WorkflowEngine.evaluate(WorkflowEngine.java:1463)
	at com.waveset.workflow.WorkflowEngine.initVariables(WorkflowEngine.java:2017)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3312)
	at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2863)
	at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:2754)
	at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2540)
	at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1945)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1797)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1705)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:843)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:505)
	at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:236)
	at com.waveset.task.TaskThread.run(TaskThread.java:132)
</StackTrace>
</ResultError>
</ResultError>
</ResultItem>
</WavesetResult>
Assimilating last application result into task result
Step complete 'Rename'
Step inactive 'Find Unique Name'
Step pass 2
Step inactive 'Rename'
Completing case 'Rename Task'
Processing steps in 'AIO - Update Resource Account WF'
Step pass 1
Check completion 'Rename Temporary Task'
Check subcase result 'Rename Task'
Subcase complete
Step complete 'Rename Temporary Task'
Step pass 2
Step inactive 'Rename Temporary Task'
Step executing 'end'
Step inactive 'end'
Completing case 'AIO - Update Resource Account WF'
Step inactive 'Rename Temporary Task'
Deleting work item for action Edit Request
Deleting invalid work item #ID#5F564652662387E3:-15828051:11B8E51257D:-7CEE
Finished executing workflow case AIO - Update Resource Account WF
***************************************The code that genereted this log is something like this:
<Configuration name='Rename Task' creator='%STARTUP%Configurator' createDate='1214936621250' lastModifier='Configurator' lastModDate='1216397579578' lastMod='1'>
<Extension>
<WFProcess name='Rename Task' maxSteps='0'>
<Comments>
 Rename the current workflow task instance.
 </Comments>
<Variable name='name' input='true'>
<Comments>
 New task instance name.
 </Comments>
</Variable>
<Variable name='makeUnique' input='true'>
<Comments>
 If true, causes this task to append a suffix to the end
 of 'name' in order to enforce uniqueness. Otherwise
 this task fails if a task already exists called 'name'.
 </Comments>
</Variable>
<Activity id='0' name='Find Unique Name' hidden='true'>
<Action id='0'>
<Comments>
 The 'name' passed in may be suffixed with something that
 makes it unique if necessary
 </Comments>
<Condition>
<isTrue>
<ref>makeUnique</ref>
</isTrue>
</Condition>
<expression>
<block>
<defvar name='uniqueName'>
<ref>name</ref>
</defvar>
<defvar name='counter'>
<i>0</i>
</defvar>
<while>
<cond>
<invoke name='getObjectIfExists'>
<invoke name='getLighthouseContext'>
<ref>WF_CONTEXT</ref>
</invoke>
<invoke name='findType' class='com.waveset.object.Type'>
<s>TaskInstance</s>
</invoke>
<ref>uniqueName</ref>
</invoke>
<s>false</s>
</cond>
<block>
<set name='counter'>
<add>
<ref>counter</ref>
<i>1</i>
</add>
</set>
<set name='uniqueName'>
<concat>
<ref>name</ref>
<s>(</s>
<ref>counter</ref>
<s>)</s>
</concat>
</set>
<s>true</s>
</block>
<s>false</s>
</while>
<set name='name'>
<ref>uniqueName</ref>
</set>
</block>
</expression>
</Action>
<Transition to='Rename'/>
<WorkflowEditor x='43' y='10'/>
</Activity>
<Activity id='1' name='Rename'>
<Action id='0'>
<Comments>
 First rename the object in the repository. The last
 argument is an options map containing the name under which
 we will lock the object.
 Next rename it in memory so when the scheduler eventually
 saves it back into the repository it doesn't overwrite
 the name we just changed.
 </Comments>
<expression>
<block>
<invoke name='renameObject'>
<invoke name='getLighthouseContext'>
<ref>WF_CONTEXT</ref>
</invoke>
<invoke name='findType' class='com.waveset.object.Type'>
<s>TaskInstance</s>
</invoke>
<invoke name='getId'>
<invoke name='getTask'>
<ref>WF_CONTEXT</ref>
</invoke>
</invoke>
<ref>name</ref>
<map>
<s>user</s>
<ref>WF_CASE_OWNER</ref>
</map>
</invoke>
<invoke name='setName'>
<invoke name='getTask'>
<ref>WF_CONTEXT</ref>
</invoke>
<ref>name</ref>
</invoke>
<invoke name='setDisplayName'>
<invoke name='getTask'>
<ref>WF_CONTEXT</ref>
</invoke>
<ref>name</ref>
</invoke>
</block>
</expression>
</Action>
<WorkflowEditor x='174' y='13'/>
</Activity>
</WFProcess>
</Extension>
<MemberObjectGroups>
<ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
</MemberObjectGroups>
</Configuration>
.......................................Any ideas on why this is happening?
Thanks a lot in advance.
Similar Messages
-
Error when executing external workflow process
OWB 9.2 with server on Windows NT.
I can successfully execute a mapping workflow process from the deployment manager, but I get an error when executing a simple external process:
command: move
parameters: ?c:\\data\\owbtest\\src.txt?c:\\data\\owbtest\\trg.txt
Resulting output:
Create Process: move c:\data\owbtest\src.txt c:\data\owbtest\trg.txt error=2
File c:\data\owbtest\src.txt exists.
My questions:
1. What am I doing wrong?
2. What does error=2 mean? Is this a Windows error?
3. Do I have to configure some location for the process? What does 'use default location' mean for the configuration property Working Location? Is a host-logon performed before the host-command is executed?
4. Is there logging available for an external process? In the workflow tables or views?
5. I can't find much documentation for these questions. Is there more documentation than the OWB user guide and the OWF guide?
Jaap.It seems that commands that are not an executable in some directory, but are part of the Windows kernel (like 'move'), need to be started as a parameter of the cmd command. I did this and now it works fine.
-
Error when executing query its urgent
hi,
when iam executing my query in query designer through web morning i got the result in web.
but when iam executing the same query in wad it is throughing an error like (System error in program SAPLRRK0 and form GET_FIELD_POSITION-01-))
now again i check that one in querydesigner again it is showing the same error in querydesigner also
vijayHi,
Refer Note 931975 - Problems when you execute a query
Symptom
At runtime, a query contains a generated ABAP program and a data structure, which is stored in the shared buffer. Due to the gap described here, the version of the ABAP program may not correspond to the version of the data structure.
This causes several terminations when you execute this query:
X299 Brain SAPLRRK0; Form GET_FIELD_POSITION-01-,
X299 Brain SAPLRRK0; Form APPEND_KHANDLE_1-02-,
ASSIGN COMPONENT L_FIELDNAME OF STRUCTURE C_SX_GVAR, and others.
Other terms
RSIX, SX_REPORT,
Reason and Prerequisites
The error can occur if one person changes a query and another person simultaneously executes the query. A query may also be changed implicitly if one of the objects used in the query is changed in another query.
Solution
The attached corrections apply only to Releases 3.X. An advance correction cannot be provided for NetWeaver 2004s.
Before you implement the attached correction (in 3.X), you must change the two following method interfaces. Otherwise syntax errors occur in the CL_RSR_REPORT_RSIX class and the RRI0 function group when you implement the corrections.
1. In Transaction SE24: Change the MODIFY method of the CL_RSR_REPORT_RSIX class as follows:
Insert the I_S_RKB1D import parameter with the type RSR_S_RKB1D.
2. In Transaction SE24: Change the READ_SX_REPORT method of the CL_RSR_REPORT_RSIX class.
Delete all existing import parameters (that is, I_GENUNIID, I_DVERS, I_IDVERS and I_GENTIME) and insert the I_S_RKB1D import parameter with the type RSR_S_RKB1D.
After you implement the corrections, you must delete the incorrect information in the shared buffer. To do this, enter '/$SYNC' in the command field in every application server. Alternatively, you can also call RSRT -> Environment -> Generate Queries. As a result, all queries are regenerated but all OLAP caches are rejected.
BW 3.0B
Import Support Package 31 for 3.0B (BW 3. 0B Patch 31 or SAPKW30B31) into your BW system. The Support Package is available when Note 0872272 "SAPBWNews BW 3.0B Support Package 31", which describes this Support Package in more detail, is released for customers.
BW 3.10 Content
Import Support Package 25 for 3.10 (BW 3. 10 Patch 25 or SAPKW31025) into your BW system. The Support Package is available when Note 0872274 "SAPBWNews BW 3.1 Content Support Package 25", which describes this Support Package in more detail, is released for customers.
BW 3.50
Import Support Package 17 for 3.5 (BW 3. 50 Patch 17 or SAPKW35017) into your BW system. The Support Package is available when Note 0872277 "SAPBWNews BW Support Package 17 NetWeaver'04 Stack 17", which describes this Support Package in more detail, is released for customers.
SAP NetWeaver 2004s BI
Import Support Package 08 for SAP NetWeaver 2004s BI (BI Patch 08 or SAPKW70008) into your BI system. The Support Package is available when Note 0872280 "SAPBINews BI 7.0 Support Package 08", which describes this Support Package in more detail, has been released for customers.
In urgent cases, you can use the correction instructions.
To provide information in advance, the notes mentioned above may be released before the Support Package is available. In this case, however, the short text of the notes still contains the words "preliminary version".
Thanks -
Error when executing query without passing variable selection
Hi Gurus
I am getting an error while executing a query with out passing values for variables
When executing the query by passing the filter values report returns the data
When executing the query with out passing variable selections the error message is
Unknown error in SQL interface
Error reading the data of Info Provider ZCRM_O08
Error while reading data; navigation possible
System error in program SSAPLRS_EXCEPTION and form
RS_EXCEPTION_TO_MESSAGE
No Data Available
can any one please help me in resolving this
Thank youHi Srini
Thanks for your quick response
When i am executing the query with selection it is returning the data
giving error when executing with out passing the selection
is there any other cause for this problem
like any particular info object causes this sort of problem
Thank you -
Webi report throwing error when executed
HI Experts,
While executing a Webi Report we are gettign following error when executing with more than one characteristics -
A Database error occured. The database eror text is : The MDX Query select { [Measures].[4225B1TBMEMOYKZGDKLVINMAW] } ON COLUMNS FROM [ZMEPSC01/ZMEPSC01_QRY_0001]
failed to execute with the error Unknown error.(WIS 10901).
We tried changing the Universe -> Parameter -> Control -> Limit size of result set to -> unchecked it.
But still the error remains. Can u put some light over it.
Thanks.Hello ,
Just Check with the BI the people they might change the the column name or some thing else in the bex Query that s way It is showing error.
Refresh the universe and generate the report then check it.
Thanks
Santhosh V -
Error when executing a .irpt page
Hi,
I am getting the below error when executing a .irpt from the workbench. I am on MII 12.2.2 Build (235).
404 Not Found
SAP NetWeaver Application Server 7.20 / AS Java 7.30
Error: S:usrsapALXJ10j2eeclusterappssap.comxappsxmiiearservlet_jspXMII
oot/XMII/CM/<Project>/<File.irpt>
Troubleshooting Guide https://sdn.sap.com/irj/sdn/wiki?path=/display/jstsg/home
Details: No details available.
Please share your thoughts on this.
Regards,
Chanti.Hi Chanti,
This sounds obvious, but check to make sure your irpt page has the extension .irpt in the workbench. Depending on how you saved it, it might have been dropped.
Also make sure the page is published by either saving it to web:// (not db://) or by right clicking and selecting Publish.
Regards,
Mike -
Error when executing statement for table/stored proc
Hi All,
I am getting this error when executing IDOC to JDBC (Stored Procedure) Scenario.
In my stored procedure I have three insert statements to insert rows in to 3 tables.
This stored procedure is working fine for two insert statements i.e,
For this I have created data type for stored procedure with 10 elements and executed the scenario and was successfully running.
when I added 3rd insert statement to stored procedure ie., when i added 5 more elements to the datatype (totally 15 elements) it starts giving the bellow error in Message Monitoring.
<i><b>Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. 'COGRP_TMP_PROC_1' (structure 'Statements'): java.sql.SQLException: General error</b></i>
<i><b>Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'COGRP_TMP_PROC_1' (structure 'Statements'): java.sql.SQLException: General error</b></i>
Note:- I have run the stored procedure with three insert statements in Sql Server, and also by calling an external program also, and was working fine.
<i><b> Note : Is there any structure needs to be follow when working with IDOC to Stored procedure.</b></i>
I am struck up with the error, can any body resolve this issue.
Thanks in Advance,
MurthyHi narasimha,
This seems to be any error due to incorrect query formation.In your receiver jdbc channel set the parameter logSQLstatement = true.you can find this parameter in the advanced mode. Using this parameter you will be able to see the sql query which is generated at runtime in the audit log in RWB.
Regards,
Pragati -
Runtime error when executing ME2B/ME3B if condition recs 160
Dear all,
I have created a vendor rebate agreement and entered condition records for a vendor/material combination.
Since for this vendor there are 170 materials for which he provides rebate I have created 170 condition records.
When I am trying to change or display the rebate agreement by executing transaction codes ME2B and ME3B respectively the following run time error occurs (Runtime error when executing transaction codes ME2B/ME3B for condition recrds >160):
Runtime Errors: DBIF_RSQL_INVALID_RSQL
Except. CX_SY_OPEN_SQL_DB
The error is in function module SELECT_TEXT at line 120 "select * from stxh client specified into table stxh_buffer".
When I debug or test/execute the function module SELECT_TEXT, I find that there are no relevant entries in table STXH for the vendor rebate agreements.
Please note that if the condition records of the rebate agreement are 160 and less then there is no problem.
I would appreciate if I could have your expert oppinion on what is causing this runtime error and if it is possible on how to resolve it.
Thanks in advance.
Regards,
Mimis
Edited by: Mimis1973 on Jan 26, 2011 11:18 AM
Edited by: Mimis1973 on Jan 26, 2011 11:20 AM
Edited by: Mimis1973 on Jan 26, 2011 11:23 AMThere's something similar in OSS note 1002788. Is it relevant to your system?
-
Error processing request in sax parser: Error when executing statement...
Hello,
I want to INSERT data from R/3 System to AS400 via JDBC adapter into a DB2 database. The interfaces from R/3 are Ok. but i have some problems to use the JDBC in DB2 Systems. The message in comunitation channel is:
" Error processing request in sax parser: Error when executing statement for table/stored proc. 'SPE106TST' (structure 'STATEMENT'): java.sql.SQLException: SPE106TST de SADMT1 no válido para la operación."
in the SXMB_MONI -> Request Message Mapping payloads this:
The connection to the database is fine, Sender adapter with a SELECT * works perfect.
Please Can anyone help me solve this problem? I'm lost.
Best regards,
Edited by: Nicola Occhipinti on May 22, 2008 7:40 PMHi Nicola,
This error occurs when the receiver side structure is incorrect.
Your structure seems to be correct.
Please use lower case for action, access and table.
Please check whether the field names are exactly the same as in the actual Database table sadmt1.SPE106TST.
Check if the table has permissions to write.
You can try an alternate structure without using table tag.
<ns0:MT_XMLSQL_SPEC xmlns:ns0="urn:damm.com/pi/EmployeeMasterData">
<STATEMENT>
<sadmt1.SPE106TST action="INSERT">
<access>
<CODEMP>D</CODEMP>
<CODPRO>00202339</CODPRO>
<NOMPRO>ROSIQUE PERALSGENIS</NOMPRO>
<DIRPRO>GIRONA</DIRPRO>
<POBPRO>S. VICENS HORTS</POBPRO>
<RUTA>0</RUTA>
<ORDEN>0</ORDEN>
<NOMINA>S</NOMINA>
</access>
</sadmt1.SPE106TST>
</STATEMENT>
</ns0:MT_XMLSQL_SPEC>
Hope your problem gets solved.
-Shamly -
Error when executing DBMS_ERRLOG through Stored Procedures...
Hi,
We have TWO schemas like IDWH_ODS and IDWH_ERR running on Oracle 10g Rel.2.
The schema IDWH_ERR has direct SELECT privilege on all the base tables in IDWH_ODS schema. (As Pl/sql doesn't support ROLE, we have granted direct SELECT on each of the tables)
IDWH_ODS schema has tables like ACCOUNT & CUSTOMER, for which I need to create DML Error logging tables in IDWH_ERR schema.
I have one procedure 'Cr_Errlog_Tabs' in IDWH_ERR schema which gets all tables in IDWH_ODS and creates Error logging table in IDWH_ERR schema using DBMS_ERRLOG package. My problem starts here,
When I execute the DBMS_ERRLOG package in IDWH_ERR through SQL*Plus LIKE,
> exec DBMS_ERRLOG.CREATE_ERROR_LOG('idwh_ods.ACCOUNT','ERR$_ACCOUNT','idwh_err');
it's creating the error log table 'ERR$_ACCOUNT' in IDWH_ERR schema.
(...the same will be working when execute through Anonymous plsql block)
BUT, when i execute the DBMS_ERRLOG package with same parameters through the stored Procedure 'Cr_Errlog_Tabs', it throws the following error...
ORA-01031: insufficient privileges
Please let me know how the solution at the earliest.WHY DO YOU FEEL YOU HAVE TO START A NEW THREAD FOR YOUR PROBLEM!?
Insufficient priv error when executing DBMS_ERRLOG through PLSQL -
Error when executing DBMS_ERRLOG pkg through Stored Procedures...
Hi,
We have TWO schemas like IDWH_ODS and IDWH_ERR running on Oracle 10g Rel.2.
The schema IDWH_ERR has direct SELECT privilege on all the base tables in IDWH_ODS schema. (As Pl/sql doesn't support ROLE, we have granted direct SELECT on each of the tables)
IDWH_ODS schema has tables like ACCOUNT & CUSTOMER, for which I need to create DML Error logging tables in IDWH_ERR schema.
I have one procedure 'Cr_Errlog_Tabs' in IDWH_ERR schema which gets all tables in IDWH_ODS and creates Error logging table in IDWH_ERR schema using DBMS_ERRLOG package. My problem starts here,
When I execute the DBMS_ERRLOG package in IDWH_ERR through SQL*Plus LIKE,
> exec DBMS_ERRLOG.CREATE_ERROR_LOG('idwh_ods.ACCOUNT','ERR$_ACCOUNT','idwh_err');
it's creating the error log table 'ERR$_ACCOUNT' in IDWH_ERR schema.
(...the same will be working when execute through Anonymous plsql block)
BUT, when i execute the DBMS_ERRLOG package with same parameters through the stored Procedure 'Cr_Errlog_Tabs',
it throws the following error...
ORA-01031: insufficient privileges
Please let me know the solution at the earliest.
Thanks.
-Saravananduplicate post
Insufficient privilege error when executing DBMS_ERRLOG through PLSQL -
File to JDBC :Error when executing statement for table/stored proc.
Hi,
I am getting following error when i am trying to insert data into z-table using JDBC recr adapter.
Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ZTEST' (structure 'STATEMENT'): java.sql.SQLException: <u>[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name '<b>ZTEST</b>'.</u>
But the database table name 'ZTEST' exists in the system.
XML structure:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_RECR xmlns:ns0="http://urn:srini/FileToJDBC">
<STATEMENT>
<TEST action="INSERT">
<table>ZTEST</table>
<access>
<ROLLNO>123</ROLLNO>
<FIRSTNAME>ABC</FIRSTNAME>
<LASTNAME>XYZ</LASTNAME>
</access>
</TEST>
</STATEMENT>
</ns0:MT_RECR>
Regards,
SrinivasHi,
I have changed my MT str but still getting the same error.Is it possible to insert/ update a z-table using JDBC adapter.
XML str:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_RECR xmlns:ns0="http://urn:srini/FileToJDBC">
<STATEMENT>
<ZTEST action="INSERT">
<access>
<ROLLNO>123</ROLLNO>
<FIRSTNAME>abc</FIRSTNAME>
<LASTNAME>XYZ</LASTNAME>
</access>
</ZTEST>
</STATEMENT>
</ns0:MT_RECR>
Regards,
Srinivas -
Error when executing function in MSS launchpad report ???
In MSS lanchpad report, we have the following problem:
Error in Manager Sef-Service
When calling the report, the following error occurred:
System: HRP
Error when executing function
Basically in MSS report, I select employees in the first iView which calls another ABAP query in back-end to display back-end t-code inside iView of portal through ITS service. What could be the reason for it? please advice.
Thanks,
AnthonyPlease try converting the standadrd-delivered scenario RPT0, then check
out the things.
Also problem may be that your function code names contain
the character '&'. This causes a problem when the selected function
code is passed to the ITS-WebGUI as a URL parameter. Please use only
standard characters (A..Z and _) when you define a function code.
Then it should work.
Please go through the following link also
http://help.sap.com/saphelp_erp2005vp/helpdata/en/3a/
3198408d953154e10000000a1550b0/frameset.htm
Please test in backend using Se38 > PWPC_RPT_START_REPORT_TEST
The Reporting Iview in the portal has the Report category type, by
the report category type is set to "RPT0". Therefore, when the
application is launched, the reporting category type is also sent as URL
parameter to the backend system. As of ECC 6.0 only the reporting
category type "RPT0" is supported. ensure this is set for your custom reports if you are using own scenarion
then set in the Iview property of reports as well
ie example
1)Change the Iview property "Scenario" of the Reporting iview from
"RPT0" to your own "ZRPT", than this set of reports will work. however,
the standard reports will not work.
pwpc_convert_mdt_to_lpa >>
The following list of reports have been converted. -
SQL2005 cluster error MDB-05053 Errors when executing sql command: p nr="
Hi all,
We are migrating from 32 bit to x64 bit machines. SQL 2005 database on windows 2003.
I am trying to install E 4.7-200 SR1 on the clustered nodes. The installation manuals for 4.7 are very old and there is nothing for SQL2005 installation.
Now that some how we were able to have SQL up and running in clustered environment (It only took 10 days), After installing CI, I am not able to deploy the database and database creation phase is failing with the following error:
MDB-05053 Errors when executing sql command: <p nr="0"/>.
I am heavily relying on our server managment team on clustering and hoping they have done a good job, However I need some guidelines which can help me in verifying what they have done is correct and meets SAP and SQL requirments and issues we are facing is actually install problems not cluster.
SAP install manuals are not detailed in this regards. Also manuals are out dataed and they only show the sql 2000 clustering pre-requisit for 4.7 installls.
Can any one with clustering experience please help.
Calling out NPC, As his sql installation and upgrade manual has helped me with stand alone installs, Hoping he has some thing for clustering as well.
Regards,
KGHi,
What installation CD/DVD are you using?
Try look at SAP note [924288|https://service.sap.com/sap/support/notes/924288],
and note [969699|https://service.sap.com/sap/support/notes/969699],
and note [967124|https://service.sap.com/sap/support/notes/967124],
and note [106275|https://service.sap.com/sap/support/notes/106275].
In special the last note say at the end:
"3. You must use the 51031444 CD to install Enterprise 4.7 on an x64 platform with SQL Server 2005. This CD installs the central instances and database instances. To convert the A and B nodes in MSCS, use the SAP NetWeaver 04 SR1 installation master CD or DVD."
Hope this helps
Regards
Rolf -
Error when executing d2kwutil.pll procedure
Hi all,
I use a client/server architecture.
There was an error when executing the procedure write_registry in the w2kutil.pll. I created a test forms , and I just created a control block containing a button. In the when-button-pressed trigger I coded : win_api_environment.write_registry('HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE','TEST_REGISTR','D:\MYLOGS',true); . I already attached the d2kwutil.pll to the form module.
The error is : FRM-40734: internal error : pl/sql error occurred.
So how to resolve it ?
Thank you very much indeed.You have that atachar the bookstore to the form and then you can make use of the contained functions inside the bookstore.
Maybe you are looking for
-
How can I change my APP Store account?
How can I change the account I am using on my app store? How do I retreive contacts that I lost when I changed my apple id on my iCloud?
-
Playstation 3 hardwired using fios
I'm currently with cablevision and have my ps3 hardwired to a d-link wireless router which is connected to their modem. I have Verizon coming to set up fios and what I would like to know is can you still hardwire a ps3 the same way. We at one time tr
-
Flex 4 UI Layout Constraint mis-behavior
Hello, So here is the problem, below is basically my application wireframe in mxml. The problem comes in when I'm looking at a report component, so the reportComponents is visible, not the filterComponents. What is happening is the UI element is slid
-
Crash when try to open song with missing exs-file.need shortcut!
Hi there I would like to ask, if there is any idea where I can get a list of shortcuts/keycommands for startroutines in logic. I can´t open my songs anymore because logic can´t find some exs-files. instead of just leave these files as "missing", logi
-
MDA Talkbox routing signals to it
I know we have a vocoder in Logic but I want to use MDA Talkbox http://mda.smartelectronix.com/ I have used this plugin with success in the past with other sequencers and got it to work. But I'm having problems with routing the signals to the plugin