Member since
03-23-2017
5
Posts
2
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1393 | 06-28-2017 06:34 AM | |
2548 | 06-28-2017 06:11 AM |
06-28-2017
06:34 AM
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.
... View more
06-28-2017
06:11 AM
2 Kudos
Hi Aveek, 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. Thanks. Mahfuz
... View more
03-23-2017
04:28 AM
GetFTP processor throws NullPointerException randomly on 1.1.1. 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 GetFTP works fine on version 0.6.1. To replicate the flows we have copied the flow.xml.gz file from nifi 0.6.1 to 1.1.1.Our custom processors are using the API version 0.6.1 in the project. The stacktarce is given below: 2017-03-09 02:00:02,467 ERROR [Timer-Driven Process Thread-8] o.apache.nifi.processors.standard.GetFTP GetFTP[id=1485b432-05c4-463d-a5f2-6ef76840ca6b] Unable to retrieve file /FTP_SERVER/agcd/precip/data/IDCKZRDAT0_precip_total_r005_20160806_20160806.nc due to java.lang.NullPointerException: org.apache.nifi.processor.exception.FlowFileAccessException: Failed to import data from org.apache.commons.net.io.SocketInputStream@7ab15a34 for StandardFlowFileRecord[uuid=0d0f68e0-cb9f-4c77-8a9a-c0c47a0198a0,claim=,offset=0,name=3769562285059775,size=0] due to java.lang.NullPointerException
2017-03-09 02:00:02,471 ERROR [Timer-Driven Process Thread-8] o.apache.nifi.processors.standard.GetFTP
org.apache.nifi.processor.exception.FlowFileAccessException: Failed to import data from org.apache.commons.net.io.SocketInputStream@7ab15a34 for StandardFlowFileRecord[uuid=0d0f68e0-cb9f-4c77-8a9a-c0c47a0198a0,claim=,offset=0,name=3769562285059775,size=0] due to java.lang.NullPointerException
at org.apache.nifi.controller.repository.StandardProcessSession.importFrom(StandardProcessSession.java:2690) ~[na:na]
at org.apache.nifi.processors.standard.GetFileTransfer.onTrigger(GetFileTransfer.java:194) ~[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.QuartzSchedulingAgent$2.run(QuartzSchedulingAgent.java:165) [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.run(FutureTask.java:266) [na:1.8.0_111]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_111]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [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
... View more
Labels:
- Labels:
-
Apache NiFi
03-23-2017
04:25 AM
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: 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
... View more
Labels:
- Labels:
-
Apache NiFi