{"action":"created","issue":{"url":"https://api.github.com/repos/ioBroker/ioBroker.mqtt/issues/7","repository_url":"https://api.github.com/repos/ioBroker/ioBroker.mqtt","labels_url":"https://api.github.com/repos/ioBroker/ioBroker.mqtt/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/ioBroker/ioBroker.mqtt/issues/7/comments","events_url":"https://api.github.com/repos/ioBroker/ioBroker.mqtt/issues/7/events","html_url":"https://github.com/ioBroker/ioBroker.mqtt/issues/7","id":279472352,"node_id":"MDU6SXNzdWUyNzk0NzIzNTI=","number":7,"title":"MQTT Adapter crash","user":{"login":"vr6syncro","id":27892314,"node_id":"MDQ6VXNlcjI3ODkyMzE0","avatar_url":"https://avatars2.githubusercontent.com/u/27892314?v=4","gravatar_id":"","url":"https://api.github.com/users/vr6syncro","html_url":"https://github.com/vr6syncro","followers_url":"https://api.github.com/users/vr6syncro/followers","following_url":"https://api.github.com/users/vr6syncro/following{/other_user}","gists_url":"https://api.github.com/users/vr6syncro/gists{/gist_id}","starred_url":"https://api.github.com/users/vr6syncro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vr6syncro/subscriptions","organizations_url":"https://api.github.com/users/vr6syncro/orgs","repos_url":"https://api.github.com/users/vr6syncro/repos","events_url":"https://api.github.com/users/vr6syncro/events{/privacy}","received_events_url":"https://api.github.com/users/vr6syncro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":35,"created_at":"2017-12-05T17:58:55Z","updated_at":"2018-07-06T21:22:55Z","closed_at":null,"author_association":"NONE","body":"Moin mein MQTT Adapter bekommt ein crash wenn sich ein bestimmter controller anmeldet:\r\n\r\n\r\n```\r\nhost.ioBroker | 2017-12-05 18:57:16.429 | info | Restart adapter system.adapter.mqtt.0 because enabled\r\n-- | -- | -- | --\r\nhost.ioBroker | 2017-12-05 18:57:16.429 | error | instance system.adapter.mqtt.0 terminated with code 0 (OK)\r\nhost.ioBroker | 2017-12-05 18:57:16.429 | error | Caught by controller[0]: at DestroyableTransform.onreadable (/opt/iobroker/node_modules/duplexify/index.js:127:10)\r\nhost.ioBroker | 2017-12-05 18:57:16.429 | error | Caught by controller[0]: at Connection.Duplexify._forward (/opt/iobroker/node_modules/duplexify/index.js:163:26)\r\nhost.ioBroker | 2017-12-05 18:57:16.429 | error | Caught by controller[0]: at Connection.Readable.push (/opt/iobroker/node_modules/readable-stream/lib/_stream_readable.js:157:10)\r\nhost.ioBroker | 2017-12-05 18:57:16.429 | error | Caught by controller[0]: at readableAddChunk (/opt/iobroker/node_modules/readable-stream/lib/_stream_readable.js:198:18)\r\nhost.ioBroker | 2017-12-05 18:57:16.429 | error | Caught by controller[0]: at Connection.emit (events.js:188:7)\r\nhost.ioBroker | 2017-12-05 18:57:16.429 | error | Caught by controller[0]: at emitOne (events.js:96:13)\r\nhost.ioBroker | 2017-12-05 18:57:16.429 | error | Caught by controller[0]: at Connection.emitPacket (/opt/iobroker/node_modules/mqtt-connection/connection.js:10:8)\r\nhost.ioBroker | 2017-12-05 18:57:16.429 | error | Caught by controller[0]: at Connection.emit (events.js:188:7)\r\nhost.ioBroker | 2017-12-05 18:57:16.429 | error | Caught by controller[0]: at emitOne (events.js:96:13)\r\nhost.ioBroker | 2017-12-05 18:57:16.429 | error | Caught by controller[0]: at Connection. (/opt/iobroker/node_modules/iobroker.mqtt/lib/server.js:383:57)\r\nhost.ioBroker | 2017-12-05 18:57:16.428 | error | Caught by controller[0]: TypeError: Cannot read property 'toString' of undefined\r\nmqtt.0 | 2017-12-05 18:57:15.919 | debug | onStateChange mqtt.0.info.connection: {\"val\":\"\",\"ack\":true,\"ts\":1512496635917,\"q\":0,\"from\":\"system.adapter.mqtt.0\",\"lc\":1512496635917}\r\nmqtt.0 | 2017-12-05 18:57:15.919 | debug | stateChange mqtt.0.info.connection: {\"val\":\"\",\"ack\":true,\"ts\":1512496635917,\"q\":0,\"from\":\"system.adapter.mqtt.0\",\"lc\":1512496635917}\r\nmqtt.0 | 2017-12-05 18:57:15.919 | debug | stateChange mqtt.0.last.will: {\"val\":\"[object Object]\",\"ack\":true,\"ts\":1512496635917,\"q\":0,\"from\":\"system.adapter.mqtt.0\",\"lc\":1512322544172}\r\nmqtt.0 | 2017-12-05 18:57:15.918 | debug | onStateChange mqtt.0.info.connection: {\"val\":\"Kueche1\",\"ack\":true,\"ts\":1512496635916,\"q\":0,\"from\":\"system.adapter.mqtt.0\",\"lc\":1512496635916}\r\nmqtt.0 | 2017-12-05 18:57:15.918 | debug | stateChange mqtt.0.info.connection: {\"val\":\"Kueche1\",\"ack\":true,\"ts\":1512496635916,\"q\":0,\"from\":\"system.adapter.mqtt.0\",\"lc\":1512496635916}\r\nmqtt.0 | 2017-12-05 18:57:15.917 | debug | stateChange mqtt.0.last.will: {\"val\":\"[object Object]\",\"ack\":true,\"ts\":1512496635915,\"q\":0,\"from\":\"system.adapter.mqtt.0\",\"lc\":1512322544172}\r\nmqtt.0 | 2017-12-05 18:57:15.916 | info | Client [Kueche1] closed\r\nmqtt.0 | 2017-12-05 18:57:15.916 | info | Client [Kueche2] closed\r\nmqtt.0 | 2017-12-05 18:57:15.916 | info | Client [Controller_4] closed\r\nmqtt.0 | 2017-12-05 18:57:15.916 | error | TypeError: Cannot read property 'toString' of undefined at Connection. (/opt/iobroker/node_modules/iobroker.mqtt/lib/server.js:383:57) at emitOne (events.js:96:13) at Connection\r\nmqtt.0 | 2017-12-05 18:57:15.916 | error | uncaught exception: Cannot read property 'toString' of undefined\r\nmqtt.0 | 2017-12-05 18:57:04.838 | debug | onStateChange mqtt.0.info.connection: {\"val\":\"Kueche1,Kueche2\",\"ack\":true,\"ts\":1512496624835,\"q\":0,\"from\":\"system.adapter.mqtt.0\",\"lc\":1512496624835}\r\nmqtt.0 | 2017-12-05 18:57:04.838 | debug | stateChange mqtt.0.info.connection: {\"val\":\"Kueche1,Kueche2\",\"ack\":true,\"ts\":1512496624835,\"q\":0,\"from\":\"system.adapter.mqtt.0\",\"lc\":1512496624835}\r\nmqtt.0 | 2017-12-05 18:57:04.837 | debug | onStateChange mqtt.0.info.connection: {\"val\":\"Kueche1\",\"ack\":true,\"ts\":1512496624832,\"q\":0,\"from\":\"system.adapter.mqtt.0\",\"lc\":1512496624832}\r\nmqtt.0 | 2017-12-05 18:57:04.837 | debug | stateChange mqtt.0.info.connection: {\"val\":\"Kueche1\",\"ack\":true,\"ts\":1512496624832,\"q\":0,\"from\":\"system.adapter.mqtt.0\",\"lc\":1512496624832}\r\n\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/ioBroker/ioBroker.mqtt/issues/comments/403150293","html_url":"https://github.com/ioBroker/ioBroker.mqtt/issues/7#issuecomment-403150293","issue_url":"https://api.github.com/repos/ioBroker/ioBroker.mqtt/issues/7","id":403150293,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzE1MDI5Mw==","user":{"login":"GermanBluefox","id":4582016,"node_id":"MDQ6VXNlcjQ1ODIwMTY=","avatar_url":"https://avatars1.githubusercontent.com/u/4582016?v=4","gravatar_id":"","url":"https://api.github.com/users/GermanBluefox","html_url":"https://github.com/GermanBluefox","followers_url":"https://api.github.com/users/GermanBluefox/followers","following_url":"https://api.github.com/users/GermanBluefox/following{/other_user}","gists_url":"https://api.github.com/users/GermanBluefox/gists{/gist_id}","starred_url":"https://api.github.com/users/GermanBluefox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GermanBluefox/subscriptions","organizations_url":"https://api.github.com/users/GermanBluefox/orgs","repos_url":"https://api.github.com/users/GermanBluefox/repos","events_url":"https://api.github.com/users/GermanBluefox/events{/privacy}","received_events_url":"https://api.github.com/users/GermanBluefox/received_events","type":"User","site_admin":false},"created_at":"2018-07-06T21:22:55Z","updated_at":"2018-07-06T21:22:55Z","author_association":"CONTRIBUTOR","body":"Bitte mit 2.0.1 probieren"}}
{"actor":{"display_login":"GermanBluefox"}}