Wt internal error; code: undefined, description: b.find(...).get(...).lastChild is null
from time to time the error message "Wt internal error; code: undefined, description: b.find(...).get(...).lastChild is null" appears.
See the command log attached.
I don't see any '.lastChild' onto the webpage. How can I figure out what's going wrong?
Updated by Daniel Lier about 6 years ago
the error happens because of my solution for issue 5889. The height of the Wt::WTreeView is changed (as described in issue 5889)
after the data have been updated within a worker thread and pProgressBar->progressCompleted is signalled. See the pseudo code attached
to see what the worker thread is doing.
I guess that the update has not been done yet. Shouldn't the update be finished before the event loop continues and any widget changes can be done?
Can I wait until the latest triggered update has been done?