IBM Support

Metadata type removal results in INTERNAL ERROR

Technote (troubleshooting)


Problem(Abstract)

Attempts to remove metadata types such as a branch type using the cleartool rmtype command results in the error cleartool: Error: INTERNAL ERROR detected and logged with the NT Event Service, when using IBM® Rational® ClearCase® version 2003.06.15 on Microsoft® Windows®.

Cause

Attempts remove a branch type in a client VOB that is linked to an Administrative VOB results in the following unknown error:


    cleartool> rmtype brtype:integrate@\Test
    cleartool: Error: INTERNAL ERROR detected and logged with the NT Event Service.
    See the Event Viewer for the error message.
    cleartool: Error: INTERNAL ERROR detected and logged with the NT Event Service.
    See the Event Viewer for the error message.


    cleartool> rmtype -rmall brtype:integrate@\Test
    cleartool: Error: INTERNAL ERROR detected and logged with the NT Event Service.
    See the Event Viewer for the error message.
    cleartool: Error: INTERNAL ERROR detected and logged with the NT Event Service.
    See the Event Viewer for the error message.

A cleartool checkvob shows that there is a global branch type present which is eclipsed by the local branch type in \Test.


    cleartool> checkvob -global brtype:integrate@\Test
    The session's log file is "checkvob.22-Feb-06.11.14.10".
    Starting analysis of Admin VOB hierarchy.
    Analysis of Admin VOB hierarchy complete.
    8 VOBs analyzed, no hierarchy errors found.
    Starting "global type" processing.
    Detection of eclipsing local copies is: ENABLED
    Detection of protection mis-matches is: ENABLED
    Detection of eclipsing local locks is: ENABLED
    Correction of detected errors is: DISABLED
    cleartool: Error: Definition of branch type "integrate" in \Admin is eclipsed by definition(s):
     branch type "integrate" in \Test
    Completed "global type" processing.

The hyperlink that existed between the local and global types has been removed (or somehow became corrupted).

Resolving the problem

You must recreate the hyperlink between the local and global branch types, then proceed with removing the branch type from the client VOB:

  1. Use cleartool checkvob -fix -global brtype:integrate@\Test to create a hyperlink between the local branch type and the global type.
  2. Then run cleartool rmtype brtype:integrate@\Test again to remove the branch type in the client VOB.


For more information on client (or child) and AdminVOB configurations, refer to IBM Rational ClearCase Administrator's Guide > VOB Datatypes and Administrative VOB Hierarchies > Administrative VOB Hierarchies and Global Types.

If you need a soft copy, the cc_admin.pdf is available on any host with ClearCase installed located by default in C:\Program Files\Rational\ClearCase\doc\books.



Document information

More support for: Rational ClearCase
Cleartool

Software version: 2003.06.15

Operating system(s): Windows

Reference #: 1231323

Modified date: 27 October 2010