Monitor model debugger (deprecated) terminates after model is changed

If you modify the monitor model and maintain the data from the previous debugging session, the debugger might terminate with an unrecoverable error in the SystemOut log.

About this task

If you debug a monitor model, make changes, and then debug the same model again and do not select the check box to Clear data from previous debug sessions, the debugger might terminate. In the SystemOut.log, you see an error that begins with R FATAL ERROR: '[ERR XP1031][ERR XPST0008] Variable or parameter '{http://www.ibm.com/xmlns/prod/websphere/ice}target1' is undefined.

This problem occurs because the previous events are no longer valid for the modified monitor model.

To solve the problem, complete the following steps:

Procedure

  1. Terminate the debugging session.
  2. Right-click the monitor model in the Project Explorer view, and click Debug As > Debug.
  3. In the Debug configuration window, right-click Monitor Model in the list and click New to create a new debug configuration. Alternatively, select an existing configuration that you have used before.
  4. Select Clear data from previous debug sessions to empty the input queue of incoming events and remove any remaining monitoring context instances from the previous debugging sessions.
  5. Use the Integrated Test Client to resubmit your events.

What to do next

To prevent this problem, only retain data between debugging sessions when you are taking an incremental approach to debugging or your test cases are logically connected to one another.