IBM Support

Execution of a hook error, when using ClearQuest 7.0.x Import Tool

Technote (troubleshooting)


Problem(Abstract)

This technote identifies an issue that can occur in the IBM Rational ClearQuest Import Tool. Incorrect conversion of line breaks can cause "execution of a hook" errors.

Symptom

The ClearQuest 7.0.x Import Tool converts the return code <LF> to <CRLF> in multi-line fields. This can result in an "execution of a hook" error, similar to this:

Execution of a hook failed during the action Modify.  It was the ACTION_NOTIFICATION hook attached to the Defect "SAMPL00000001".  The reason for the failure was:
Error processing Email Rule "Modifications" : An error was detected retrieving information from the ClearQuest database.
There is a reference to an object that does not exist:
  Object Type: Field
  Object: "Headline

" of record type "Defect"
This error was detected at: ClearQuest Core:adentity.cpp:685
Recommendation: If you cannot determine how to resolve this issue, contact Rational Support and provide all the above information as well as a description of the context in which the message occurred.




Notice how in this example, the object Headline has a line break.



Cause

This issue was identified as a product defect under APAR PM05779. This problem was introduced by the fix to defect APAR PK35251. Particular versions affected by the problem are listed in the "Software version" section of this technote.

Resolving the problem

This defect is fixed starting in ClearQuest 7.0.1.9. Upgrade to the latest patch to resolve this problem.

The ClearQuest 7.1.x import tool is built in the ClearQuest Eclipse RCP client. It is not affected by this problem. Also, consider upgrading to the latest 7.1.x version to avoid this problem.


Document information

More support for: Rational ClearQuest
Import tool

Software version: 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.3, 7.0.1.4, 7.0.1.5, 7.0.1.6, 7.0.1.7, 7.0.1.8

Operating system(s): Windows

Reference #: 1428433

Modified date: 24 June 2010