Troubleshooting
Problem
When attempting to build or rebuild the framework for IBM Engineering Systems Design Rhapsody in Java, you encounter an error in the RiJSimpleTimer code.
Symptom
You encounter the following error when building or rebuilding the OXF component of the Rhapsody in Java framework model:
Cannot find symbol
The error message indicates the problem is with the call to the abs() method in the tm() operation of the RiJSimpleTimer class.
Resolving The Problem
If Rhapsody is using Java 8 or newer, you need to edit the implementation of the tm() operation, prefixing the call to the abs() method with Math. as seen in the following example:
if (Math.abs(delayTime) > tmInterval)
Save the changes to the operation then rebuild the framework.
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"ARM Category":[{"code":"a8m50000000CjSmAAK","label":"Rhapsody-\u003EFramework"}],"ARM Case Number":"","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
27 November 2023
UID
ibm17082782