Developer forum

Forum » Integration » Error running scheduled task

Error running scheduled task

Terri Donahue
Terri Donahue
Reply

Hi. We are getting the following error when running a scheduled task. Any idea what could be causing this? The job runs fine from Data Integration.

2018-06-18 16:54:32.963 Request: <GetEcomData Qty="1000"><tables><Logins type="all"/></tables></GetEcomData>.  
2018-06-18 16:54:33.509 6/18/2018 4:54:33 PM: Including file content: g:\Domains\Sites\xxx.com\Files\System\Log\ScheduledTasks\Import Logins20180618-1654327130566.log 2018-06-18 16:54:32.963: Request: <GetEcomData Qty="1000"><tables><Logins type="all"/></tables></GetEcomData>. 6/18/2018 4:54:33 PM: End of File content: g:\Domains\Sites\xxx.com\Files\System\Log\ScheduledTasks\Import Logins20180618-1654327130566.log  
2018-06-18 16:54:33.509 Fault was thrown by the service for request b417dd6f-f9b5-47de-a2fc-09c703a8418e. Exception details:  
Type System.NullReferenceException  
Message Object reference not set to an instance of an object.  
2018-06-18 16:54:33.509 Scheduled task failed.

Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply
This post has been marked as an answer

Hi Terri,
that seems to be an error on the ERP side which you are requesting from your batch integration scheduled task. Check the ERP responses on your request:
<GetEcomData Qty="1000"><tables><Logins type="all"/></tables>
Looks like it is failed on it, probably there could be some mistake in the request format/paramaters names/etc.
Regards, Dmitrij

Votes for this answer: 1
 
Terri Donahue
Terri Donahue
Reply

Thanks Dmitriy. The reason I didn't think it was ERP related is because the job runs fine from data integration, just not as a scheduled task.

 

You must be logged in to post in the forum