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
Engine error: Access violation (code: -2)
Engine error: Access violation (code: -2)
Prakash Kumar
Developer
Webdirekt India Pvt. Ltd.
Developer
Webdirekt India Pvt. Ltd.
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Engine error: Access violation (code: -2)
sounds like the order to be analyzed doesn't exist.
Please send the request / response to me 1:1.
Please send the request / response to me 1:1.
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...
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...
Re: Engine error: Access violation (code: -2)
request / response sent via mail.
Thanks regards,
Prakash
Thanks regards,
Prakash
Prakash Kumar
Developer
Webdirekt India Pvt. Ltd.
Developer
Webdirekt India Pvt. Ltd.
- PaulBuechs
- Posts: 21
- Joined: Tue Mar 28, 2017 1:09 pm
Re: Engine error: Access violation (code: -2)
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
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
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Engine error: Access violation (code: -2)
Hi there,
let me be a bit more precise:
Best regards,
Bernd
let me be a bit more precise:
Thanks to Andreas for the detailed analysis - I love teamwork!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.
Best regards,
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...
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...