IBM Support

Launching Rhapsody results in crash

Troubleshooting


Problem

Attempts to launch IBM Rational Rhapsody result in the error "Rhapsody has encountered a problem and needs to close."

Symptom

You will see the error message below shortly after the tool GUI being opened.

Rhapsody Error Report

Rhapsody has encountered a problem and needs to close.
Please use "Send Error Report" to notify Technical Support and
then "Close".

image


You can also see dump information created under [RhapsodyInstallRootDir]\Share\RER\ folder.

The first couple of lines in ERRORLOG.TXT are looked like below:

<--------------------Start From Here--------------------

rhapsody.exe caused an Access Violation (0xc0000005)


in module RP_UTIL_DLL.dll at 001b:02553eb5.

Error occurred at dd/mm/yyyy hh:min:ss.
Model:
OMROOT: C:\Program Files\IBM\Rational\Rhapsody\[ver]\Share

------------------------End Here------------------------->

Cause

Rhapsody could crash on calling license checkout function if the string set in system environment variable TELELOGIC_LICENSE_FILE is longer than 250 characters.

This is related to FLEXNet version 11.5 known issue which is used in Rhapsody version earlier than 8.0.3.

Resolving The Problem

You can avoid the crash by shortening the string set in TELELOGIC_LICENSE_FILE as per following steps.

  1. Clean TELELOGIC_LICENSE_FILE entries which are stored in system registry.

    Disclaimer

    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

    • for 32 bit windows system, you should remove below entries.

      HKEY_CURRENT_USER\Software\FLEXlm License Manager\TELELOGIC_LICENSE_FILE

      HKEY_LOCAL_MACHINE\SOFTWARE\FLEXlm License Manager\TELELOGIC_LICENSE_FILE
    • for 64 bit windows system, you should remove below entries.

      HKEY_CURRENT_USER\Software\FLEXlm License Manager\TELELOGIC_LICENSE_FILE

      HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\FLEXlm License Manager\TELELOGIC_LICENSE_FILE


  2. Remove useless info defined in TELELOGIC_LICENSE_FILE environment variable to shorten the string length.

  3. Check if Rhapsody successfully launch without crash.


Note: Rational License Client Library 8.1.3.3 based on FlEXNet version 11.8 has been newly introduced in the tool of Rhapsody version 8.0.3. If you upgrade Rhapsody to 8.0.3, Rational License Key Server should also be upgraded to 8.1.x. Otherwise you will see below error dialogue and failed to launch Rhapsody.

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5;8.0.3;8.0.2;8.0.1;8.0;7.6.1.4;7.6.1.3;7.6.1;7.6.1.1;7.6.1.2;7.5.3.1;7.5.3.2;7.5.3.3;7.6;7.6.0.1;7.5.1;7.5.1.1;7.5.2;7.5.2.1;7.5.3;7.5.0.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21646002