<?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: Can't unambiguously select between fixed arity signatures error in nifi 1.16.3 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Can-t-unambiguously-select-between-fixed-arity-signatures/m-p/346726#M234974</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/37332"&gt;@hegdemahendra&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This looks like a regression to me. Could you please open a bug Jira on&amp;nbsp;&lt;A href="https://issues.apache.org/jira/projects/NIFI/" target="_blank"&gt;https://issues.apache.org/jira/projects/NIFI/&lt;/A&gt;&amp;nbsp;to report this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A workaround for this would be to change your code like below:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;log.info(String(xyzId));&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jul 2022 06:01:29 GMT</pubDate>
    <dc:creator>araujo</dc:creator>
    <dc:date>2022-07-04T06:01:29Z</dc:date>
    <item>
      <title>Can't unambiguously select between fixed arity signatures error in nifi 1.16.3</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-t-unambiguously-select-between-fixed-arity-signatures/m-p/346682#M234964</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to upgrade nifi from 1.12.1 version to 1.16.3.&lt;/P&gt;&lt;P&gt;I have a script 'ECMAScript' which was working fine in 1.12.1and now behaving different in 1.16.3.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Below is the portion of code giving error in 1.16 version when 'xyzId' is null.&lt;/P&gt;&lt;P&gt;But it just logs null as expected in 1.12 version&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var xyzId = flowFile.getAttribute('xyzId');&lt;BR /&gt;log.info(xyzId);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the error in 1.16 version when null value received for above line (log.info() line throws below error)&lt;BR /&gt;&lt;BR /&gt;imer-Driven Process Thread-8] o.a.nifi.processors.script.ExecuteScript ExecuteScript[id=bae38131-0181-1000-29af-196312cdd9d9] ExecuteScript[id=bae38131-0181-1000-29af-196312cdd9d9] failed to process due to org.apache.nifi.processor.exception.ProcessException: java.lang.RuntimeException: java.lang.NoSuchMethodException: Can't unambiguously select between fixed arity signatures [(org.apache.nifi.logging.LogMessage), (java.lang.String)] of the method org.apache.nifi.controller.TerminationAwareLogger.info for argument types [null]; rolling back session&lt;BR /&gt;org.apache.nifi.processor.exception.ProcessException: java.lang.RuntimeException: java.lang.NoSuchMethodException: Can't unambiguously select between fixed arity signatures [(org.apache.nifi.logging.LogMessage), (java.lang.String)] of the method org.apache.nifi.controller.TerminationAwareLogger.info for argument types [null]&lt;BR /&gt;at org.apache.nifi.processors.script.ExecuteScript.onTrigger(ExecuteScript.java:245)&lt;BR /&gt;at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1283)&lt;BR /&gt;at org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:214)&lt;BR /&gt;at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:103)&lt;BR /&gt;at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110)&lt;BR /&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)&lt;BR /&gt;at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)&lt;BR /&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)&lt;BR /&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:748)&lt;BR /&gt;Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: Can't unambiguously select between fixed arity signatures [(org.apache.nifi.logging.LogMessage), (java.lang.String)] of the method org.apache.nifi.controller.TerminationAwareLogger.info for argument types [null]&lt;BR /&gt;at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:397)&lt;BR /&gt;at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:449)&lt;BR /&gt;at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:406)&lt;BR /&gt;at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:402)&lt;BR /&gt;at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:155)&lt;BR /&gt;at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)&lt;BR /&gt;at org.apache.nifi.script.impl.JavascriptScriptRunner.run(JavascriptScriptRunner.java:39)&lt;BR /&gt;at org.apache.nifi.processors.script.ExecuteScript.onTrigger(ExecuteScript.java:228)&lt;BR /&gt;... 11 common frames omitted&lt;BR /&gt;Caused by: java.lang.NoSuchMethodException: Can't unambiguously select between fixed arity signatures [(org.apache.nifi.logging.LogMessage), (java.lang.String)] of the method org.apache.nifi.controller.TerminationAwareLogger.info for argument types [null]&lt;BR /&gt;at jdk.internal.dynalink.beans.OverloadedMethod.throwAmbiguousMethod(OverloadedMethod.java:225)&lt;BR /&gt;at jdk.nashorn.internal.scripts.Script$299$\^eval\_.:program(&amp;lt;eval&amp;gt;:13)&lt;BR /&gt;at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:637)&lt;BR /&gt;at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:494)&lt;BR /&gt;at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)&lt;BR /&gt;... 18 common frames omitted&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any idea how to fix this? I want to avoid checking null values for logging also&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mahendra&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 18:39:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-t-unambiguously-select-between-fixed-arity-signatures/m-p/346682#M234964</guid>
      <dc:creator>hegdemahendra</dc:creator>
      <dc:date>2022-07-01T18:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can't unambiguously select between fixed arity signatures error in nifi 1.16.3</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-t-unambiguously-select-between-fixed-arity-signatures/m-p/346726#M234974</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/37332"&gt;@hegdemahendra&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This looks like a regression to me. Could you please open a bug Jira on&amp;nbsp;&lt;A href="https://issues.apache.org/jira/projects/NIFI/" target="_blank"&gt;https://issues.apache.org/jira/projects/NIFI/&lt;/A&gt;&amp;nbsp;to report this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A workaround for this would be to change your code like below:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;log.info(String(xyzId));&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 06:01:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-t-unambiguously-select-between-fixed-arity-signatures/m-p/346726#M234974</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-07-04T06:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can't unambiguously select between fixed arity signatures error in nifi 1.16.3</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-t-unambiguously-select-between-fixed-arity-signatures/m-p/346924#M235019</link>
      <description>&lt;P&gt;Issue created :&amp;nbsp;&lt;A href="https://issues.apache.org/jira/browse/NIFI-10197" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-10197&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 05:50:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-t-unambiguously-select-between-fixed-arity-signatures/m-p/346924#M235019</guid>
      <dc:creator>hegdemahendra</dc:creator>
      <dc:date>2022-07-06T05:50:52Z</dc:date>
    </item>
  </channel>
</rss>

