Redux-devtools-extension: getting 'whitelist' of undefined in new version (2.16.0)

Created on 28 Nov 2018  Â·  28Comments  Â·  Source: zalmoxisus/redux-devtools-extension

vendor.js:70863 ERROR TypeError: Cannot read property 'whitelist' of undefined
at isFiltered (:1:5016)
at Object.x [as send] (:1:74196)
at DevtoolsExtension.push.../../node_modules/@ngrx/store-devtools/fesm5/store-devtools.js.DevtoolsExtension.notify (vendor.js:145185)
at ScanSubscriber.StoreDevtools.liftedAction$.pipe.Object.state [as accumulator] (vendor.js:145624)
at

with this error app does not work and when i disable the extension from chrome, app functions properly

Most helpful comment

Published 2.16.2 which includes https://github.com/zalmoxisus/redux-devtools-extension/commit/969619c4575e9568bcb33d1ee57ee3a42688d238 patch. It should be available on Chrome Store in an hour.

All 28 comments

capture

Unsure whether the issue lies with @ngrx or the redux devtools but it seems to be the combination of them both causing the error.

2.16.1 is available on Crome Store. Please let me know if it helps.

Still crashing with 2.16.1

@manklu what is the exception you're getting?

@zalmoxisus it is still the same error:
Cannot read property 'whitelist' of undefined

@zalmoxisus
core.js:12501 ERROR TypeError: Cannot read property 'whitelist' of undefined at isFiltered (<anonymous>:1:5016) at Object.x [as send] (<anonymous>:1:73900) at DevtoolsExtension.push../node_modules/@ngrx/store-devtools/fesm5/store-devtools.js.DevtoolsExtension.notify (store-devtools.js:353) at ScanSubscriber.StoreDevtools.liftedAction$.pipe.Object.state [as accumulator] (store-devtools.js:865) at ScanSubscriber.push../node_modules/rxjs/_esm5/internal/operators/scan.js.ScanSubscriber._tryNext (scan.js:61) at ScanSubscriber.push../node_modules/rxjs/_esm5/internal/operators/scan.js.ScanSubscriber._next (scan.js:54) at ScanSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:54) at WithLatestFromSubscriber.push../node_modules/rxjs/_esm5/internal/operators/withLatestFrom.js.WithLatestFromSubscriber._next (withLatestFrom.js:66) at WithLatestFromSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:54) at Notification.push../node_modules/rxjs/_esm5/internal/Notification.js.Notification.observe (Notification.js:15)

Do you have all mac's? On my mac it appears,my colleague has a Windows PC and doesn't have this error

Can someone share a link or an example to run to reproduce it?

I'm on mac as well and no problems. I suspect window.devToolsOptions is created after the function is called in https://github.com/zalmoxisus/redux-devtools-extension/blob/master/src/app/api/filters.js#L28, but that was also there before.

Windows 10 Professional
Chrome Version 70.0.3538.110 (Official Build) (64-bit)
Redux DevTools 2.16.1

core.js:1673 ERROR TypeError: Cannot read property 'whitelist' of undefined at isFiltered (<anonymous>:1:5016) at Object.x [as send] (<anonymous>:1:73900) at DevtoolsExtension.push../node_modules/@ngrx/store-devtools/fesm5/store-devtools.js.DevtoolsExtension.notify (store-devtools.js:210) at ScanSubscriber.StoreDevtools.liftedAction$.pipe.Object.state [as accumulator] (store-devtools.js:649) at ScanSubscriber.push../node_modules/rxjs/_esm5/internal/operators/scan.js.ScanSubscriber._tryNext (scan.js:61) at ScanSubscriber.push../node_modules/rxjs/_esm5/internal/operators/scan.js.ScanSubscriber._next (scan.js:54) at ScanSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:54) at WithLatestFromSubscriber.push../node_modules/rxjs/_esm5/internal/operators/withLatestFrom.js.WithLatestFromSubscriber._next (withLatestFrom.js:66) at WithLatestFromSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:54) at Notification.push../node_modules/rxjs/_esm5/internal/Notification.js.Notification.observe (Notification.js:15)

I have Ubuntu and I get the error, my colleague with Windows gets the error too


From: Bo Vandersteene notifications@github.com
Sent: Wednesday, November 28, 2018 11:59 AM
To: zalmoxisus/redux-devtools-extension
Cc: Samir Ajdarpasic; Manual
Subject: Re: [zalmoxisus/redux-devtools-extension] getting 'whitelist' of undefined in new version (2.16.0) (#589)

Do you have all mac's? On my mac it appears,my colleague has a Windows PC and doesn't have this error

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/zalmoxisus/redux-devtools-extension/issues/589#issuecomment-442406794, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AV--xYyrrEEww6FcglOib5O2SJSa2wmiks5uzmyPgaJpZM4Y22Uk.

The error is only when using with@ngrx right?

The error is only when using with@ngrx right?

Looks to be reading through the errors reported.
"@ngrx/effects": "6.1.0", "@ngrx/router-store": "6.1.0", "@ngrx/store": "6.1.0", "@ngrx/store-devtools": "6.1.0"

Tried http://ngrx.github.io/example-app/ and it works. I'll add a condition on that part of code, but not sure the problem originates only from there.

http://ngrx.github.io/example-app/ use 2.x.x version of ngrx

@zalmoxisus

Tried http://ngrx.github.io/example-app/ and it works.

Interestingly, this site works for me too.

That makes sense then. Will publish a new patch now, but would appreciate if someone can share a demo with 3.0 so I can reproduce it.

Published 2.16.2 which includes https://github.com/zalmoxisus/redux-devtools-extension/commit/969619c4575e9568bcb33d1ee57ee3a42688d238 patch. It should be available on Chrome Store in an hour.

2.16.2 seems to work.
thank you very much!

2.16.2 seems to work.
thank you very much!

Confirmed here too.

Confirmed here as wel. Thanks for the quick fix

Yup, 2.16.2 fixed this issue on both Win 10 and Ubuntu 18.04

Works again on Mac also!

Solved here also, @zalmoxisus thanks for the rapid response

Solved!
Thanks!

At least this issue learnt me to disable redux devtools everywhere except development environment :D

I was quite perplexed by my non-rendering app and passing test suite... glad I googled the issue before running git bisect! First time in quite a while I've had an extension stop a page from loading like this.

Thanks for the quick fix.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

scarlac picture scarlac  Â·  4Comments

zalmoxisus picture zalmoxisus  Â·  4Comments

born2net picture born2net  Â·  4Comments

ThinkSalat picture ThinkSalat  Â·  3Comments

michaelwalloschke picture michaelwalloschke  Â·  3Comments