[ 
https://issues.apache.org/jira/browse/NIFI-5807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Villard resolved NIFI-5807.
----------------------------------
    Resolution: Feedback Received

Apache NiFi 1.x is no longer maintained and no new release is planned on the 
1.x release line. Marking as resolved as part of a cleanup operation. Please 
open a new one with an updated description if this is still relevant for NiFi 
2.x.

> ListFTP uncaught exception
> --------------------------
>
>                 Key: NIFI-5807
>                 URL: https://issues.apache.org/jira/browse/NIFI-5807
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.7.1
>         Environment: Centos7, OpenJDK Runtime Environment (build 
> 1.8.0_181-b13)
>            Reporter: Radim Kučera
>            Priority: Critical
>              Labels: easyfix
>
> Using ListFTP / FetchFTP processors to interact with a slightly bizzare FTP, 
> which identifies itself as a "Dopra version: 1.6" but otherwise acts as a 
> pretty standard FTP causes following exception.
> By all means this should be at least user-overwritable exception, in a terms 
> of "I really don't care what system that is until it works as expected," 
> which is exactly this case.
>  As you may expect, it is a vendor stripped down *nix OS Made in China. But 
> then again, interacting with it by CLI utilities is fully functional. Is 
> there anything that can be fixed in this matter?
>  
> {noformat}
> 2018-11-09 12:38:04,111 INFO [NiFi Web Server-97213] 
> o.a.n.c.s.StandardProcessScheduler Starting 
> ListFTP[id=1c1418b7-342c-1e52-6f52-a9a083e8fff7]
> 2018-11-09 12:38:04,113 INFO [Timer-Driven Process Thread-8] 
> o.a.n.c.s.TimerDrivenSchedulingAgent Scheduled 
> ListFTP[id=1c1418b7-342c-1e52-6f52-a9a083e8fff7] to run with 1 threads
> 2018-11-09 12:38:04,169 ERROR [Timer-Driven Process Thread-1] 
> o.a.nifi.processors.standard.ListFTP 
> ListFTP[id=1c1418b7-342c-1e52-6f52-a9a083e8fff7] 
> ListFTP[id=1c1418b7-342c-1e52-6f52-a9a083e8fff7] failed to process session 
> due to org.apache.commons.net.ftp.parser.ParserInitializationException: 
> Unknown parser type: Dopra version: 1.6; Processor Administratively Yielded 
> for 1 sec: org.apache.commons.net.ftp.parser.ParserInitializationException: 
> Unknown parser type: Dopra version: 1.6
> org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown 
> parser type: Dopra version: 1.6
>     at 
> org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:170)
>     at 
> org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:94)
>     at 
> org.apache.commons.net.ftp.FTPClient.__createParser(FTPClient.java:3381)
>     at 
> org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:3338)
>     at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:3016)
>     at 
> org.apache.nifi.processors.standard.util.FTPTransfer.getListing(FTPTransfer.java:235)
>     at 
> org.apache.nifi.processors.standard.util.FTPTransfer.getListing(FTPTransfer.java:191)
>     at 
> org.apache.nifi.processors.standard.ListFileTransfer.performListing(ListFileTransfer.java:106)
>     at 
> org.apache.nifi.processor.util.list.AbstractListProcessor.onTrigger(AbstractListProcessor.java:405)
>     at 
> org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)
>     at 
> org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1165)
>     at 
> org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:203)
>     at 
> org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:117)
>     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
>     at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
>     at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
>     at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>     at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>     at java.lang.Thread.run(Thread.java:748)
> 2018-11-09 12:38:04,169 WARN [Timer-Driven Process Thread-1] 
> o.a.n.controller.tasks.ConnectableTask Administratively Yielding 
> ListFTP[id=1c1418b7-342c-1e52-6f52-a9a083e8fff7] due to uncaught Exception: 
> org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown 
> parser type: Dopra version: 1.6
> org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown 
> parser type: Dopra version: 1.6
>     at 
> org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:170)
>     at 
> org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:94)
>     at 
> org.apache.commons.net.ftp.FTPClient.__createParser(FTPClient.java:3381)
>     at 
> org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:3338)
>     at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:3016)
>     at 
> org.apache.nifi.processors.standard.util.FTPTransfer.getListing(FTPTransfer.java:235)
>     at 
> org.apache.nifi.processors.standard.util.FTPTransfer.getListing(FTPTransfer.java:191)
>     at 
> org.apache.nifi.processors.standard.ListFileTransfer.performListing(ListFileTransfer.java:106)
>     at 
> org.apache.nifi.processor.util.list.AbstractListProcessor.onTrigger(AbstractListProcessor.java:405)
>     at 
> org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)
>     at 
> org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1165)
>     at 
> org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:203)
>     at 
> org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:117)
>     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
>     at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
>     at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
>     at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>     at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>     at java.lang.Thread.run(Thread.java:748){noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to