QCAD

QCAD - 2D CAD System.

Click here for a documentation of the DokuWiki formatting syntax that can be used in reports

Please search for existing tasks (also closed ones) before opening a new task.

Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help - Check for Updates)

Tasklist

FS#279 - library.js:638: Error: cannot access member `children' of deleted QObject

Attached to Project: QCAD
Opened by Martin (martin) - Thursday, 29 September 2011, 13:21 GMT+1
Last edited by Andrew (andrew) - Thursday, 29 September 2011, 15:50 GMT+1
Task Type Bug Report
Category Main
Status Closed
Assigned To Andrew (andrew)
Operating System All
Severity Medium
Priority Normal
Reported Version 3 Beta 2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

  • QCAD was running during the lunch break
    • one drawing opened in print preview
    • another drawing opened (normal mode)
  • switched to another virtual desktop
        if (!isNull(child.objectName) && child.objectName != "") {
            ca[child.objectName] = child;
        }
=>      if (!isNull(child.children) && child.children().length != 0) {
            getWidgets(child, ca);
        }
Uncaught exception at /home/martin/workspace/rsframework/scripts/library.js:638:
Error: cannot access member `children' of deleted QObject
638	        if (!isNull(child.children) && child.children().length != 0) {
qsdb> child
Error: cannot access member `toString' of deleted QObject
qsdb> isNull(child)
true
qsdb> .bt
#0  getWidgets(widget = QToolBar) at /home/martin/workspace/rsframework/scripts/library.js:638
#1  <anonymous>(resume = true) at scripts/File/PrintPreview/PrintPreview.js:235
#2  <anonymous>() at /home/martin/workspace/rsframework/scripts/Idle/../EAction.js:237
#3  <anonymous>() at /home/martin/workspace/rsframework/scripts/File/
PrintPreview/../../Idle/DefaultAction/DefaultAction.js:119
#4  <global>() at -1
This task depends upon

Closed by  Andrew (andrew)
Thursday, 29 September 2011, 15:50 GMT+1
Reason for closing:  Fixed

Loading...