You likely have not done something right in your mod. I've noticed this problem happens when you forget to define an AtomGroup for instance. I think I made a thread on it somewheres a while back... Yeah,
here.
Check those and see if you can fix it with them.