I thought my days of problems with the old "getWorld().removeObject(this)" were over, but they seem to have come back in a strange way. The code itself is very simple and I use it all the time without problem:
This method is called as the LAST call from the act() method by any given object. My question here is why is "this" a null pointer? I've already tested and determined that "getWorld()" is not a null pointer.
public void checkRemove()
{
if(remove)
{
getWorld().removeObject(this);
}
}

