In the process instance that failed , I saw this
org.apache.commons.jelly.JellyTagException: null:48:77: <gel:persist> com.niku.bpm.BpmException: callPMD - Cannot execute statement: bpm.updateCustomScriptProperty_set
at com.niku.union.gel.tags.PersistTag.doTag(PersistTag.java:99)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at com.niku.union.gel.tags.ScriptTag.doTag(ScriptTag.java:20)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
at com.niku.union.gel.GELScript.run(GELScript.java:48)
at com.niku.union.gel.GELController.invoke(GELController.java:74)
at com.niku.bpm.services.ExecuteCustomAction.run(ExecuteCustomAction.java:207)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Caused by: com.niku.union.bpm.CustomScriptException: com.niku.bpm.BpmException: callPMD - Cannot execute statement: bpm.updateCustomScriptProperty_set
at com.niku.bpm.customaction.CustomScriptPropertyControllerImpl.persistProperty(CustomScriptPropertyControllerImpl.java:270)
at com.niku.union.gel.tags.PersistTag.doTag(PersistTag.java:95)
... 11 more
Caused by: com.niku.bpm.BpmException: callPMD - Cannot execute statement: bpm.updateCustomScriptProperty_set
at com.niku.bpm.customaction.persistence.CustomActionPersistenceUtils.callPMD(CustomActionPersistenceUtils.java:677)
at com.niku.bpm.customaction.CustomScriptPropertyControllerImpl.persistProperty(CustomScriptPropertyControllerImpl.java:252)
... 12 more
Caused by: com.niku.union.persistence.PersistenceException:
SQL error code: 0
Error message: [CA Clarity][Oracle JDBC Driver]Object has been closed.
Executed:
UPDATE bpm_custom_script_props
SET property_value =?,
LAST_UPDATED_DATE =?,
LAST_UPDATED_BY =?
WHERE process_id = ?
AND process_version_id = ?
AND property_name = ?
AND scope_type = ?
Derived from statement:
<?xml version="1.0" encoding="UTF-8"?>
<statement batchable="true" sortColumnPath="/data/header/sortInfo/@sortColumn" sortDirectionPath="/data/header/sortInfo/@sortDirection" slicePath="/data/header/pagination/sliceInfo/@slice" sliceSizePath="/data/header/pagination/sliceInfo/@sliceSize" inputSource="map" xmlns="http://schemas.niku.com/2002/pmd">
<sql dbVendor="all">
<text>
UPDATE bpm_custom_script_props
SET property_value =?,
LAST_UPDATED_DATE =?,
LAST_UPDATED_BY =?
WHERE process_id = ?
AND process_version_id = ?
AND property_name = ?
AND scope_type = ?
</text>
<param name="property_value" type="string" direction="IN" expressionListDelimiter=","/>
<param replace="timestamp" direction="IN" expressionListDelimiter=","/>
<param replace="userId" direction="IN" expressionListDelimiter=","/>
<param name="process_id" type="long" direction="IN" expressionListDelimiter=","/>
<param name="process_version_id" type="long" direction="IN" expressionListDelimiter=","/>
<param name="property_name" type="string" direction="IN" expressionListDelimiter=","/>
<param name="scope_type" type="string" direction="IN" expressionListDelimiter=","/>
</sql>
</statement>
Referenced by:
<?xml version="1.0" encoding="UTF-8"?>
<statementRef id="bpm.updateCustomScriptProperty_set_nested_0" inputSource="map" inputMapIndex="0" sortColumnPath="/data/header/sortInfo/@sortColumn" sortDirectionPath="/data/header/sortInfo/@sortDirection" slicePath="/data/header/pagination/sliceInfo/@slice" sliceSizePath="/data/header/pagination/sliceInfo/@sliceSize" defaultSliceSize="20" ignoreIfError="false" hideResultSets="false" xmlns="http://schemas.niku.com/2002/pmd"/>
Using input:
{property_value=6858101, process_id=5113657, process_version_id=6858101, prope...
CA support does not let choose CA Clarity PPM under list of products , so I cannot open CA support ticket.
Regards,
AK