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

BasicTreeUI.ensureRowsAreVisible should check path bounds for null

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • 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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: