Check the ObjectHolder Pointer is Valid
One can get a null pointer from selecting two superimposed objects (Shift + Left Click) and then canceling the popup menu by clicking somewhere else.
CCBUG: 360153