I don't know for sure, but maybe during your cleanup, you close a form, then are still trying to do an action to it subsequently?
If you run the debugger alongside your simulator, it will probably point out the exact point of failure. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
