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 MULTILINE = "multiline" ; public static final String DEFAULT = "default" ; public static final String DEFAULT_NOT_SAVED = "defaultNoSave" ; public static final String RESOURCE_BUNDLE = "resourceBundle" ; public static final String GUITYPE = "guiType" ; public static final String TEXT_LANGUAGE = "textLanguage" ; public static 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 static void validateAttributes ( PropertyDescriptor pd , PropertyEditor pe ) { } private static String getDetails ( PropertyDescriptor pd ) { } private WrapperEditor createWrapperEditor ( PropertyEditor typeEditor , PropertyDescriptor descriptor ) { } static boolean notOther ( PropertyDescriptor descriptor ) { } static boolean notExpression ( PropertyDescriptor descriptor ) { } static boolean notNull ( PropertyDescriptor descriptor ) { } static boolean noSaveDefault ( PropertyDescriptor descriptor ) { } private void setEditorValue ( int i , Object value ) throws IllegalArgumentException { } @ SuppressWarnings ( "unchecked" ) @ Override public void setObject ( Object map ) { } private void init ( ) { } private JLabel createLabel ( PropertyDescriptor desc ) { String text = desc . getDisplayName ( ) ; if ( ! ( "" . equals ( text ) ) ) { text = propertyFieldLabelMessage . format ( new Object [ ] { desc . getDisplayName ( ) } ) ; } JLabel label = new JLabel ( text ) ; label . setHorizontalAlignment ( SwingConstants . TRAILING ) ; <START_BUG> text = propertyToolTipMessage . format ( new Object [ ] { desc . getShortDescription ( ) } ) ; <END_BUG> label . setToolTipText ( text ) ; return label ; } private static String group ( PropertyDescriptor descriptor ) { } private String groupDisplayName ( String group ) { } private static class PropertyComparator implements Serializable , Comparator < PropertyDescriptor > { private static final long serialVersionUID = 240L ; private final BeanInfo beanInfo ; public PropertyComparator ( BeanInfo beanInfo ) { } @ Override public int compare ( PropertyDescriptor d1 , PropertyDescriptor d2 ) { } private Integer groupOrder ( String group ) { } private Integer propertyOrder ( PropertyDescriptor d ) { } } void saveGuiFields ( ) { } void clearGuiFields ( ) { } }

Fix:
text = desc . getShortDescription ( ) ;