IBM Support

Upgrading an RPT project results in "Type mismatch" error

Troubleshooting


Problem

Attempts to upgrade an IBM Rational Performance Tester (RPT) project from version 8.2.0.6 to 8.2.1.5 result in the error "Type mismatch: cannot convert from IConnectionRecord to IServerConnection" in the Problem View.

Symptom

Steps to Reproduce:

  1. Create a performance project in RPT 8.2.0.6
  2. Upgrade RPT from version 8.2.0.6 to 8.2.1.5
  3. Open the project created in step 1 in RPT 8.2.1.5
  4. Upgrade the project to 8.2.1.5 by following the upgrade wizard which appears when the project is opened

OR
  1. Create a performance project in RPT 8.2.0.6
  2. Export the project created in step 1 and import to RPT 8.2.1.5
  3. Open the project exported in step 2 in RPT8.2.1.5

Expected result: Upgrading RPT project completes successfully.

Actual result: Receive the error "Type mismatch: cannot convert from IConnectionRecord to IServerConnection" in the Problem View.

Cause

The error was generated from the .java files created for the test by RPT 8.2.0.6.
The data structures related to connections were changed between RPT 8.2.0.6 and RPT 8.2.1.5.

Resolving The Problem

Removing old .java files from the project src\test directory.

[{"Product":{"code":"SSMMM5","label":"IBM Rational Performance Tester"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Product Updater","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.2.0.6;8.2.1.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 December 2018

UID

swg21632590