Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1170

AbstractTreeModel when using isLeaf method hits a "null" node

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Normal Normal
    • None
    • 6.0.1
    • None
    • Linux, Windows

      See attached example
      ZUL define tree -> controller attaches AbstractTreeModel to Tree. A dynamic tree is built where each root element always has 4 leaves.

      • After scrolling the tree a root node is selected to expand = works the first time, the next selected root to expand runs into a NULL error in isLeaf as passed node == NULL.
      • Select multiple root nodes without scrolling all functions according to expectations for the first selected node, scroll and next selection to expand will generate a NULL error in isLeaf.

      How can a passed node become null? It seems something is loosing focus.

            Unassigned Unassigned
            bbrand bbrand
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: