Check for null pointer serverside & print stack