Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Member cannot open "general" channel (TypeError: Cannot read property 'split' of undefined) #7749

Closed
wemu opened this issue Aug 15, 2017 · 2 comments

Comments

@wemu
Copy link

wemu commented Aug 15, 2017

Description:

when members open the chat-windows (google chrome) they cannot open the general channel, but other channels work.

There is an exception in the browser console: see below.

deleting the local index db from chrome and refreshing the page solves the issue temporarily. After a while the issue comes back and one has to delete the local db again.

Server Setup Information:

  • Version of Rocket.Chat Server: 0.57.3
  • Operating System: Ubuntu 16.04
  • Deployment Method(snap/docker/tar/etc): snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: active
  • Node Version: v6.11.2

Steps to Reproduce:

don't know how to reliably reproduce this. we use oauth for authentication. and some hubot scripts are enabled. No other modifications have been made.

Expected behavior:

Members should always be able to join the channel.

Actual behavior:

The channel starts loading but no messages are shown.

Relevant logs:

No server side logging shown.
Client error:
3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection rooms => Init on login 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection subscriptions => Init on login 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection rooms => 6 records loaded from cache 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection subscriptions => 6 records loaded from cache 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection permissions => clearing cache 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection public-settings => clearing cache 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection permissions => 72 records loaded from server 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection permissions => recomputing 0 queries 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection permissions => saving cache 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection permissions => saving cache (done) 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:3 Exception in template helper: TypeError: Cannot read property 'split' of undefined at a [as parseNotEscaped] (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:400:1223) at a.e [as parse] (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:400:1071) at Object.<anonymous> (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:400:4095) at https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:139:31303 at https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:139:17158 at https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:139:31936 at Function.e._withTemplateInstanceFunc (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:140:5645) at https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:139:31843 at p.call (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:206:1921) at p.mustacheImpl (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:206:1184) 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:3 Exception from Tracker recompute function: undefined 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:3 TypeError: Cannot read property 'split' of undefined at a [as parseNotEscaped] (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:400:1223) at u (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:400:3923) at https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:246:4183 at Array.reduce (<anonymous>) at Object.z.callbacks.run (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:246:4074) at S (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:313:19705) at https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:313:7871 at f.TemplateInstance.<anonymous> (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:313:7916) at f.TemplateInstance.s (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:242:2174) at https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:140:2622 undefined 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:3 Exception from Tracker recompute function: undefined 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:3 TypeError: Cannot set property 'scrollTop' of null at https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:246:28587 at e.Computation._compute (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:86:2311) at e.Computation._recompute (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:86:2538) at Object.e._runFlush (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:86:3702) at e (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:3:2174) undefined 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection public-settings => 197 records loaded from server 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection public-settings => recomputing 1 queries 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection public-settings => saving cache 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection public-settings => saving cache (done) 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection subscriptions => syncing from Mon Aug 14 2017 23:15:01 GMT+0200 (Mitteleuropäische Sommerzeit) 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:3 Exception from Tracker recompute function: undefined 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:3 TypeError: Cannot read property '0' of null at https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:139:29744 at Object.e.nonreactive (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:86:4396) at Object.changedAt (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:139:29597) at https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:133:2000 at Function.A.each.A.forEach (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:1:998) at p (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:133:1893) at https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:133:842 at Object.e.nonreactive (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:86:4396) at https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:133:644 at e.Computation._compute (https://chat.tolkienforum.de/3738da00b35c2e0f07920dddffd7a02ed324a4e1.js?meteor_js_resource=true:86:2311) undefined 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection subscriptions => 1 records updated in sync 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection subscriptions => saving cache 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection subscriptions => saving cache (done) 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection rooms => syncing from Thu Jan 01 1970 01:00:00 GMT+0100 (Mitteleuropäische Zeit) 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection rooms => 6 records updated in sync 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection rooms => saving cache 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection rooms => saving cache (done) 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection subscriptions => syncing from Tue Aug 15 2017 10:04:23 GMT+0200 (Mitteleuropäische Sommerzeit) 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection subscriptions => saving cache 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection subscriptions => saving cache (done) 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection rooms => syncing from Thu Jan 01 1970 01:00:00 GMT+0100 (Mitteleuropäische Zeit) 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection rooms => 6 records updated in sync 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection rooms => saving cache 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection rooms => saving cache (done) 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection permissions => syncing from Tue Aug 15 2017 18:42:50 GMT+0200 (Mitteleuropäische Sommerzeit) 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection permissions => saving cache 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection permissions => saving cache (done) 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection public-settings => syncing from Tue Aug 15 2017 18:42:51 GMT+0200 (Mitteleuropäische Sommerzeit) 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection public-settings => saving cache 3738da00b35c2e0f07920dddffd7a02ed324a4e1.js:246 CachedCollection public-settings => saving cache (done)

@danieljhochman
Copy link

We had this 1.5 weeks ago when Chrome released their latest version. The fix is this:

#7687

@wemu
Copy link
Author

wemu commented Aug 15, 2017

Ah I see. Thanks for the pointer! I'll wait for 0.58.0 then :-)

@wemu wemu closed this as completed Aug 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants