<?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: GetFile NullPointerException on Nifi 1.1.1 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/GetFile-NullPointerException-on-Nifi-1-1-1/m-p/171381#M57881</link>
    <description>&lt;P&gt;Hi,
Were you able to resolve this issue? I am getting a similar error in the putEmail processor when setting the property "Attach File" to "True".&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aveek&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jun 2017 16:42:41 GMT</pubDate>
    <dc:creator>aveekchoudhury_</dc:creator>
    <dc:date>2017-06-27T16:42:41Z</dc:date>
    <item>
      <title>GetFile NullPointerException on Nifi 1.1.1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/GetFile-NullPointerException-on-Nifi-1-1-1/m-p/171380#M57880</link>
      <description>&lt;P&gt;GetFile processor throws NullPointerException randomly on 1.1.1. Sometime it throws error and sometime it works. Recently we have installed the version 1.1.1. We have another server where nifi version 0.6.1 is running. According to our observation GetFile works fine on version 0.6.1. The stacktarce is given below:&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;2017-03-15 12:59:46,886 ERROR [Timer-Driven Process Thread-4] o.a.nifi.processors.standard.GetFile GetFile[id=015a107a-9d19-1370-9b86-0816f7e1f7f2] Failed to retrieve files due to org.apache.nifi.processor.exception.FlowFileAccessException: Failed to import data from /var/opt/wdp/nifi-1.1.1/deploy/flow.xml.gz for StandardFlowFileRecord[uuid=6c4b21f3-6105-480f-a1bb-d955a40d416b,claim=,offset=0,name=4327546774486623,size=0] due to java.lang.NullPointerException
2017-03-15 12:59:46,900 ERROR [Timer-Driven Process Thread-4] o.a.nifi.processors.standard.GetFile
org.apache.nifi.processor.exception.FlowFileAccessException: Failed to import data from /var/opt/wdp/nifi-1.1.1/deploy/flow.xml.gz for StandardFlowFileRecord[uuid=6c4b21f3-6105-480f-a1bb-d955a40d416b,claim=,offset=0,name=4327546774486623,size=0] due to java.lang.NullPointerException
at org.apache.nifi.controller.repository.StandardProcessSession.importFrom(StandardProcessSession.java:2649) ~[na:na]
at org.apache.nifi.processors.standard.GetFile.onTrigger(GetFile.java:432) ~[nifi-standard-processors-1.1.1.jar:1.1.1]
at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27) [nifi-api-1.1.1.jar:1.1.1]
at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1099) [nifi-framework-core-1.1.1.jar:1.1.1]
at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:136) [nifi-framework-core-1.1.1.jar:1.1.1]
at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:47) [nifi-framework-core-1.1.1.jar:1.1.1]
at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:132) [nifi-framework-core-1.1.1.jar:1.1.1]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_111]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_111]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_111]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_111]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_111]
Caused by: java.lang.NullPointerException: null&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Mar 2017 11:25:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/GetFile-NullPointerException-on-Nifi-1-1-1/m-p/171380#M57880</guid>
      <dc:creator>mahfuz_amin</dc:creator>
      <dc:date>2017-03-23T11:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: GetFile NullPointerException on Nifi 1.1.1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/GetFile-NullPointerException-on-Nifi-1-1-1/m-p/171381#M57881</link>
      <description>&lt;P&gt;Hi,
Were you able to resolve this issue? I am getting a similar error in the putEmail processor when setting the property "Attach File" to "True".&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aveek&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 16:42:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/GetFile-NullPointerException-on-Nifi-1-1-1/m-p/171381#M57881</guid>
      <dc:creator>aveekchoudhury_</dc:creator>
      <dc:date>2017-06-27T16:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: GetFile NullPointerException on Nifi 1.1.1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/GetFile-NullPointerException-on-Nifi-1-1-1/m-p/171382#M57882</link>
      <description>&lt;P&gt;Hi Aveek,&lt;/P&gt;&lt;P&gt;I have resolved this issue. I have migrated from nifi 0.6.1 to 1.1.1 but was using the old nar packer (nifi-standard-services-api-nar) in the project's pom. That's why I was having weird issue. Moving to the version 1.1.1 of nifi-standard-services-api-nar fixed the issue. I hope it helps.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Mahfuz&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 13:11:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/GetFile-NullPointerException-on-Nifi-1-1-1/m-p/171382#M57882</guid>
      <dc:creator>mahfuz_amin</dc:creator>
      <dc:date>2017-06-28T13:11:57Z</dc:date>
    </item>
  </channel>
</rss>

