378.12 Added exception trapping for cmd->nx == NULL cases