portal
portal copied to clipboard
Uncaught TypeError: Cannot call method 'concat' of null
Occasionally receive Uncaught TypeError: Cannot call method 'concat' of null
on Chrome. I think this is caused by session sharing but I can't be sure.
Yes, it's caused by session sharing. The exception means that shared session was found so the socket tried to use but it failed because important properties are not found. https://github.com/flowersinthesand/portal/blob/1.1.1/portal.js#L1176
Handling session sharing is similar to multi-thread programming in server side. Not easy to test if it works as expected. Also, there is no such locking support now. Anyway, I will rewrite this part considering your issue. https://github.com/flowersinthesand/portal/issues/88 https://github.com/flowersinthesand/portal/issues/126