IBM Support

Fetching or browsing label types in CCRC reports memory or java.lang.NullPointerException errors

Troubleshooting


Problem

This technote identifies an issue that can occur where fetching or browsing label types in IBM Rational ClearCase Remote Client (CCRC) reports memory errors or java.lang.NullPointerException errors.

Symptom

A VOB with more than 40.000 label types defined. Users using CCRC do not see any of the labels and no labels can be defined as the dialog is not opening.


Browsing label types in a VOB with 50,000 lbtypes:

1) '{info icon} No objects found' message is reported

2) Clicking in the empty list produces a null pointer exception


java.lang.NullPointerException

Bringing up the apply label dialog box or browsing the labels with the CCRC Navigator generates out of memory errors.

An internal error occurred during:  "Compacting memory".

java.lang.OutOfMemoryError


Cause

This issue has been identified as a product defect under APAR PK86321.

Resolving The Problem


The defect has been resolved in ClearCase 7.1.1.1.

WORKAROUND

A possible workaround, depending on the amount of labels in the VOB and available free memory in the client, the ccrc.ini file can be edited to include the following two lines:



-Xmx1024m

-XX:MaxPermSize=512m

Default location:

Unix or Linux: /opt/ibm/RationalSDLC/clearcase/RemoteClient/ccrc.ini

Windows: C:\Program Files\IBM\RationalSDLC\ClearCase\RemoteClient\ccrc.ini


After setting these parameters the CCRC client has to be restarted to pick up the variables.

Note: While the list of labels is fetched from the server without the memory errors, the performance of the client will be degraded despite implementing this setting.


[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"ClearCase Remote Client","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"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.1;7.1.0.1;7.1.0.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21395190