IBM Support

Apply label wizard is slow to open

Troubleshooting


Problem

The Apply Label Wizard in IBM Rational ClearCase takes a longer than expected amount of time to launch.

Symptom

When attempting to open the Apply Label Wizard on a Microsoft Windows machine, it takes an unusually long time for the graphical user interface (GUI) window to appear. Rather than opening immediately or within seconds, it may take several minutes or longer.

The problem is both user and machine specific. If the user moves to another machine, the problem may not be seen. Likewise, if another user uses the slow machine, the problem also may not be seen.

Cause


Invalid entries in the HKEY_CURRENT_USER\Software\Atria\ClearCase\CurrentVersion\Workspaces registry keys. These entries are user-specific per machine.

Environment

Windows

Diagnosing The Problem

REGISTRY EDITS:

This solution contains information about modifying the system registry. Before making any modifications to the Microsoft Registry Editor, it is strongly recommended that you make a backup of the existing registry. For more information describing how to back up the registry, refer to Microsoft Knowledge Base article 256986

To verify that this is the cause of the problem:

  1. Close out all ClearCase GUIs on the problem system.
  2. Navigate to HKEY_CURRENT_USER\Software\Atria\ClearCase\CurrentVersion in the Windows registry.
  3. Rename the Workspaces entry to Workspaces.bak
  4. Re-try launching Apply Label Wizard

    If the problem no longer occurs, this confirms the slowdown is caused by scanning of the entries in Workspaces -- one or more of which will be inaccessible or invalid.

    Additionally, using a tool such as Microsoft Process Monitor will show noticeable gaps in time for the clearapplywizard.com process when walking the entries in the Workspaces subkey.

Resolving The Problem

Permanently renaming the Workspaces key to Workspaces.bak will re-generate a fresh version on next GUI launch. If this is not desired, an effort should be made to verify all paths are valid and accessible under Workspaces. Those that are not should be pruned out.

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"GUI","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.0.3;7.0.0.4;7.0.0.5;7.0.0.6;7.0.0.7;7.0.0.8;7.0.0.9;7.0.1;7.0.1.1;7.0.1.2;7.0.1.3;7.0.1.4;7.0.1.5;7.0.1.6;7.0.1.7;7.0.1.8;7.0.1.9;7.1;7.1.0.1;7.1.0.2;7.1.1;7.1.1.1;7.1.1.2;7.1.1.3;7.1.1.4;7.1.1.5;7.1.2;7.1.2.1;7.1.2.2;7.1.2.3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
07 November 2019

UID

swg21444203