Engine error: Access violation (code: -2)

This forum deals with any kind of trip optimization whether it is automatic planning or manual dispatching, refering to transport orders or service planning.

Engine error: Access violation (code: -2)

Postby Prakash » Thu Sep 21, 2017 12:37 pm

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
Prakash Kumar
Developer
Webdirekt India Pvt. Ltd.
Prakash
 
Posts: 12
Joined: Mon Sep 14, 2015 5:21 am

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

Postby Bernd Welter » Thu Sep 21, 2017 1:14 pm

sounds like the order to be analyzed doesn't exist.
Please send the request / response to me 1:1.
Bernd Welter
Manager Technical Consulting & Requirement Engineering
Senior Technical Consultant Developer Components
PTV GROUP - Germany

https://www.youtube.com/channel/UCgkUli9yGf0gwTDdxbMZ-Kg
User avatar
Bernd Welter
Site Admin
 
Posts: 932
Joined: Mon Apr 14, 2014 10:28 am

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

Postby Prakash » Thu Sep 21, 2017 1:29 pm

request / response sent via mail.

Thanks regards,
Prakash
Prakash Kumar
Developer
Webdirekt India Pvt. Ltd.
Prakash
 
Posts: 12
Joined: Mon Sep 14, 2015 5:21 am

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

Postby PaulBuechs » Mon Nov 20, 2017 12:30 pm

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
User avatar
PaulBuechs
 
Posts: 8
Joined: Tue Mar 28, 2017 1:09 pm

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

Postby Bernd Welter » Mon Nov 20, 2017 12:38 pm

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
Bernd Welter
Manager Technical Consulting & Requirement Engineering
Senior Technical Consultant Developer Components
PTV GROUP - Germany

https://www.youtube.com/channel/UCgkUli9yGf0gwTDdxbMZ-Kg
User avatar
Bernd Welter
Site Admin
 
Posts: 932
Joined: Mon Apr 14, 2014 10:28 am


Return to PTV xTourServer

cron