Hi Vijaya,
You have a nullpointer exception meaning that somewhere somethign is not filled, though the application is expecting something to be there.
I would suggest debugging the application and checking if you have an empty object. I suspect it to be that you need to create the fileobject and enter that in the java action.