Error: converting currency to euro failed

This forum deals with any kind of routing computation whether it is simple A:B-routing, calculation of isochrones, simple matrix computation or nearest search.
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2574
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Error: converting currency to euro failed

Post by Bernd Welter »

One of our partners recently reported to have ran into this error message in an xRoute1 environment (2023.2H map) while he was dealing with routings to/from/through the United Kingdom and requested toll:

Code: Select all

<faultcode>soap:2440</faultcode><faultstring>converting currency to euro failed</faultstring>
<detail>
<ns3:XRouteException xmlns:ns6="http://exception.core.jabba.ptvag.com" xmlns:ns4="http://types.xroute.xserver.ptvag.com" xmlns:ns3="http://xroute.xserver.ptvag.com" xmlns:ns2="http://baseservices.service.jabba.ptvag.com" xmlns:ns1="http://common.xserver.ptvag.com" xmlns:ns0="http://wrappertypes.service.jabba.ptvag.com">
<ns6:stackElement className="com.ptvag.xserver.xroute.XRouteException" errorKey="2440" message="converting currency to euro failed">
<ns6:cause xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
<ns6:wrappedContext xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
</ns6:stackElement></ns3:XRouteException></detail>
Here's what this is about:

In his case there was an error in the file Currencies.ini in the map. In the entry for GBP there is a wrong character ">" behind the exchange rate.
Currencies.ini.png
Please remove the character and restart the server.

This should work fine then... If not: create a helpdesk ticket

Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply