-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
'instanceIndex is out of range' Error #7153
Comments
Thanks again for reporting this @njrivera! I had seen this crash pop up occasionally but I could never figure out a way to reproduce it. Your test case helped a lot. A fix for this has been merged and will be included in the 1.51 release available on November 1st |
Awesome Thanks!
…On Mon, Oct 22, 2018 at 10:03 AM Hannah ***@***.***> wrote:
Thanks again for reporting this @njrivera <https://github.com/njrivera>!
I had seen this crash pop up occasionally but I could never figure out a
way to reproduce it. Your test case helped a lot. A fix for this has been
merged and will be included in the 1.51 release available on November 1st
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7153 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AbN0-n1sPhoot6R_oVnwWPNm940Nd4HPks5undAzgaJpZM4Xedwf>
.
--
[image: www.novetta.com]
Natanael Rivera
*Software Developer*
600 South Magnolia Avenue
Tampa, FL 33606
Email nrivera@novetta.com
Mobile 813-334-6142
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm periodically (consistently with a particular action) getting the
instanceIndex is out of range
described in this issue: #4983After a bunch of debugging I've been able to reproduce the error in the 2 sandcastle examples given below. These are almost identical to the code in this comment on the 4983 issue -> #4983 (comment).
It seems that the fix that closed the issue did fix this for the situation in that code, but not for the situation in which multiple modifications to a line are being made before the line is removed.
The first sandcastle example is without
requestRenderMode
and always gives an error when clicking theChange Polylines
button, and the second example only gives an error when you click it quickly while cesium is still loading everything OR if you click it more than once. I chose to put the second example there because in the actual codebase I'm using,requestRenderMode
is used.I don't mind working on this, but the code can be confusing. I've gotten as far as eliminating the the
instanceIndex
error, but I'm not sure if this is the best way to go about it (the code below). Also, I thought I found bug using this earlier, but for now I can't reproduce it. I'll keep testing this to see if I can reproduce it. The error had to do with trying to update a polyline that had already been destroyed.I put this in there because duplicates were constantly being added to
_polylinesToUpdate
. Depending on how long I wait with nothing happening and no rendering for a while I can have 1 line thousands of times in that list.Sandcastle example: https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/#c=tVNNj9MwEP0ro1yaSqmjpSyVaFrBZvdWBGILF7IHrzNtLBw7sp1UYbX/HeezaRE3sBLFHs97M+/ZqaiGiuMJNWxA4gliNLzMyfc25s9Yu4yVtJRL1LP5OpGJrByqUKIWLmYugV/6cKyEQGa5kn6PaRmJYSiRFJrn3PIKDaFp6o9cXSpT0lg4cG1srJROmxI/FqvbAJbuXdy8aWdP6yHToPum16mroM9cPV2z7lwtlziWbZt4SSS4USjDm7YNvB80xVRbN6NySQ5a5fd41Ijmo9a09iddzoOO4cRTmzn0sl/n1KLmVJwJP/WRlm5fF+gnnjNM6cQL4IU1s0n1Zkm+Pty/zhP52jgEk3HpwT8UNjX1vyq72317GKUl8pHKlFFjBTbN75USz1Tflda6mzSLMyqPCMMlM7MADqXsrxn0QscjJl2/G3jbm3Y2ady6/fvWuzWEIURRtOgG7DNuwD2njDaGY27AKmC0NAg2Q0CtndDe7OEENOaqQv/M38h0Wr3Ai4ytBW47xAeeF0pbKLXwCQkt5oVwZprwuWQ/0RJm2r8jCgdQlPIKeLpJvKufNPGACWqM2zmUQjzyX5h42yh0+RcwoWjK5fFzhVrQuknJbra7LkgIiUK3/BNluxOZMP4G
https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/#c=tVNNj9MwEP0ro1yaSqmjpSyVaFrBZvdWBGILF7IHrzNtLBw7sp1UYbX/HeezaRE3sBLFHs97M+/ZqaiGiuMJNWxA4gliNLzMyfc25s9Yu4yVtJRL1LP5OpGJrByqUKIWLmYugV/6cKyEQGa5kn6PaRmJYSiRFJrn3PIKDaFp6o9cXSpT0lg4cG1srJROmxI/FqvbAJbuXdy8aWdP6yHToPum16mroM9cPV2z7lwtlziWbZt4SSS4USjDm7YNvB80xVRbN6NySQ5a5fd41Ijmo9a09iddzoOO4cRTmzn0sl/n1KLmVJwJP/WRlm5fF+gnnjNM6cQL4IU1s0n1Zkm+Pty/zhP52jgEk3HpwT8UNjX1vyq72317GKUl8pHKlFFjBTbN75USz1Tflda6mzSLMyqPCMMlM7MADqXsrxn0QscjJl2/G3jbm3Y2ady6/fvWuzWEIURRtOgG7DNuwD2njDaGY27AKmC0NAg2Q0CtndDe7OEENOaqQv/M38h0Wr3Ai4ytBW47xAeeF0pbKLXwCQkt5oVwZprwuWQ/0RJm2r8jCgdQlPIKeLpJvKufNPGACWqM2zmUQjzyX5h42yh0+RcwoWjK5fFzhVrQuknJbra7LkgIiUK3/BNluxOZMP4G
Browser: Chrome, FF, IE
Operating System: Windows 10
The text was updated successfully, but these errors were encountered: