Failed to initialize the device.
yh4922 opened this issue · 0 comments
yh4922 commented
Error occurred during camera initialization
TypeError: Cannot read property 'getProfiles' of null
at /civiapp_wsldev/node_modules/node-onvif/lib/modules/device.js:469:23
at new Promise (<anonymous>)
at OnvifDevice._mediaGetProfiles (/civiapp_wsldev/node_modules/node-onvif/lib/modules/device.js:466:16)
at /civiapp_wsldev/node_modules/node-onvif/lib/modules/device.js:352:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5) {stack: "TypeError: Cannot read property 'getProfiles'…ctions (internal/process/task_queues.js:97:5)", message: "Cannot read property 'getProfiles' of null"}
The device seems to be functioning properly, but an error occurred during initialization. Upon investigation, I noticed that the data structure of this camera is slightly different from that of another successful camera.
Data for the failed camera:
Error occurred during camera initialization
TypeError: Cannot read property 'getProfiles' of null
at /civiapp_wsldev/node_modules/node-onvif/lib/modules/device.js:469:23
at new Promise (<anonymous>)
at OnvifDevice._mediaGetProfiles (/civiapp_wsldev/node_modules/node-onvif/lib/modules/device.js:466:16)
at /civiapp_wsldev/node_modules/node-onvif/lib/modules/device.js:352:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5) {stack: "TypeError: Cannot read property 'getProfiles'…ctions (internal/process/task_queues.js:97:5)", message: "Cannot read property 'getProfiles' of null"}
The device seems to be functioning properly, but an error occurred during initialization. Upon investigation, I noticed that the data structure of this camera is slightly different from that of another successful camera.
Failed | Successful |
---|---|