<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: javax.script.ScriptException: NameError: name 's' is not defined in in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/javax-script-ScriptException-NameError-name-s-is-not-defined/m-p/226768#M188628</link>
    <description>&lt;P&gt;That error message is misleading, Jython doesn't put the "real" error message in the getMessage() method of its exception(s), see &lt;A href="http://bugs.jython.org/issue2650" target="_blank"&gt;this issue&lt;/A&gt;. You've got a couple things going on here, the first is that you can't use the bang character (!) for a boolean NOT, instead you should use "not". After that, if the file doesn't exist, it will be transferred to REL_SUCCESS in your first "if" statement, and then since "exists" is never set to True, then it will try to transfer the same flow file again. Even though they're the same relationship, the framework notes that a flow file has already been marked for transfer, and will complain if it is transferred again (even to the same relationship), as this identifies a logic bug.&lt;/P&gt;&lt;P&gt;I'm not exactly following what you're trying to do here, please feel free to elaborate and I can help out getting you where you need to go.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Nov 2018 05:36:18 GMT</pubDate>
    <dc:creator>mburgess</dc:creator>
    <dc:date>2018-11-06T05:36:18Z</dc:date>
  </channel>
</rss>

