Before ImagesCollide, check that both thisShip and thisBullet are not Null, followed by a DebugStop. Then you should be able to step through and get a better idea of what's going on.
It has to be either a nulled object, or a missing image.
It has to be either a nulled object, or a missing image.