Project

General

Profile

Actions

Bug #5914

open

Wt internal error; code: undefined, description: b.find(...).get(...).lastChild is null

Added by Daniel Lier over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
High
Assignee:
Roel Standaert
Target version:
Start date:
09/14/2017
Due date:
% Done:

0%

Estimated time:

Description

Hi,

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?

Regards,

Daniel


Files

log_rel.txt (1.26 MB) log_rel.txt Daniel Lier, 09/14/2017 01:07 PM
pseudo_code.txt (554 Bytes) pseudo_code.txt Daniel Lier, 09/18/2017 01:16 PM
Actions #1

Updated by Daniel Lier over 7 years ago

Hi,

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?

Regards,

Daniel

Actions

Also available in: Atom PDF