Jey-Cee / ioBroker.heytech

Control HEYtech from iobroker
MIT License
4 stars 4 forks source link

[Bug]: uncaught exception: states[st].val.replace is not a function after update on last version 1.0.2 #37

Closed guidau closed 3 years ago

guidau commented 3 years ago

Contact Details

@guidau

What happened?

A bug happened! After update from last to the current version 1.0.2 Heytech adapter terminated and can't restart

At the first start the adapter was green but later switched to red. Now after restarting the adapter it switched after a very short phase from green to red(terminate).

I run iobroker under docker (buanet/iobroker v5.1.0). If you need aditonal information don't hasitate to contact me.

Cheers Guidau

Adapter Version

1.0.2

JS-Controller Version

3.3.18

Node JS Version

12.22.6

NPM Version

6.14.15

Operating System

Debian

Relevant log output

heytech.0
    2021-10-23 18:23:46.877 warn    Terminated (UNCAUGHT_EXCEPTION): Without reason
heytech.0
    2021-10-23 18:23:46.876 info    terminating
heytech.0
    2021-10-23 18:23:46.875 info    cleaned everything up...
heytech.0
    2021-10-23 18:23:46.873 error   states[st].val.replace is not a function
heytech.0
    2021-10-23 18:23:46.872 error   TypeError: states[st].val.replace is not a function at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.heytech/main.js:789:53) at processImmediate (internal/timers.js:463:21)
heytech.0
    2021-10-23 18:23:46.871 error   uncaught exception: states[st].val.replace is not a function
heytech.0
    2021-10-23 18:23:45.798 info    Software version: 8.027r
heytech.0
    2021-10-23 18:23:45.722 info    Model: HEYtech RS879M
heytech.0
    2021-10-23 18:23:45.643 info    Connected to controller
heytech.0
    2021-10-23 18:23:45.600 info    starting. Version 1.0.2 in /opt/iobroker/node_modules/iobroker.heytech, node: v12.22.6, js-controller: 3.3.18

Anything else?

No response

ansgarschulte commented 3 years ago

i´ll have a look

ansgarschulte commented 3 years ago

fixed

ansgarschulte commented 3 years ago

in version 1.0.4