AnsweredAssumed Answered

BPM-0704: An error occurred while executing custom script: java.lang.ClassCastException: org.apache.xerces.dom

Question asked by sparc.helpdesk on Sep 18, 2015
Latest reply on Sep 18, 2015 by navzjoshi00

We recently upgraded to version 14.2.

When i created a new custom script for a process and ran this through a job i receive the following error in the process logs. The same custom script runs fine in version 13.3. but not in 14.2. Any reasons as to why this occurs?

 

BPM-0704: An error occurred while executing custom script: java.lang.ClassCastException: org.apache.xerces.dom.DeferredCommentImpl cannot be cast to org.w3c.dom.Element at com.niku.union.gel.GELValidator.limitSQLQuery(GELValidator.java:379) at com.niku.union.gel.GELScript.run(GELScript.java:55) 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:745)

 

 

Thanks

Jerish Samuel

Outcomes