Page 1 of 1

Engine error: Access violation (code: -2)

Posted: Thu Sep 21, 2017 12:37 pm
by Prakash
Hi,

I am using plan basic tour and getting below error:
errorKey="10003"
message="Could not analyze unscheduled stops (Reason: invalid Stop id). Engine error: Access violation (code: -2)

This error is generating while Unscheduled Order Analysis. I checked request and response but got no reason.
Request has 42 orders, 4 Vehicle. Each order has Opening Intervals in combination of these four vehicle days.

This issue hasn't produced when I increased the combination of Opening interval than Operating Interval.

Please let me know where/how could I find the reason of this issue.

Thanks in advance,
Prakash

Re: Engine error: Access violation (code: -2)

Posted: Thu Sep 21, 2017 1:14 pm
by Bernd Welter
sounds like the order to be analyzed doesn't exist.
Please send the request / response to me 1:1.

Re: Engine error: Access violation (code: -2)

Posted: Thu Sep 21, 2017 1:29 pm
by Prakash
request / response sent via mail.

Thanks regards,
Prakash

Re: Engine error: Access violation (code: -2)

Posted: Mon Nov 20, 2017 12:30 pm
by PaulBuechs
Hi,

Bernd found that we send 0 Break Duration where we have at the same time some restrictions like this:

<ns4:weeklyRestRule weeklyRestPeriod="162000" maximumBiweeklyDrivingPeriod="324000" maximumWeeklyDrivingPeriod="201600" maximumPeriodBetweenWeeklyRests="518400"/>


With increase of breakPeriod we are able to get proper response.


Kind regards,
Paul

Re: Engine error: Access violation (code: -2)

Posted: Mon Nov 20, 2017 12:38 pm
by Bernd Welter
Hi there,
let me be a bit more precise:
The bug is triggered by break intervals with break period of 0 seconds. It will be fixed in an upcoming version.
The following can be done to avoid this bug in all versions of xTour:
Don't specify break intervals if the break period associated with these break intervals is 0 seconds.
Thanks to Andreas for the detailed analysis - I love teamwork!

Best regards,
Bernd