Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
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
Not applicable
Author

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.