Clarity PPM

Expand all | Collapse all

GEL -- Unable to successfully run script -- Java error

Jump to Best Answer
  • 1.  GEL -- Unable to successfully run script -- Java error

    Posted 11-21-2017 01:27 PM

    I am having issues with my implementation of XOG/GEL.  To be more precise, it it GEL.  I created a simple helloWorld gel script (from the PPM Training for version 15.2) and I am getting an error returned. 

    My script looks like this:


     <gel:out>Hello World</gel:out>

    The Error I receive is this: (white space added to ease reading)

     C:\XOG\bin>gel -Hello_World.xml
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at com.werken.forehead.Forehead.main(
     Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
            at com.niku.union.gel.GELClient.processArgs(
            at com.niku.union.gel.GELClient.invoke(
            at com.niku.union.gel.GELClient.main(


    This implementation is on my local PC, not on the PPM server.  I have read a couple of items here in the community but they do not appear to fit the problem, nor provide the solution (I tried them to be sure). I have also searched Google, but not much in the way or results.


    I am wondering I have taken a wrong turn by puting xog on my local device because it needs to talk directly with items in the Clarity\lib folder?  Is that possible? Or, am I reading too much into it. 

    Looking forward to hearing what you have to say. 

    Thank you in advance.

    Michael Tognetti

  • 2.  Re: GEL -- Unable to successfully run script -- Java error
    Best Answer

    Posted 11-21-2017 05:26 PM

    I think this com.niku.union.gel.GELClient.processArgs( error is because your command is


    gel -Hello_World.xml


    Usage: gel [scriptFile] [-script scriptFile -o outputFile -Dsysprop=syspropval -validate]


    Is your xml file name -Hello_World.xml or Hello_world.xml


    the - it sees is triggering it to look for the three options.


    Try gel Hello_World.xml




  • 3.  Re: GEL -- Unable to successfully run script -- Java error

    Posted 11-21-2017 06:39 PM

    Thank you.  I misread the guidance and included the dash.