BasicTreeUI.ensureRowsAreVisible should check path bounds for null

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • 8-pool
    • Affects Version/s: 7u13
    • Component/s: client-libs
    • Environment:

      Build: NetBeans IDE Dev (Build 201303092300) VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_13-b20 OS: Windows 8

      Method BasicTreeUI.ensureRowsAreVisible iterates over several tree rows and calculates their bounds. However getPathBounds() is allowed to return null so that method should check for null value at line 1944.

      Please see the NetBeans issue for complete stack trace.


      https://netbeans.org/bugzilla/show_bug.cgi?id=227268

            Assignee:
            Alexandr Scherbatiy
            Reporter:
            Stanislav Aubrecht
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: