2021-03-25 14:16:07,689 - [1;31mERROR[0m - 44387:DummyThread-33 - zato.server.service:0 - Can't run hook `<bound method AdminService.after_handle of <zato.server.service.internal.pubsub.endpoint.GetDeliveryMessages object at 0x7fb4ff171910>>`, e:`Traceback (most recent call last):


 "/opt/zato/3.2.0/code/zato-server/src/zato/server/service/__init__.py", line 181, in call_hook_no_service

hook()


 "/opt/zato/3.2.0/code/zato-server/src/zato/server/service/internal/__init__.py", line 132, in after_handle

self.name, replace_private_key(get_response_value(self.response)), self.cid)


 "/opt/zato/3.2.0/code/zato-common/src/zato/common/util/api.py", line 1649, in get_response_value

return (response.payload.getvalue() if hasattr(response.payload, 'getvalue') else response.payload) or ''


 "src/zato/cy/reqresp/payload.py", line 201, in zato.cy.reqresp.payload.SimpleIOPayload.getvalue


 "src/zato/cy/reqresp/payload.py", line 229, in zato.cy.reqresp.payload.SimpleIOPayload.getvalue


 "src/zato/cy/simpleio.py", line 2187, in zato.simpleio.CySimpleIO.get_output


 "src/zato/cy/simpleio.py", line 2110, in zato.simpleio.CySimpleIO._convert_to_dicts


 "src/zato/cy/simpleio.py", line 2028, in _yield_data_dicts
AttributeError: 'NoneType' object has no attribute 'get'

Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/config_entries.py", line 217, in async_setup

hass, self


 "/usr/src/homeassistant/homeassistant/components/onvif/__init__.py", line 73, in async_setup_entry

if not await device.async_setup():


 "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 98, in async_setup

self.profiles = await self.async_get_profiles()


 "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 291, in async_get_profiles

profile.ptz.presets = [preset.token for preset in presets]


 "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 291, in <listcomp>

profile.ptz.presets = [preset.token for preset in presets]
AttributeError: 'NoneType' object has no attribute 'token'
