Automic Workload Automation

 View Only

Last line in groovy script object contains NULL causing an error

  • 1.  Last line in groovy script object contains NULL causing an error

    Posted 2 days ago

    Hello,

    we have a job that we use to build and create automic objects and promptsets based in an external application. This allows us to not have to manually build the objects in Automic and rather provide it with a few prompt values and it is able to quickly create them for us. This process uses groovy code in order for this to work, and has been working without issue until we upgraded to version 24.4. We now get an error message similar to the following: 
    E:\Automic\Agents\windows\Resources\0200\0003313715\0003313715_0001.groovy: 289: unexpected char: 0x0 @ line 289, column 1.

    When looking at the script file the very last line in the file is filled with OxO/NULL characters which is causing the error. We are using the EXT_INTERPRETERS for this process, so it seems something has changed in 24.4 that I am unable to find, it was previously working on 24.2. Has anyone else ran into something similar? I am still investigating, from my end but not seeing anything that makes sense why this would all of a suddenly stopped working. 

    Thanks in advance!



    ------------------------------
    Mason Wheeler
    Application Support Engineer
    ------------------------------