AnsweredAssumed Answered

GEL Script Error

Question asked by ben.jones on Sep 24, 2013
Latest reply on Sep 25, 2013 by ben.jones
I've got a gel xog script that's returning the error message below:
[XOG]XOG failed: org.apache.commons.jelly.JellyTagException: null:135:49: <gel:expr> java.lang.NullPointerException
What's strange is that regardless of the error message, the script successfully xogs in the data into the project field, so i've got an erroring process that's actually worked..

The project field is a multi valued lookup field that was actually created in the investment object. The xog part looks fine, infact here's all of the results after the process errored:
[XOG]Logging into Clarity XOG at http://xyz:8080.

[XOG][XOG]Log in successful 79771434__34420C3B-1EB0-42C3-9BD5-FE047DC27ACC

XML for build a product =<?xml version="1.0" encoding="UTF-8"?>
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_project.xsd">
    <Header action="write" externalSource="NIKU" objectType="project" version="12.1.0.5840"/>
    <Projects>
        <Project name="Test Project IA 6" projectID="PJ011559">
            <CustomInformation>
                <ColumnValue name="o2_area">
                    <Value>o2_16</Value>
                    <Value>o2_19</Value>
                </ColumnValue>
            </CustomInformation>
        </Project>
    </Projects>
</NikuDataBus>

[XOG]XOG operation completed [Total 1, Inserted 0, Updated 1, Failed 0]

[XOG]XOG failed: org.apache.commons.jelly.JellyTagException: null:135:49: <gel:expr> java.lang.NullPointerException

Time taken: 2.012 seconds

java.lang.Exception

at com.niku.bpm.services.ExecuteCustomAction.actionCompleted(ExecuteCustomAction.java:305)

at com.niku.bpm.services.ExecuteCustomAction.run(ExecuteCustomAction.java:231)

at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727)

at java.lang.Thread.run(Thread.java:619)
Does anyone know how to fix this?

Ben

Outcomes