I was facing the same issue, in my case, the excel export template got corrupted. It worked fine with a new template.
You can try that, hope it works.
Do you have any more details on the error in the logs?
A NullPointerException could indicate you are passing an empty object to the Java Action.
To test for this, put a breakpoint in the microflow where the Java Action is called and inspect the variables to make sure you have the correct values.