Clarity PPM

Expand all | Collapse all

Custom Process Failure

  • 1.  Custom Process Failure

    Posted 07-02-2017 09:51 PM

    Hi All, 

     

    We are on version 14.3 of CA PPM tool. We have created a custom process to generate and email a file everyday. It has been running without a problem for a long time now but today we have come across process failure. The error message is as follow:

    BPM-0704: An error occurred while executing custom script: org.apache.commons.jelly.JellyTagException: null:982:74: <email:email> Property 'attach' has no write method at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:671) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:259) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42) 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:67) 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:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalArgumentException: Property 'attach' has no write method at org.apache.commons.beanutils.ConvertingWrapDynaBean.set(ConvertingWrapDynaBean.java:71) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:243) ... 14 more Root cause java.lang.IllegalArgumentException: Property 'attach' has no write method at org.apache.commons.beanutils.ConvertingWrapDynaBean.set(ConvertingWrapDynaBean.java:71) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:243) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42) 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:67) 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:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

     

    Any help on fixing this error would be greatly appreciated. 

    Many thanks, 

    Dave

     



  • 2.  Re: Custom Process Failure

    Posted 07-04-2017 09:38 AM

    Hi

     

    BPM-0704: An error occurred while executing custom script: org.apache.commons.jelly.JellyTagException: null:982:74: <email:email> Property 'attach' has no write method at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:671) at

     

    Are you using?

    xmlns:email="jelly:org.apache.commons.jelly.tags.email.EmailTagLibrary"

     

    We cannot help without GEL script code.



  • 3.  Re: Custom Process Failure

    Posted 08-17-2017 05:15 PM

    Many thanks!



  • 4.  Re: Custom Process Failure

    Posted 07-04-2017 09:48 AM

    Have you checked these ?

     

    BPM-0704: ... ClassCastException: org.apache.xerces.dom.DeferredCommentImpl for GEL in 14.x

    https://communities.ca.com/thread/241733689  

     

     

    Attachments in HTML Email 

    https://communities.ca.com/message/97926685 

     

     

    Getting error with GEL email 

    https://communities.ca.com/message/15436324

     

     

    [Q] Help with GEL/Process, save as text tab delimited file.. then Email 

    https://communities.ca.com/message/17969184

     

     

     

    NJ 



  • 5.  Re: Custom Process Failure

    Posted 08-17-2017 05:14 PM

    Many thanks!



  • 6.  Re: Custom Process Failure

    Posted 08-18-2017 08:40 AM

    Thanks for the information 

     

    Regards,

    Samik