Tried to reproduce this on the ShuttleA/ShuttlePB/DG but no luck so far. You confirm it's only with your vessel that it happens?
Without a proper backtrace to identify where it's trying to get the sketchpad, it's gonna be tricky.
Don't know how your code is made but if there is no way to use a debugger I'd start by removing clbkxxx methods to identify which one leads to the crash.