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

selecting/deselecting data sets causes white screen intermittently #599

Open
johng2022 opened this issue Jun 27, 2022 · 0 comments
Open

Comments

@johng2022
Copy link

When selecting or deselecting imported data sets (eg KML) from the workbench (ie ticking the box), intermittently (in fact, most times) the screen goes white and no map is displayed. To display the map again, one needs to reload the browser page and this unfortunately loses any data files that were loaded before by the user, therefore those data files need to be re-imported in the map.

Errors in the browser's Dev Tools Console are pasted below. Please note that the [mobx] error occurs when selecting/deselecting the data set.

Creating a viewer: none
3.TerriaMap.js:136

   `proxyableDomainsUrl` is no longer supported in v8

(anonymous) @ 3.TerriaMap.js:136
/android-icon-144x144.png:1

   Failed to load resource: the server responded with a status of 404 ()

nationalmap.gov.au/:1

   Error while trying to use the following icon from the Manifest: https://nationalmap.gov.au/android-icon-144x144.png (Download error or resource isn't a valid image)

3.TerriaMap.js:129 Destroying viewer: none
3.TerriaMap.js:129 Creating a viewer: none
3.TerriaMap.js:129 Destroying viewer: none
3.TerriaMap.js:129 Creating a viewer: Leaflet
3.TerriaMap.js:129 Creating a viewer: none
3.TerriaMap.js:471 Initialising preview map. This might be expensive, so this should only show up when the preview map disappears and reappears
3.TerriaMap.js:129 Destroying viewer: none
3.TerriaMap.js:129 Creating a viewer: none
3.TerriaMap.js:129 Destroying viewer: none
3.TerriaMap.js:129 Creating a viewer: Leaflet
3.TerriaMap.js:129 Destroying viewer: Leaflet
3.TerriaMap.js:129 Creating a viewer: none
3.TerriaMap.js:15

   [mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: 'Reaction[Autorun@2504]' TypeError: Cannot read properties of undefined (reading 'point')
at b (4.TerriaMap.js:1:182567)
at m (4.TerriaMap.js:1:182473)
at A.value (4.TerriaMap.js:1:171848)
at i.raiseEvent (3.TerriaMap.js:55:50795)
at p (3.TerriaMap.js:129:26339)
at h.resumeEvents (3.TerriaMap.js:129:26804)
at h.set (3.TerriaMap.js:129:27363)
at Lt.set (3.TerriaMap.js:495:1622585)
at o.get (3.TerriaMap.js:390:316559)
at ye (3.TerriaMap.js:15:5804)

e.reportExceptionInDerivation @ 3.TerriaMap.js:15
e.track @ 3.TerriaMap.js:15
(anonymous) @ 3.TerriaMap.js:15
e.runReaction @ 3.TerriaMap.js:15
rt @ 3.TerriaMap.js:15
tt @ 3.TerriaMap.js:15
(anonymous) @ 3.TerriaMap.js:15
eu @ 3.TerriaMap.js:416
tt @ 3.TerriaMap.js:15
nt @ 3.TerriaMap.js:15
Xe @ 3.TerriaMap.js:15
je @ 3.TerriaMap.js:15
Te @ 3.TerriaMap.js:15
yt @ 3.TerriaMap.js:15
toggleVisibility @ 3.TerriaMap.js:476
s @ 3.TerriaMap.js:416
p @ 3.TerriaMap.js:416
(anonymous) @ 3.TerriaMap.js:416
v @ 3.TerriaMap.js:416
at @ 3.TerriaMap.js:416
it @ 3.TerriaMap.js:416
st @ 3.TerriaMap.js:416
pt @ 3.TerriaMap.js:416
N @ 3.TerriaMap.js:416
U @ 3.TerriaMap.js:416
Kt @ 3.TerriaMap.js:416
Jt @ 3.TerriaMap.js:416
t.unstable_runWithPriority @ 3.TerriaMap.js:424
Vi @ 3.TerriaMap.js:416
R @ 3.TerriaMap.js:416
Zt @ 3.TerriaMap.js:416
3.TerriaMap.js:129 Destroying viewer: Leaflet
3.TerriaMap.js:129 Creating a viewer: none
3.TerriaMap.js:416

   TypeError: Cannot read properties of undefined (reading 'point')
at b (4.TerriaMap.js:1:182567)
at m (4.TerriaMap.js:1:182473)
at A.value (4.TerriaMap.js:1:171848)
at i.raiseEvent (3.TerriaMap.js:55:50795)
at p (3.TerriaMap.js:129:26339)
at h.resumeEvents (3.TerriaMap.js:129:26804)
at h.set (3.TerriaMap.js:129:27363)
at Lt.set (3.TerriaMap.js:495:1622585)
at o.get (3.TerriaMap.js:390:316559)
at ye (3.TerriaMap.js:15:5804)

es @ 3.TerriaMap.js:416
n.callback @ 3.TerriaMap.js:416
fo @ 3.TerriaMap.js:416
os @ 3.TerriaMap.js:416
pu @ 3.TerriaMap.js:416
t.unstable_runWithPriority @ 3.TerriaMap.js:424
Vi @ 3.TerriaMap.js:416
du @ 3.TerriaMap.js:416
$s @ 3.TerriaMap.js:416
(anonymous) @ 3.TerriaMap.js:416
t.unstable_runWithPriority @ 3.TerriaMap.js:424
Vi @ 3.TerriaMap.js:416
qi @ 3.TerriaMap.js:416
Wi @ 3.TerriaMap.js:416
eu @ 3.TerriaMap.js:416
tt @ 3.TerriaMap.js:15
nt @ 3.TerriaMap.js:15
Xe @ 3.TerriaMap.js:15
je @ 3.TerriaMap.js:15
Te @ 3.TerriaMap.js:15
yt @ 3.TerriaMap.js:15
(anonymous) @ 4.TerriaMap.js:1
Promise.then (async)
value @ 4.TerriaMap.js:1
value @ 4.TerriaMap.js:1
fire @ 3.TerriaMap.js:118
_fireDOMEvent @ 3.TerriaMap.js:118
_handleDOMEvent @ 3.TerriaMap.js:118
a @ 3.TerriaMap.js:118
4.TerriaMap.js:1

   Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'point')
at b (4.TerriaMap.js:1:182567)
at m (4.TerriaMap.js:1:182473)
at A.value (4.TerriaMap.js:1:171848)
at i.raiseEvent (3.TerriaMap.js:55:50795)
at p (3.TerriaMap.js:129:26339)
at h.resumeEvents (3.TerriaMap.js:129:26804)
at h.set (3.TerriaMap.js:129:27363)
at Lt.set (3.TerriaMap.js:495:1622585)
at o.get (3.TerriaMap.js:390:316559)
at ye (3.TerriaMap.js:15:5804)
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

1 participant