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

NPE occured in Stateless Tree with TreeModel when multiple-select mode is enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 10.0.0
    • stateless
    • Security Level: Jimmy

      Steps to Reproduce

      1. Build a stateless tree with TreeModel using ITreeController.
      2. set checkmark="true" and multiple="true" to enable multi-select mode.
      3. open browser check any  checkbox.
      4. un-check the checkbox you just checked.
      5. NullPointerException should occur.

      Current Result

      NPE occur.

      Note: NPE only occur when you `un-check a checkbox`, IOW occur when `the tree's selection count changes from 1 to 0`.

      Expected Result

      No exceptions.

       

            Unassigned Unassigned
            jamson jamson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: