AnsweredAssumed Answered

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

Question asked by mtognetti on Nov 21, 2017
Latest reply on Nov 21, 2017 by mtognetti

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:script
 xmlns:core="jelly:core"
 xmlns:gel="jelly:com.niku.union.gel.GELTagLibrary">

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


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

 C:\XOG\bin>gel -Hello_World.xml
 
 java.lang.reflect.InvocationTargetException
        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.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
 
 Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
        at com.niku.union.gel.GELClient.processArgs(GELClient.java:200)
        at com.niku.union.gel.GELClient.invoke(GELClient.java:66)
        at com.niku.union.gel.GELClient.main(GELClient.java:59)

 

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

Outcomes