I think there should be a "return;" after this line, otherwise there will be an attempt at accessing a null pointer.