IBM Support

"Unhandled exception: EInvalidCast - Invalid class typecast" error occurs after modifying EETC value

Troubleshooting


Problem

Attempts to use the Up Arrow button on the top left of the Staffing View to navigate to another task after changing the EETC of a task results in a "Unhandled exception: EInvalidCast - Invalid class typecast" error in IBM Rational Portfolio Manager.

Symptom

Steps to reproduce:

  1. Log in to Rational Portfolio Manager.
  2. Create a new Proposal and two tasks A and B underneath.
  3. Select the task A and Assign a resource for 8 hours of work
  4. Select the task B and Assign a resource for 8 hours of work
  5. Select the task B and go to Staffing view > the lower pane of Project Resources tab.
  6. Modify the EETC value under EETC header to something else (i.e.,9 hours).
  7. Do not click outside or refresh of the EETC field and try to navigate to the task A by clicking on the Up Arrow button on the left hand top of the Staffing view.
  8. Confirm that you receive the "Unhandled exception: EInvalidCast - Invalid class typecast" error.

Cause

This error is caused by a limitation in the Delphi code.

Resolving The Problem

The limitation in the Delphi code that is causing this problem will not be addressed in a future version of Rational Portfolio Manager. It must remain a permanent product restriction.

WORKAROUND:

Click outside the EETC field before clicking on the Up Arrow button on the left hand top of the Staffing view.


[{"Product":{"code":"SSRR2G","label":"Rational Portfolio Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Staffing View","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.1.1.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
23 June 2018

UID

swg21408073