Question & Answer
How do I address the cause of currency conversion exceptions that are appearing in my TRIRIGA server.log file so they stop being logged?
The exception can occur as a result of currency conversion being done when a user profile has a different currency than the base currency.
Some examples of the exception seen in the log:
Error in Conversion from >CHINESE YUAN RENMINBI< to >US Dollars< . Using conversion rate of 1.
Error in Conversion from >NIGERIAN NAIRA< to >US Dollars< . Using conversion rate of 1.
There are generally two ways to resolve.
- Add currency conversion values to allow the currency conversion to take place.
Documentation can be found in the Related Information section below - Currency - IBM TRIRIGA Knowledge Center
- Confirm every user profile has the same currency as the base currency.
The base currency is defined in the TRIRIGAWEB.properties file.
# The Base Currency for the installation
Also check for Duplicate UOM values for Currency
This could explain the exception if the first two options fail to resolve the problem.
If there were two values for US Dollars this could lead to currency conversion exceptions or if two currency held the same "abbreviation".
You can check this going to Tools > Administration > Unit of Measure (UOM) > Values
US Dollars (default)
17 June 2018