Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Apr 21, 2021 5:31:58 AM
Jan 14, 2019 4:29:44 AM
The Qlik Sense NPrinting On-Demand extension correctly installed and configured. It is possible to generate reports without selections or with specific selections, but at least one of the following problems is present:
1. The report is not generated if you apply specific selections: the "Export" table shows "Request failed". The same report can be generated with other selections or without selections.
2. The report is generated, but some of the values in the selections are not present, as if they were not passed. In the logs, it looks like the filter values were not passed and they may appear to be a null value.
Status code and POST response seen when using browsers Develpment Tools, respectively:
...
500 Internal Server Error
...
In the nprinting_WebEngine.log files:
...
Qlik.NPrinting.WebEngine 18.39.6.0 Qlik.NPrinting.WebEngine.ExceptionHandling.GenericTextExceptionHandler 20190331T204620.272+02:00 ERROR QLIKSERVERName username 0 0 0 0 0 0 0 0 Unhandled exception in request http://qlikserver1:4996/api/v1/ondemand/requests. ERROR: System.AggregateException: One or more errors occurred. ---> System.ArgumentException: Cannot add/remove field F\<field name> because it has no values and it is not an override nor a void one??Parameter name: fields?? at Qlik.Printing.Filters.Filter.InternalChecksFilterFields(IEnumerable`1 fields)??
...
Environment:
Note:
Resolution:
From the engine logs:
...
Qlik.NPrinting.Engine 19.9.5.0 Qlik.NPrinting.Engine.Consumer.ContentRequestExecutor 20191206T182635.159-03:00 WARN QLIKSERVER1 0 0 b5ca8639-7868-4634-8cf4-a55298b6323c 0 cabe39ca-ba19-4bff-8714-b3632695d29d 0 47e28bf5-0775-45f4-8721-2606fce04860 0 Exception during content resolution while processing request {"FilterSequenceToMaterialize":{"Filters":[{"Fields":[{"Name"
...
Note1: