Details

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

      Operating System: All
      Platform: Macintosh

    • Issuezilla Id:
      461

      Description

      We use beansbinding together with the AutoCompleteSupport and get a NPE from the
      AutoCompleteSupport:1066 sometime during initialization of the screen when setSelectedItem was called
      by the bindings.

      Added this and the problem disappeared:
      // remove any text selection that might exist when an item is selected
      if (comboBoxEditor != null) {
      final int caretPos = comboBoxEditorComponent.getCaretPosition();
      comboBoxEditorComponent.select(caretPos, caretPos);
      }

        Activity

        Hide
        jplemieux added a comment -

        This code seems benign enough. It has been added into AutoCompleteSupport.

        Show
        jplemieux added a comment - This code seems benign enough. It has been added into AutoCompleteSupport.
        Hide
        brands added a comment -

        changing milestone...

        Show
        brands added a comment - changing milestone...

          People

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

            Dates

            • Created:
              Updated:
              Resolved: