Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
2oAndreas
Partner - Contributor II
Partner - Contributor II

System.ArgumentNullException: System.ArgumentNullException: Value cannot be null

Hi everyone,

we get sometimes following error message.

(06.12.2023 23:00:00) Error: The task "XYZ.qvw" failed. Exception: || QDSMain.Exceptions.TaskFailedException: Task execution failed with errors to follow. ---> System.ArgumentNullException: Der Wert darf nicht NULL sein. || Parametername: stringToUnescape || bei System.Uri.UnescapeDataString(String stringToUnescape) || bei QDSMain.DistributeTask.GetFileName(SourceDocumentFileName fileNameUrl) || bei QDSMain.DistributeTask.PerformExecute(IExecutingTaskResult executingTaskResult) || --- Ende der internen Ausnahmestapelüberwachung --- || bei QDSMain.DistributeTask.PerformExecute(IExecutingTaskResult executingTaskResult) || bei QDSMain.Task.AbstractTask.TaskExecution(CurrentExecutionArgs args)

This errors occurs only sometimes with no reason. We have different tasks which runs every evening after work hours. There are no parallel running tasks and the reload task chain is always the same:

Task 1.0: App 1.0 loading from DB and store QVDs

Task 1.1: App 1.1 loading from generated QVDs from App 1.0

Task 2.0: App 2.0 loading from DB and store QVDs

Task 2.1: App 2.1 loading from generated QVDs from App 2.0

and so on. Sometimes everything is fine and all of the apps are reloading correctly but sometimes all or only a few apps could not be reloaded due to error message above.

We also checked  the help site https://community.qlik.com/t5/Official-Support-Articles/QlikView-Task-Failing-with-System-ArgumentNu... but nothing seems to work for us or applies to us.

Any further ideas?

Thanks and BR
2oAndreas

 

Labels (1)
4 Replies
marcus_sommer

It's rather unlikely that the task itself caused an error else it's quite probably a consequential error to a load-error. Therefore take a look within the document-logs - if they run into any failure as well as within the working ones to get a feeling how many records are there and how long is the average run-time. 

sangland3
Contributor
Contributor

I have the same problem on a site using Qlikview Server 12.2. The Second Task running conditionally on the previous model being successful fails. There is no document log so it is not getting this far. The model can be rescheduled manually with no problem but then the next one fails. 

marcus_sommer

Just enable the document-log within the document properties in tab general.

Maria_Halley
Support
Support

@sangland3 

FYI, the document log is not copied over to the task folder until reload is complete. Since this does not finish, the log is stored locally. For details see below article

https://community.qlik.com/t5/Official-Support-Articles/QlikView-12-Distribution-Service-is-not-gene...