The file you are using as input cannot be found. Check if you are using a valid file.
Hi Anil,
The file not found exception occurred in the logs.
I would suggest to implement logger in the java action to trace the issue.
This looks like you are trying to read a file called “NewPDF”. Does this file exist? The error message suggests it doesn’t.
I suspect you actually want to read from an existing Mendix FileDocument. To do this take a look at the getFileDocumentContent method in the Core API.
https://apidocs.rnd.mendix.com/10/runtime/com/mendix/core/Core.html#getFileDocumentContent(com.mendix.systemwideinterfaces.core.IContext,com.mendix.systemwideinterfaces.core.IMendixObject)
I hope this helps.
Hi Anil,
If you are still stuck on this problem it may help to deploy your application to Eclipse and try debugging in Eclipse. I have found that it sometimes offers additional information in the logs.
Hope that helps.