Created 11-29-2024 09:44 AM
Hi everyone,
I hope everything is fine with you.
I'm having an issue with my nifi flow, I'm using nifi 1.26.0 and a PutFTP processor.
In queue, my files have attributes and everything is ok, but when the file goes to PutFTP it seems like it loses his attributes.
My processor gives this error
PutFTP[id=0193100b-ea3b-104f-002c-f975c98b8819] Processing halted: yielding [1 sec]: java.lang.NullPointerException: Cannot invoke "String.startsWith(String)" because "fullPathWithSlash" is null
Does anyone face something like that?
Thanks in advance.
Created 02-24-2025 12:17 PM
Can you please share absolute path details? I am guessing error in that string statement.
Created 02-25-2025 05:49 AM
@dan_lucas
From the exception, this appears to be a configuration issue most likely.
You'll want to verify the NiFi Expression Language statement used in the putFTP processor's "Remote Path" property.
I assume you have something configured there like ${absolute.path}/${airlinename} in that property?
If you manually connect to the FTP server can you successfully navigate the path?
Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.
Thank you,
Matt