File Upload Widget NullPointerException null path in data app

Hello everyone,

I am getting a NullPointerException error when I am trying to upload an empty .csv file through the “File Upload Widget” node which is part of a data app component.

However the error happens only when I configure and execute it through the Data App component.

If I copy paste the same node next to itself and select the file manually then it executes just fine.

Same if I choose a file which is not empty through the data app, it executes fine.

Is this a bug or am I doing something wrong?

I am using KNIME AP 4.7.4

Thanks to anyone who can help!!