RobotStudio event

Set ProgramPointer to non existing routine problem

Dear All,

I tested the new release RW 5.11.02 with my HMIs and the following problem occurs.

I set the program pointer to a procedure which don't exist anymore with the following code.
                try
                {
                    aTask = AController.Rapid.GetTask("T_ROB1");
                    aTask.SetProgramPointer("Clean_Tool", "Teach_Clean_Tool");
                    Rapid RapidHMI = AController.Rapid;
                    RapidHMI.Start(RegainMode.Clear, ExecutionMode.Continuous,  
                   ExecutionCycle.Once);
                }
                catch
               (System.Exception ex)
                {
                    ABB.Robotics.Diagnostics.Debug.WriteLine(ex.Message);
                    System.Diagnostics.Debug.WriteLine(ex.Message);
                    GTPUMessageBox.Show(this.Parent, null, "Couldn't set PP to the needed
                    routine", System.Windows.Forms.MessageBoxIcon.Hand,
                    System.Windows.Forms.MessageBoxButtons.OK);
                }

Till the last revision I got an error message through the catch method. With the actual
revision the robot start the program from the current program pointer position and no error occurs, e.g. PP is set to main and I try to call the Teach_Clean_Tool procedure and this procedure doesn't exist - the robot continues with the main routine.

Do somebody knows about this problem respectively how I can handle it?

Thank you
BR