question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Undefined 'quadDetails'

See original GitHub issue

I’m seeing a quadDetails is undefined error from our app when zooming in too far or rotating the map in such a way that brings the camera super close to the map. The sandcastle below should give the same error. However, the strange thing is that I can’t get the error on sandcastle when the browser window is small or on my laptop. On my bigger monitor, however, it is consistent.

I see that the error is coming from this line -> https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/QuadtreePrimitive.js#L901, and it seems that a simple if (!quadDetails) return; fixes the issue. Although, it might be a hacky solution, and I’m not sure where exactly the problem is coming from.

I tried reproducing the issue with version 1.51 and it seems to still freeze, but without the error.

Sandcastle example: https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/#c=jZA9a8MwEIb/ivASh5Rz03aLYgKeCoUOpZ20KMrFPiLrjCQ7JKX/vbJNoR9Lb3m5j+cZbtBeDIRn9GIrHJ5FhYH6Ft6mWb4wU1uxi5oc+sVyo5xyQ6JMAmYSjG7R62lj4MrcPrrcQMeBIrGrtI9ce901ZKBBqps4WgxY5tNrl6/hfrYe2eejmZL5dpNCiocxV6uleFdOpPqfXhTiblR+KJfdZDLEi8VyFuyo7dhH0XubAxQR287qiKHY9+aEEUwIIymLL0geaBB02Krs1ytUJozVIaTNsbf2ha6oslIW6f4HZlkfyNXPA3qrL+NJsy6f5iEAyCK1f6nIbPfafzN+Ag

Browser: Chrome, FF Operating System: Windows 10

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kringcommented, Jul 17, 2019

Yes that solution makes sense to me. It might not be a bad idea to add:

traversalDetails.allAreRenderable = true;
traversalDetails.anyWereRenderedLastFrame = false;
traversalDetails.notYetRenderableCount = 0;

before returning. Mind opening a pull request with that change?

0reactions
hpinkoscommented, Sep 19, 2019

Fixed in #8011

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kanzi Engine: kanzi::TimelinePlayback Class Reference
Before playback is added to a clock, its progress time is undefined. After playback is added to a clock, its progress time is...
Read more >
D3 v4 quadtree root is returning undefined - Stack Overflow
I'm using D3 v4 and can't get quadtree to work. It keeps returning undefined for the root. I don't think it likes the...
Read more >
Modular QoS Configuration Guide for Cisco NCS 540 Series ...
If either one of them is not applied then it may lead to undefined behaviour. 5. If the egress policy-map does not match...
Read more >
Spruce Needleworm Moth ... - Maryland Biodiversity Project
[View quad details] ... A Spruce Needleworm Moth in Prince George's Co., Maryland (undefined/undefined/). Photo by Bob Patterson. (MBP list).
Read more >
TMF tools - Page 2 - FSX | FSX-SE Scenery Design Forum - How To ...
... error A2006: undefined symbol : BGLCOc:temptmpLake.asm(41) : error A2175: ... will let you get the quad details next to the one you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found