linking to waypoint (zero-based index list: 1) 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
infpro_mi

linking to waypoint (zero-based index list: 1) failed

Post by infpro_mi »

Hello,

we are using the current xRoute Server and get the following error:

Code: Select all

2015-10-06 08:43:17,976;INFO;RequestTimes;b1055d49-e460-4b16-972e-5f615fe8e5dc;1.2.3.4;;50030;unknown-cluster;XRoute.calculateExtendedRoute;false;;;;mg-trailer-truck;m0002;2;0;0;17;0;5;18;25;NO-TXN;;;;;;;com.ptvag.xserver.xroute.XRouteException;2530;linking to waypoint (zero-based index list: 1) failed
This error occurs only on our server. The same query works on the cloud service.
The corresponding calculateExtendedRoute query includes the ferry Langesund-Hirtshals.

The soap request looks as follows:

Code: Select all

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><calculateExtendedRoute xmlns="http://types.xroute.xserver.ptvag.com"><ArrayOfWaypointDesc_1><WaypointDesc fuzzyRadius="10000" linkType="NEXT_SEGMENT" xmlns="http://xroute.xserver.ptvag.com"><wrappedCoords><Point xmlns="http://common.xserver.ptvag.com"><kml xsi:nil="true" /><point x="1075865.4008000002" y="8179266.7385000009" /></Point></wrappedCoords><nodeID xsi:nil="true" /><wrappedRoutingOptions xsi:nil="true" /><wrappedSegmentID xsi:nil="true" /><wrappedVehicleOptions xsi:nil="true" /><viaType xsi:nil="true" /></WaypointDesc><WaypointDesc combinedTransportID="VjEoNDc7MTEzMTg5NTMyOTs3MjsxNzU7MCkoNDU7MTEzMzIwNTgwNTsyNTQ7MTUzOzApTGFuZ2VzdW5kLUhpcnRzaGFscw==" fuzzyRadius="10000" linkType="NEXT_SEGMENT" xmlns="http://xroute.xserver.ptvag.com"><wrappedCoords xsi:nil="true" /><nodeID xsi:nil="true" /><wrappedRoutingOptions xsi:nil="true" /><wrappedSegmentID xsi:nil="true" /><wrappedVehicleOptions xsi:nil="true" /><viaType viaType="COMBINED_TRANSPORT" /></WaypointDesc><WaypointDesc fuzzyRadius="10000" linkType="NEXT_SEGMENT" xmlns="http://xroute.xserver.ptvag.com"><wrappedCoords><Point xmlns="http://common.xserver.ptvag.com"><kml xsi:nil="true" /><point x="1397455.5840000003" y="7485736.0114999982" /></Point></wrappedCoords><nodeID xsi:nil="true" /><wrappedRoutingOptions xsi:nil="true" /><wrappedSegmentID xsi:nil="true" /><wrappedVehicleOptions xsi:nil="true" /><viaType xsi:nil="true" /></WaypointDesc></ArrayOfWaypointDesc_1><ArrayOfRoutingOption_2><RoutingOption parameter="COUNTRY_ENCODING" value="ISO2" xmlns="http://xroute.xserver.ptvag.com" /></ArrayOfRoutingOption_2><ArrayOfExceptionPath_3 xsi:nil="true" /><ResultListOptions_4 binaryPathDesc="false" boundingRectanglesC="0" boundingRectanglesOffset="0" brunnelManoeuvres="false" detailLevel="STANDARD" dynamicInfo="false" manoeuvreAttributes="false" manoeuvreGroups="false" manoeuvres="true" nodes="false" polygon="true" segmentAttributes="false" segments="true" texts="true" tollManoeuvres="false" totalRectangle="false" urbanManoeuvres="false"><cenEmissionConfiguration xsi:nil="true" xmlns="http://xroute.xserver.ptvag.com" /><destDetail xsi:nil="true" xmlns="http://xroute.xserver.ptvag.com" /><emissions xsi:nil="true" xmlns="http://xroute.xserver.ptvag.com" /><hbefaType xsi:nil="true" xmlns="http://xroute.xserver.ptvag.com" /><startDetail xsi:nil="true" xmlns="http://xroute.xserver.ptvag.com" /></ResultListOptions_4><CountryInfoOptions_5 xmlns:q1="http://xroute.xserver.ptvag.com" xsi:type="q1:CountryInfoVehicleOptions" allEuro="true" calculatePartTollCosts="true" detailedTollCosts="true" namedToll="true" tollTotals="true"><q1:wrappedReductionIDs xsi:nil="true" /><q1:wrappedTollScenarios xsi:nil="true" /><q1:wrappedOptions><q1:VehicleOption parameter="TYPE" value="TRL" /></q1:wrappedOptions></CountryInfoOptions_5><CallerContext_6><wrappedProperties xmlns="http://baseservices.service.jabba.ptvag.com"><CallerContextProperty key="Profile" value="mg-trailer-truck" /><CallerContextProperty key="ProfileXMLSnippet" value="<?xml version='1.0' encoding='us-ascii'?><Profile xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'><Common language='de' majorVersion='1' minorVersion='0' /><FeatureLayer majorVersion='1' minorVersion='0'><GlobalSettings enableTimeDependency='true' /><Themes><Theme id='PTV_TruckAttributes' enabled='true' /></Themes></FeatureLayer><Routing majorVersion='2' minorVersion='0'><Course><AdditionalDataRules enabled='true'><VehicleSpecific enabled='true' /></AdditionalDataRules></Course><Vehicle><Physical /></Vehicle></Routing></Profile>" /></wrappedProperties></CallerContext_6></calculateExtendedRoute></soap:Body></soap:Envelope>
This issue seems to be a server setting, because we are using the default mg-trailer-truck profile.
Are we missing the maximumDistanceToSegment or maximumDistanceToCombinedTransport xRoute server property?

Thanks!
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: linking to waypoint (zero-based index list: 1) failed

Post by Bernd Welter »

Hello Martin,

there is a hierarchy between the various sources of parameters:
you may specify them within the snippet (as you did) or via server side.

Very important to consider:
  • parameters that do not appear in the explicit snippet may be derived from the profiles base class.
  • parameters of the xml snippet override server side parameters.
There are several potential causes for a different behaviour of of your environment and the cloud, e.g. the map data or the xml profiles.

Please get in touch with support for a detailed analysis (we can't investigate individual issues in the public forum). You may also look at the ferry ID because the ferry seems to cause the issue (index list 1). Maybe there is also a conflict between the map versions and the ID isn't known in your map?

Of course any generic statement about mechanisms is welcome,

Best regards from Madrid,

Bernd
Post Reply