Skip to content

Adapter terminating with uncaught exception #88

@ExecuteGK

Description

@ExecuteGK

Adapter terminates with the following log entry:

RangeError [ERR_OUT_OF_RANGE]: The value of "value" is out of range. It must be >= 0 and <= 4294967295. Received -4034 at checkInt (internal/buffer.js:63:11) at writeU_Int32LE (internal/buffer.js:683:3) at Buffer.writeUInt32LE (internal/buffer.js:696:10) at E3dcRscp.addTagtoFrame (/opt/iobroker/node_modules/iobroker.e3dc-rscp/main.js:585:11) at E3dcRscp.queueSetValue (/opt/iobroker/node_modules/iobroker.e3dc-rscp/main.js:917:9) at E3dcRscp.onStateChange (/opt/iobroker/node_modules/iobroker.e3dc-rscp/main.js:1749:11) at E3dcRscp.emit (events.js:310:20) at Immediate._onImmediate (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5379:53) at processImmediate (internal/timers.js:456:21)

Proper error handling should be introduced in order to ignore illegal values and keep the adapter running.

Regards,

Sebastian

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions