Java null to string. Null pointer exception.