vue-google-maps icon indicating copy to clipboard operation
vue-google-maps copied to clipboard

TypeError: Cannot read property 'zoom' of null

Open dakshshah96 opened this issue 5 years ago • 3 comments

I have Sentry error monitoring set up for my Vue.js PWA and have been receiving a lot of notifications recently with the following error:

TypeError: Cannot read property 'zoom' of null
  at Object.onClick (/maps-api-v3/api/js/36/4/intl/en_gb/map.js:11:125)
  at xm._.m.Ja (/maps-api-v3/api/js/36/4/intl/en_gb/common.js:135:238)
  at sm._.m.Ja (/maps-api-v3/api/js/36/4/intl/en_gb/common.js:134:175)
  at Um (/maps-api-v3/api/js/36/4/intl/en_gb/common.js:61:224)
  at HTMLDocument.Sm.W._.Em.Pa (/maps-api-v3/api/js/36/4/intl/en_gb/common.js:61:31)
...
(1 additional frame(s) were not displayed)
TypeError: Cannot read property 'zoom' of null
  at Object.onClick(/maps-api-v3/api/js/36/4/map.js:11:125)
  at xm._.m.Ja(/maps-api-v3/api/js/36/4/common.js:135:238)
  at sm._.m.Ja(/maps-api-v3/api/js/36/4/common.js:134:175)
  at Um(/maps-api-v3/api/js/36/4/common.js:61:224)
  at HTMLDocument.Sm.W._.Em.Pa(/maps-api-v3/api/js/36/4/common.js:61:31)
  at HTMLDocument.n(./node_modules/@sentry/browser/dist/index.js:3114:1)

Is this a bug with this package and does anyone know of any possible workarounds?

dakshshah96 avatar Mar 09 '19 07:03 dakshshah96

@xkjyeah Can you help me with this if you have the time?

dakshshah96 avatar Mar 12 '19 17:03 dakshshah96

Damn. Guess he didn't have the time... Did you find a solution in the end?

DJPretorius avatar Nov 03 '20 14:11 DJPretorius

If it can help .. I got Sentry reports for this error as well, it does not seem to affect a lot of our users, but it looks like the common denominator is Chrome 87/88;

  • Chrome 88.0.4324 / Mac OS X 10.13.6
  • Chrome 87.0.4280 / Mac OS X 10.15.7
  • Chrome 88.0.4324 / Windows 7
  • Chrome 87.0.4280 / Windows 10
  • Chrome 88.0.4324 / Windows 10

h3 avatar Feb 03 '21 21:02 h3