I couldn't spot if this issue has already been raised.
I tried to AddRow to an empty sheet on a spreadsheet.
This returned an error and did not "post" the data to the sheet:
"AddRow: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference"
Everything worked fine once I had at least the first row with some data in it (even just A1)