Null shouldn't be assigned to note text, since it's initialized as new String(). Fixed.