Buggy code:
public class GenericTestBeanCustomizer extends JPanel implements SharedCustomizer { private static final long serialVersionUID = 240L ; private static final Logger log = LoggingManager . getLoggerForClass ( ) ; public static final String GROUP = "group" ; public static final String ORDER = "order" ; public static final String TAGS = "tags" ; public static final String NOT_UNDEFINED = "notUndefined" ; public static final String NOT_EXPRESSION = "notExpression" ; public static final String NOT_OTHER = "notOther" ; public static final String DEFAULT = "default" ; public static final String RESOURCE_BUNDLE = "resourceBundle" ; public static final String GUITYPE = "guiType" ; public static final String ORDER ( String group ) { } public static final String DEFAULT_GROUP = "" ; @ SuppressWarnings ( "unused" ) private int scrollerCount = 0 ; private transient BeanInfo beanInfo ; private transient PropertyDescriptor [ ] descriptors ; private transient PropertyEditor [ ] editors ; private MessageFormat propertyFieldLabelMessage ; private MessageFormat propertyToolTipMessage ; private Map < String , Object > propertyMap ; @ Deprecated public GenericTestBeanCustomizer ( ) { } GenericTestBeanCustomizer ( BeanInfo beanInfo ) { } private WrapperEditor createWrapperEditor ( PropertyEditor typeEditor , PropertyDescriptor descriptor ) { } static boolean notOther ( PropertyDescriptor descriptor ) { } static boolean notExpression ( PropertyDescriptor descriptor ) { } static boolean notNull ( PropertyDescriptor descriptor ) { } private void setEditorValue ( int i , Object value ) throws IllegalArgumentException { } @ SuppressWarnings ( "unchecked" ) public void setObject ( Object map ) { } private void init ( ) { } private JLabel createLabel ( PropertyDescriptor desc ) { } private String group ( PropertyDescriptor d ) { } private String groupDisplayName ( String group ) { } private class PropertyComparator implements Serializable , Comparator < PropertyDescriptor > { private static final long serialVersionUID = 240L ; public int compare ( PropertyDescriptor d1 , PropertyDescriptor d2 ) { } private Integer groupOrder ( String group ) { } private Integer propertyOrder ( PropertyDescriptor d ) { } } void saveGuiFields ( ) { } void clearGuiFields ( ) { for ( int i = 0 ; i < ( editors . length ) ; i ++ ) { PropertyEditor propertyEditor = editors [ i ] ; if ( propertyEditor != null ) { try { if ( propertyEditor instanceof WrapperEditor ) { WrapperEditor we = ( ( WrapperEditor ) ( propertyEditor ) ) ; String [ ] tags = we . getTags ( ) ; if ( ( tags != null ) && ( ( tags . length ) > 0 ) ) { we . setAsText ( tags [ 0 ] ) ; } else { <START_BUG> we . setValue ( "" ) ; <END_BUG> } } else if ( propertyEditor instanceof ComboStringEditor ) { ComboStringEditor cse = ( ( ComboStringEditor ) ( propertyEditor ) ) ; cse . setAsText ( cse . getInitialEditValue ( ) ) ; } else { propertyEditor . setAsText ( "" ) ; } } catch ( IllegalArgumentException ex ) { GenericTestBeanCustomizer . log . error ( ( "Failed<seq2seq4repair_space>to<seq2seq4repair_space>set<seq2seq4repair_space>field<seq2seq4repair_space>" + ( descriptors [ i ] . getName ( ) ) ) , ex ) ; } } } } }

Fix:
we . resetValue ( ) ;