Getting java.lang.NULLPOINT.Exception while making an call to generateExceldoc method .

0
Hi all   I am trying to download an excel document for which i am calling this java function “generateExceldoc” in the microflow but it is failing. In the application log , it is showing this error. I have checked the variables console before calling this microflow activity and all the variables are coming as expected. but still it gets struck at “generateExceldoc” activity .  
asked
2 answers
0

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.

answered
0

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.

answered