Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8022052

BasicTreeUI.ensureRowsAreVisible should check path bounds for null

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 8-pool
    • 7u13
    • client-libs
    • 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

            alexsch Alexandr Scherbatiy
            saubrech Stanislav Aubrecht
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: