leoheck wrote: ↑Wed Dec 16, 2020 12:34 am
I have one Part Design Body that was good and now it is not being displayed. I haven't touched it for a while and I am trying to investigate what is causing this.
I am seeing this, maybe it is related. What does this exception mean?
Code: Select all
21:24:27 Exception during draw: Sketch::checkGeoId. GeoId index out range.
This exception is thrown at ViewProviderSketch::draw, towards the middle-end of the very long function (line 5603). This draw() function is rather complex. It does something somewhere directly or indirectly calling the solver interface (sketch.cpp). This is the one generating the exception. My best guess is that the solver is not synchronised with SketchObject geometry. What causes it to be out of synchr is rather the bug (the root cause) and what needs to be investigated.
It is probably one line looking like:
Code: Select all
getSketchObject()->getSolvedSketch()
probably:
Code: Select all
getSketchObject()->getSolvedSketch().getPoint(
which internally calls the checkId() function.
jmages wrote: ↑Wed Dec 16, 2020 1:22 pm
I have the same error message once in a while when working with sketcher. But it is not reproducible. By repeating the last action the message does not appear again.
My hypothesis is that it gets back in sync. That exception is there to prevent the crashing, but to show something is not ok and should be fixed. Then it is important to be able to reproduce...