My Oracle Support Banner

Error Invoking AddBusinessCalendarDuration (Doc ID 2284189.1)

Last updated on MAY 15, 2019

Applies to:

Oracle Business Process Management Suite - Version 12.2.1.1.0 and later
Information in this document applies to any platform.

Goal

The addBusinessalendarDuration() does not work and the execution fails with transaction time out.
No other error is seen in logs.

This is the function I am trying to execute.
bpm:addBusinessCalendarDuration(bpmn:getDataObject('i_myObj')/ns:strNow,'P0DT0H0M0S','TPM_C_IND','yyyy-MM-dd HH:mm:ss')

 

If you take a thread dump you may notice this stuck thread

"[STUCK] ExecuteThread: '52' for queue: 'weblogic.kernel.Default (self-tuning)'" #174 daemon prio=1 os_prio=0 tid=0x00007f3f00a87800 nid=0x536b runnable [0x00007f3ea874d000]
  java.lang.Thread.State: RUNNABLE
at oracle.core.ojdl.logging.ODLLogger.isLoggable(ODLLogger.java:288)
at oracle.bpm.services.common.logger.BPMLogger.canLog(BPMLogger.java:106)
at oracle.bpm.services.organization.impl.calendar.CalendarMgr.debugLog(CalendarMgr.java:440)
at oracle.bpm.services.organization.impl.calendar.CalendarMgr.skipNonWorkingDays(CalendarMgr.java:568)
at oracle.bpm.services.organization.impl.calendar.CalendarMgr.addCalendarDuration(CalendarMgr.java:244)
at oracle.bpm.services.organization.impl.xpath.GetAbsoluteDurationFromBusinessCalendar.call(GetAbsoluteDurationFromBusinessCalendar.java:81)
at oracle.fabric.common.xml.xpath.FabricXPathFunctionWrapper.evaluate(FabricXPathFunctionWrapper.java:84)
at oracle.xml.xpath.JXPathContext$JXFunction.invoke(JXPathContext.java:213)
at oracle.xml.xpath.JXPathContext$JXFunction.invoke(JXPathContext.java:182)
at oracle.xml.xpath.XPathExtFunction.evaluate(XPathExtFunction.java:335)
at oracle.xml.xpath.JXPathExpression.evaluate(JXPathExpression.java:226)
at oracle.xml.xpath.JXPath.evaluate(JXPath.java:383)
at oracle.bpel.services.workflow.common.xpath.XPathUtil.valueOf(XPathUtil.java:395)
at oracle.bpel.services.workflow.common.xpath.XPathUtil.valueOf(XPathUtil.java:350)
at oracle.bpel.services.workflow.task.impl.WorkflowUtil.getStringValueForXPath(WorkflowUtil.java:2761)
at oracle.bpel.services.workflow.task.impl.AbstractRoutingSlipInterpretor.getStringValueForXPath(AbstractRoutingSlipInterpretor.java:2131)
at oracle.bpel.services.workflow.task.impl.AbstractRoutingSlipInterpretor.getExpirationDuration(AbstractRoutingSlipInterpretor.java:2153)
at oracle.bpel.services.workflow.task.impl.RoutingSlipInterpretor.setTaskExpirationFromParticipant(RoutingSlipInterpretor.java:3389)
at oracle.bpel.services.workflow.task.impl.RoutingSlipInterpretor.setTaskAttributesFromParticipant(RoutingSlipInterpretor.java:3326)
at oracle.bpel.services.workflow.task.impl.RoutingSlipInterpretor.evaluate(RoutingSlipInterpretor.java:2728)
at oracle.bpel.services.workflow.task.impl.RoutingSlipInterpretor.evaluateOnOutcomeUpdatedOrInfoSubmitted(RoutingSlipInterpretor.java:2527)
at oracle.bpel.services.workflow.task.impl.RoutingSlipInterpretor.evaluateOnOutcomeUpdatedOrInfoSubmitted(RoutingSlipInterpretor.java:2559)
at oracle.bpel.services.workflow.task.impl.RoutingSlipInterpretor.evaluate1(RoutingSlipInterpretor.java:625)
at oracle.bpel.services.workflow.task.impl.RoutingSlipInterpretor.evaluate(RoutingSlipInterpretor.java:551)
at oracle.bpel.services.workflow.task.impl.RoutingSlipInterpretor.evaluate(RoutingSlipInterpretor.java:516)
at oracle.bpel.services.workflow.task.impl.TaskService.initiateTask(TaskService.java:1984)
at oracle.bpel.services.workflow.task.impl.TaskService.initiateTask(TaskService.java:947)
at oracle.bpel.services.workflow.task.impl.TaskService.initiateTask(TaskService.java:871)
at sun.reflect.GeneratedMethodAccessor2232.invoke(Unknown Source)

 

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.