A fix is available
APAR status
Closed as program error.
Error description
Description: The customer is using API to add a connector between ports. Here was their initial question: "I have to find a sample existing link to get collections of elements and multiplicities to use as the collections that I pass as the arguments to the setTagContextValue method instead of being able to create one to use. When I apply the connector stereotype it adds the End1Path and End2Path tags, however, the tags have no valueSpecification that I can Use to determine the correct handles for the two collections, and I cannot figure out How to add the valueSpecification other than by using the setTagContextValue method." When we investigated, we found that you can set the End1Path/End2Path tag values manually with setTagValue() method. However, when we try to use the setTagContextValue method we get a crash. See attached source code. Question: Why is this crash happening? Is there any way to stop the crash? If not, is there another work around to the customer's initial question? Attachments: Source code that causes crash
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * Rhapsody 8.1.4 * **************************************************************** * PROBLEM DESCRIPTION: * * Crash when using the setTagContextValue method * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
Fixed in Rhapsody 8.2 - Fixed by fixing the Rhapsody side so it will not crash in case that the elements collection doesn't contain model elements. In this case, the setTagContextValue will fail.
Temporary fix
Comments
APAR Information
APAR number
PI70682
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
814
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-10-14
Closed date
2016-12-05
Last modified date
2016-12-05
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
TLOGIC RHAPSODY
Fixed component ID
5724V74RP
Applicable component levels
R814 PSN
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.1.4","Line of Business":{"code":"LOB02","label":"AI Applications"}}]
Document Information
Modified date:
19 October 2021