Clarity PPM

Expand all | Collapse all

Process throws error while running

  • 1.  Process throws error while running

    Posted 11-24-2015 05:12 AM

    :150) at BPM-0704: An error occurred while executing custom script: org.apache.commons.jelly.JellyTagException: null:157:108: "/home/spatqa1/xml_log"/xog_in_nxp34485_24Nov1511:01:16:117.xml (No such file or directory) at com.niku.union.gel.tags.SerializeTag.doTag( at at at org.apache.commons.jelly.TagSupport.invokeBody( at org.apache.commons.jelly.tags.core.IfTag.doTag( at at at org.apache.commons.jelly.TagSupport.invokeBody( at org.apache.commons.jelly.tags.core.ForEachTag.doTag(





    When i run a process which contains a xog, it throws the above error.

    Any particular reason behind this?





  • 2.  Re: Process throws error while running

    Posted 11-24-2015 07:12 AM

    No such file or directory


    Are you trying to write or read a directory that does not exist or to read a file which does not exist?

  • 3.  Re: Process throws error while running

    Posted 11-24-2015 08:17 AM
    <gel:parse var="cc_change">              <!-- entering into xog-->

    <NikuDataBus xmlns:xsi="" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_resource.xsd">

    <Header action="write" externalSource="NIKU" objectType="resource" version=""/>


    <Resource externalId="${xog_res[4]}" resourceId="${xog_res[4]}" username="${xog_res[0]}">

    <PersonalInformation emailAddress="${xog_res[3]}" firstName="${xog_res[1]}" lastName="${xog_res[2]}"/><OBSAssocs complete="false">

    <OBSAssoc id="CCOBS" name="SC_Cost Center" unitPath="${xog_cc}"/>





    <gel:formatDate format="ddMMMyyHH:mm:ss:SSS" stringVar="date"/>


    fileName="${vgeloutputpath}/dact_in_${xog_res[0]}_${date}.xml" var="${cc_change}"/>

    <soap:invoke endpoint="${vxogurl}/niku/xog" var="xoginResponse">



        xmlns:soapenv="" xmlns:xog="">







        <gel:include select="$cc_change"/>







        fileName="${vgeloutputpath}/dact_out_${xog_res[0]}_${date}.xml" var="${xoginResponse}"/>



    The above is the one where i have retrieved the attribute data for user and trying to xog in the data.

    But it shows the earlier message.




  • 4.  Re: Process throws error while running

    Posted 11-24-2015 08:22 AM

    You appear to be trying to create a file name with a colon (several in fact) in it?  "xog_in_nxp34485_24Nov1511:01:16:117.xml"


    Does your filesystem support colons in filenames?  (I think Windows doesn't for example, Unix does though), trying changing the format of the filename you are trying to create. Also make sure that the file-location is valid (i.e. "vgeloutputpath")

  • 5.  Re: Process throws error while running

    Posted 11-24-2015 08:46 AM

    Yes David.

    The colon is supported as we have another process which is created in the same format(consist of date separated by colon)





    I checked and edited but did not get any success.

  • 6.  Re: Process throws error while running

    Posted 11-24-2015 11:56 AM

    I'm seeing double-quotes around the path name but not around the full path including the filename.


    E.g. did you mean to have this: "/home/spatqa1/xml_log/xog_in_nxp34485_24Nov1511:01:16:117.xml"


    But instead you have this: "/home/spatqa1/xml_log"/xog_in_nxp34485_24Nov1511:01:16:117.xml


    Or even mean to have no quotes at all like this: /home/spatqa1/xml_log/xog_in_nxp34485_24Nov1511:01:16:117.xml


    Also the GEL script snippet posted above doesn't appear to be the same one generating this error, as you have the text 'dact_in' within the gel and here it is 'xog_in'.  Please double-check you don't have another serialize somewhere that is creating the path incorrectly.


    Windows gives a similar issue if you do it like that (I am forcing the issue here on purpose to demonstrate, it's not exactly how you're having your parameterization of the filename done):



      <core:set var="PATH" value="&quot;c:\\clarity\\misc\\gels&quot;" />
      <core:set var="FILE" value="test.xml" />


      <gel:parse var="DATA"><root>hello, world!</root></gel:parse>


      <gel:serialize var="${DATA}" fileName="${PATH}\\${FILE}" />






    C:\Clarity\13.2.0\bin>gel \Clarity\misc\gels\serialize.gel


    Internal error: file:/C:/Clarity/misc/gels/serialize.gel:10:60: <gel:serialize> "c:\clarity\misc\gels"\test.xml (The filename, directory name, or volume label syntax is incorrect)




    (With -verbose as well, you get the stack traces that should eventually end with a Root cause entry pointing to a, as I suspect your full stack trace should show too but appears to be truncated above).

  • 7.  Re: Process throws error while running