glazedlists
  1. glazedlists
  2. GLAZEDLISTS-457

Fail to check for null in AutoCompleteKeyHandler

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 1.7.0
    • Fix Version/s: milestone 1
    • Component/s: swing
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      457

      Description

      Using AutoCompleteSupport in a JComboBox will result in a NPE in the following
      situation:

      Pressing a button opens a panel with a JComboBox with AutoCompleteSupport
      installed, the combobox get's first focus.

      Pressing the button using [ENTER] will, if you don't release [ENTER] quick
      enough, result in AutoCompleteKeyHandler handling a keyReleased event, which
      assumes keyPressed has been called (setting up the array of listeners).
      Therefore you get a NullPointerEception.

        Activity

        Hide
        jplemieux added a comment -

        This issue was fixed a long time ago in the nightly build. (yes, I know, it's
        time to ship a new release) Updating to the latest jars here will solve your
        problem:

        https://glazedlists.dev.java.net/servlets/ProjectDocumentList?folderID=3916&expandFolder=3916&folderID=0

        Closing the defect as invalid.

        Show
        jplemieux added a comment - This issue was fixed a long time ago in the nightly build. (yes, I know, it's time to ship a new release) Updating to the latest jars here will solve your problem: https://glazedlists.dev.java.net/servlets/ProjectDocumentList?folderID=3916&expandFolder=3916&folderID=0 Closing the defect as invalid.

          People

          • Assignee:
            jessewilson
            Reporter:
            vakuumbarn
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: