AnsweredAssumed Answered

Gel Script Error after upgrade

Question asked by vivek.gupta4 on Apr 4, 2014
Latest reply on Apr 9, 2014 by gcubed

We have one Gel script which calls our custom Java class. This Gel script used to run perfectly in Clarity v12.1.1, but has started giving error after upgrade to Clarity v13.3.

The Gel script is something like:

<gel:script xmlns:SOAP-ENV=""
    xmlns:sql="jelly:sql" xmlns:xog="" xmlns:util="jelly:util"
    <core:catch var="v_exception">
        <core:new className="AGClient" var="a"/>
        <core:invoke method="UploadtoAG" on="${a}" var="c">
            <core:arg type="boolean" value="true"/>
        <!-- Check for errors -->
        <core:when test="${v_exception != null}">
            <gel:log>Error: ${v_exception}</gel:log>
The Error is: "Error: org.apache.commons.jelly.JellyTagException: null:237:54: <core:invoke> method UploadtoAG threw exception: org/apache/ws/commons/schema/XmlSchemaException"
There is no log generated in app-ca.log or bg-ca.log
If I use the same class in a java program, it works perfectly fine, like this:
public class TestMe {
   public  static void main(String[] args) {
            AGClient agc = new AGClient();