Qlik Community

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

Announcements
Attend QlikWorld 2020 and hear keynote speaker, Malcolm Gladwell. Register by February 29th to save $200. Learn More
Not applicable

Null-reference exception If I set Selections part in thePutOnDemandRequest

Hi,

I send PUT OnDemandRequest. Is is all right and I get report.

But if I send 'Selections' part in this request, I get 500 error with status: "An unhandled exception occurred; check the log for more information."

When I look into the nprinting_webengine.log I see this error: "Exception:Object reference not set to an instance of an object."

1 Reply
Highlighted
Not applicable

Re: Null-reference exception If I set Selections part in thePutOnDemandRequest

threre was an error in my JSON...

'Selections': [{'fieldName': 'flag', 'isNumeric': True, 'selectedCount':1, 'selectedValues ': ['2017']}]

Аfter the "selectedValues" there was a space... I removed it and all worked.