portal icon indicating copy to clipboard operation
portal copied to clipboard

Uncaught TypeError: Cannot call method 'concat' of null

Open markharding opened this issue 10 years ago • 1 comments

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.

markharding avatar Mar 02 '14 22:03 markharding

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

flowersinthesand avatar Mar 03 '14 04:03 flowersinthesand