{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/Recurring-Integrations-Scheduler/issues/71","repository_url":"https://api.github.com/repos/Microsoft/Recurring-Integrations-Scheduler","labels_url":"https://api.github.com/repos/Microsoft/Recurring-Integrations-Scheduler/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/Recurring-Integrations-Scheduler/issues/71/comments","events_url":"https://api.github.com/repos/Microsoft/Recurring-Integrations-Scheduler/issues/71/events","html_url":"https://github.com/Microsoft/Recurring-Integrations-Scheduler/issues/71","id":377716322,"node_id":"MDU6SXNzdWUzNzc3MTYzMjI=","number":71,"title":"Download job exceptions","user":{"login":"TimothyBolton","id":17976627,"node_id":"MDQ6VXNlcjE3OTc2NjI3","avatar_url":"https://avatars1.githubusercontent.com/u/17976627?v=4","gravatar_id":"","url":"https://api.github.com/users/TimothyBolton","html_url":"https://github.com/TimothyBolton","followers_url":"https://api.github.com/users/TimothyBolton/followers","following_url":"https://api.github.com/users/TimothyBolton/following{/other_user}","gists_url":"https://api.github.com/users/TimothyBolton/gists{/gist_id}","starred_url":"https://api.github.com/users/TimothyBolton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimothyBolton/subscriptions","organizations_url":"https://api.github.com/users/TimothyBolton/orgs","repos_url":"https://api.github.com/users/TimothyBolton/repos","events_url":"https://api.github.com/users/TimothyBolton/events{/privacy}","received_events_url":"https://api.github.com/users/TimothyBolton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-11-06T07:03:00Z","updated_at":"2018-11-20T11:57:10Z","closed_at":null,"author_association":"NONE","body":"I have 4 export data entities setup for the same entity with different filters with incremental refresh setup. These 4 data jobs appear to be working correctly, but I keep getting the follow error in the event log.\r\n\r\nQuartz.Core.JobRunShell - Job Download jobs.UAT_MTS_NZ_APInvResponse threw a JobExecutionException: \r\nParameters: refire = False, unscheduleFiringTrigger = False, unscheduleAllTriggers = False \r\n Quartz.JobExecutionException: Download job: Download jobs.UAT_MTS_NZ_APInvResponse failed ---> System.ArgumentNullException: Value cannot be null.\r\nParameter name: uriString\r\n   at System.Uri..ctor(String uriString, UriKind uriKind)\r\n   at System.UriBuilder..ctor(String uri)\r\n   at RecurringIntegrationsScheduler.Job.Download.<Process>d__13.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at RecurringIntegrationsScheduler.Job.Download.<Execute>d__12.MoveNext()\r\n   --- End of inner exception stack trace ---\r\n   at RecurringIntegrationsScheduler.Job.Download.<Execute>d__12.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Quartz.Core.JobRunShell.<Run>d__9.MoveNext() [See nested exception: System.ArgumentNullException: Value cannot be null.\r\nParameter name: uriString\r\n   at System.Uri..ctor(String uriString, UriKind uriKind)\r\n   at System.UriBuilder..ctor(String uri)\r\n   at RecurringIntegrationsScheduler.Job.Download.<Process>d__13.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at RecurringIntegrationsScheduler.Job.Download.<Execute>d__12.MoveNext()] \r\n\r\nI'm not exactly sure what the cause of this error is, but I think it has something to do with the 4 data jobs of same entity.\r\n\r\nThis is system is 8.04 PU20 using RIS 2.6\r\n\r\nThanks\r\n\r\nTim"},"comment":{"url":"https://api.github.com/repos/Microsoft/Recurring-Integrations-Scheduler/issues/comments/440248078","html_url":"https://github.com/Microsoft/Recurring-Integrations-Scheduler/issues/71#issuecomment-440248078","issue_url":"https://api.github.com/repos/Microsoft/Recurring-Integrations-Scheduler/issues/71","id":440248078,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDI0ODA3OA==","user":{"login":"Hesel","id":8329483,"node_id":"MDQ6VXNlcjgzMjk0ODM=","avatar_url":"https://avatars2.githubusercontent.com/u/8329483?v=4","gravatar_id":"","url":"https://api.github.com/users/Hesel","html_url":"https://github.com/Hesel","followers_url":"https://api.github.com/users/Hesel/followers","following_url":"https://api.github.com/users/Hesel/following{/other_user}","gists_url":"https://api.github.com/users/Hesel/gists{/gist_id}","starred_url":"https://api.github.com/users/Hesel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hesel/subscriptions","organizations_url":"https://api.github.com/users/Hesel/orgs","repos_url":"https://api.github.com/users/Hesel/repos","events_url":"https://api.github.com/users/Hesel/events{/privacy}","received_events_url":"https://api.github.com/users/Hesel/received_events","type":"User","site_admin":false},"created_at":"2018-11-20T11:57:10Z","updated_at":"2018-11-20T11:57:10Z","author_association":"NONE","body":"Just wanted to chime in: I'm seeing the same behavior, but I'm not using RIS. The code I'm using is based on the same API for DataPackage export.\r\nSometimes D365 reports back with an execution Id which does not exists. I'm not seeing any releation between which DataEntities are used. To me it looks like D365 somehow fumbels the creation of the ExecutionJob after having reported the ExecutionId.\r\n\r\nThe D365 is a 8.1 Update20\r\n\r\nThe JSON reply is:\r\n\t```\r\n\"error\": {\r\n\t\t\"code\": \"\",\r\n\t\t\"message\": \"An error has occurred.\",\r\n\t\t\"innererror\": {\r\n\t\t\t\"message\": \"Exception occurred while executing action GetExecutionSummaryStatus on Entity DataManagementDefinitionGroup: Execution details were not found for execution id: ExportPackage-11/15/2018 02:57:10 pm\",\r\n\t\t\t\"type\": \"System.InvalidOperationException\",\r\n\t\t\t\"stacktrace\": \"   at Microsoft.Dynamics.Platform.Integration.Services.OData.Action.ActionInvokable.Invoke()\\r\\n   at Microsoft.Dynamics.Platform.Integration.Services.OData.Update.UpdateProcessor.ActionInvocation(ChangeOperationContext context, ActionInvokable action)\\r\\n   at Microsoft.Dynamics.Platform.Integration.Services.OData.Update.UpdateManager.<>c__DisplayClass13_0.<ScheduleInvokable>b__0(ChangeOperationContext context)\\r\\n   at Microsoft.Dynamics.Platform.Integration.Services.OData.Update.ChangeInfo.ExecuteActionsInCompanyContext(IEnumerable`1 actionList, ChangeOperationContext operationContext)\\r\\n   at Microsoft.Dynamics.Platform.Integration.Services.OData.Update.ChangeInfo.ExecuteActions(ChangeOperationContext context)\\r\\n   at Microsoft.Dynamics.Platform.Integration.Services.OData.Update.UpdateManager.SaveChanges()\\r\\n   at Microsoft.Dynamics.Platform.Integration.Services.OData.AxODataDelegatingHandler.<SaveChangesAsync>d__2.MoveNext()\"\r\n\t\t}\r\n\t}\r\n```"}}
{"actor":{"display_login":"Hesel"}}