Fixes are available
APAR status
Closed as program error.
Error description
Description ----------- Customer has a number of Activity diagrams populated with Actions, which need to be changed into CallOperations. Manually redrawing large numbers of Activity diagrams is very poor use of engineers' time. However, the JAVA API method is not working on trying to automate the same. Using the method 'setStateType()' with argument as 'CallOperation' on an action throws runtime exception. The sample code tried : public class ActivityCls { public static void main(String[] args) { IRPApplication app = RhapsodyAppServer.getActiveRhapsodyApplication(); IRPState myState = (IRPState) app.getSelectedElement(); //System.out.println(myState.getName() + ' : ' + myState.getStateType() + ' : ' + myState.getMetaClass()); myState.setStateType('CallOperation'); //myState.changeTo('CallOperation'); } }
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** Fixed so myState.changeTo("CallOperation") will work fine.
Problem conclusion
Fixed in Scorpio
Temporary fix
Comments
APAR Information
APAR number
PM61358
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
752
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-03-28
Closed date
2012-09-21
Last modified date
2012-09-21
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
R752 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":"7.5.2","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
28 October 2021