[Issue 461] New - NPE in autocompletesupport

View: New views
3 Messages — Rating Filter:   Alert me  

[Issue 461] New - NPE in autocompletesupport

by johanandren :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://glazedlists.dev.java.net/issues/show_bug.cgi?id=461
                 Issue #|461
                 Summary|NPE in autocompletesupport
               Component|glazedlists
                 Version|1.7.0
                Platform|Macintosh
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|swing
             Assigned to|jessewilson
             Reported by|johanandren






------- Additional comments from johanandren@... Tue Nov 25 09:31:57 +0000 2008 -------
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);
}

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


[Issue 461] NPE in autocompletesupport

by jplemieux :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://glazedlists.dev.java.net/issues/show_bug.cgi?id=461



User jplemieux changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from jplemieux@... Mon Jan 26 01:49:57 +0000 2009 -------
This code seems benign enough. It has been added into AutoCompleteSupport.

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


[Issue 461] NPE in autocompletesupport

by BRANDS-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://glazedlists.dev.java.net/issues/show_bug.cgi?id=461



User brands changed the following:

                What    |Old value                 |New value
================================================================================
        Target milestone|milestone 1               |1.8.0
--------------------------------------------------------------------------------




------- Additional comments from brands@... Mon Jan 26 08:58:59 +0000 2009 -------
changing milestone...

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...