You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Burak Gursoy (JIRA)" <ji...@apache.org> on 2017/03/23 17:25:41 UTC

[jira] [Created] (OOZIE-2842) NullPointerException when there is a lone or additional "}" in in workflow.xml

Burak Gursoy created OOZIE-2842:
-----------------------------------

             Summary: NullPointerException when there is a lone or additional "}" in <file> in workflow.xml
                 Key: OOZIE-2842
                 URL: https://issues.apache.org/jira/browse/OOZIE-2842
             Project: Oozie
          Issue Type: Bug
    Affects Versions: 4.1.0
            Reporter: Burak Gursoy
            Priority: Minor


Hi,

Sample definiton (tonice the typo "<file>test.pl}</file>"):

{code}
    <action name="my-hive-action"
            retry-max="3"
            retry-interval="10"
        >
        <hive xmlns="uri:oozie:hive-action:0.4">
            <script>test.hql</script>
            <file>test.pl}</file>
        </hive>
        <ok to="end"/>
        <error to="kill"/>
    </action>
{code}

leads to an immediate kill resulting with with "NullPointerException" with no logs. 

The actual value I've discovered this with was:

{code}
            <file>${wf:actionData('get-config')['myvar']}}</file>
{code}

which was a bit hard to see, but the example at the top is a more clear one.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)