avalon icon indicating copy to clipboard operation
avalon copied to clipboard

Enclave manager crashes when work order processing is not completed and work order receipts is turned on.

Open sourabh-natesh opened this issue 5 years ago • 0 comments

When the work order has not been completed, the enclave manager crashes with the following message:

avalon-wpe | [09:28:51 ERROR avalon_enclave_manager.work_order_processor_manager] Error while processing work-order; shutting down enclave manager avalon-wpe | [09:28:51 ERROR avalon_enclave_manager.work_order_processor_manager] Exception: <class 'TypeError'> args ('must be str, not dict',) details must be str, not dict

For example, this happens when I pass a null pointer to the ThrowIfNull function in the enclave manager code. The error is happening due to an improper concatenation of string and dictionary while updating the work order receipt. The error is in line 163 of the file work_order_receipt.py.

sourabh-natesh avatar Oct 12 '20 10:10 sourabh-natesh