getSize was returning null in some cases

Don't know why, but sometimes getSize() returns null... changing to 'size' fixed it for me