Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

LiveChat: Exception in delivering result of invoking 'loadHistory'

Open karmacoma opened this issue 10 years ago • 2 comments

Hello,

I'm encountering the following in Google Chrome's dev console when initialising LiveChat. When I try to chat through the LiveChat widget it also returns an internal server error message.

Exception in delivering result of invoking 'loadHistory': TypeError: Cannot read property 'length' of undefined
    at https://lisk.chat/packages/rocketchat_livechat/public/livechat.js?_dc=67c4f9ba7ee8eabf2654ad44840c96ee2c49b50d:159:728
    at null._callback (https://lisk.chat/packages/rocketchat_livechat/public/livechat.js?_dc=67c4f9ba7ee8eabf2654ad44840c96ee2c49b50d:5:6834)
    at i.extend._maybeInvokeCallback (https://lisk.chat/packages/rocketchat_livechat/public/livechat.js?_dc=67c4f9ba7ee8eabf2654ad44840c96ee2c49b50d:52:8277)
    at i.extend.receiveResult (https://lisk.chat/packages/rocketchat_livechat/public/livechat.js?_dc=67c4f9ba7ee8eabf2654ad44840c96ee2c49b50d:52:8585)
    at i.extend._livedata_result (https://lisk.chat/packages/rocketchat_livechat/public/livechat.js?_dc=67c4f9ba7ee8eabf2654ad44840c96ee2c49b50d:52:19863)
    at o (https://lisk.chat/packages/rocketchat_livechat/public/livechat.js?_dc=67c4f9ba7ee8eabf2654ad44840c96ee2c49b50d:52:6563)
    at https://lisk.chat/packages/rocketchat_livechat/public/livechat.js?_dc=67c4f9ba7ee8eabf2654ad44840c96ee2c49b50d:52:567
    at Array.forEach (native)
    at Function.A.each.A.forEach (https://lisk.chat/packages/rocketchat_livechat/public/livechat.js?_dc=67c4f9ba7ee8eabf2654ad44840c96ee2c49b50d:3:865)
    at t.socket.onmessage (https://lisk.chat/packages/rocketchat_livechat/public/livechat.js?_dc=67c4f9ba7ee8eabf2654ad44840c96ee2c49b50d:52:525)

I am running Rocket.Chat 0.15.0 (as of a38d58936659c52e81ded46c3ef0277f09d64faf).

Note: In Safari the Live Chat works, so it seems at first glance to be an issue with Chrome.

Any help with this issue would be greatly appreciated.

karmacoma avatar Jan 30 '16 22:01 karmacoma

Please let us know if this is still happening. Many releases and improvements since 0.15.0

geekgonecrazy avatar Oct 27 '16 20:10 geekgonecrazy

Looks that again is happenning: ception in delivering result of invoking 'loadHistory': TypeError: Cannot read property 'length' of undefined at https://host:443/livechat/livechat.js?_dc=3c6f71b5e881cca916b5b2b852579629c5c69b01:157:9742 at c._callback (https://host:443/livechat/livechat.js?_dc=3c6f71b5e881cca916b5b2b852579629c5c69b01:3:7449) at c._maybeInvokeCallback (https://host:443/livechat/livechat.js?_dc=3c6f71b5e881cca916b5b2b852579629c5c69b01:62:9139) at c.receiveResult (https://host:443/livechat/livechat.js?_dc=3c6f71b5e881cca916b5b2b852579629c5c69b01:62:9447) at o._livedata_result (https://host:443/livechat/livechat.js?_dc=3c6f71b5e881cca916b5b2b852579629c5c69b01:62:21662) at o (https://host:443/livechat/livechat.js?_dc=3c6f71b5e881cca916b5b2b852579629c5c69b01:62:6985) at https://host:443/livechat/livechat.js?_dc=3c6f71b5e881cca916b5b2b852579629c5c69b01:62:606 at Array.forEach (native) at Function.A.each.A.forEach (https://host:443/livechat/livechat.js?_dc=3c6f71b5e881cca916b5b2b852579629c5c69b01:1:865) at C.t.socket.onmessage (https://host:443/livechat/livechat.js?_dc=3c6f71b5e881cca916b5b2b852579629c5c69b01:62:564)

DaBlitzStein avatar Mar 08 '17 21:03 DaBlitzStein