Buggy code:
class ChainsawToolBarAndMenus implements ChangeListener { private final SmallToggleButton showReceiversButton ; private final JTextField findField ; private final Action changeModelAction ; private final Action clearAction ; private final Action closeAction ; private final Action findNextAction ; private final Action findPreviousAction ; private final Action pauseAction ; private final Action showPreferencesAction ; private final Action showColorPanelAction ; private final Action showReceiversAction ; private final Action toggleLogTreeAction ; private final Action toggleScrollToBottomAction ; private final Action toggleDetailPaneAction ; private final Action toggleToolbarAction ; private final Action undockAction ; private final Action customExpressionPanelAction ; private final Collection lookAndFeelMenus = new ArrayList ( ) ; private final JCheckBoxMenuItem toggleShowReceiversCheck = new JCheckBoxMenuItem ( ) ; private final JCheckBoxMenuItem toggleLogTreeMenuItem = new JCheckBoxMenuItem ( ) ; private final JCheckBoxMenuItem toggleScrollToBottomMenuItem = new JCheckBoxMenuItem ( ) ; private final JCheckBoxMenuItem toggleDetailMenuItem = new JCheckBoxMenuItem ( ) ; private final JCheckBoxMenuItem toggleCyclicMenuItem = new JCheckBoxMenuItem ( ) ; private final FileMenu fileMenu ; private final JCheckBoxMenuItem toggleStatusBarCheck = new JCheckBoxMenuItem ( ) ; private final JMenu viewMenu = new JMenu ( "View" ) ; private final JMenuBar menuBar ; private final JCheckBoxMenuItem menuItemClose = new JCheckBoxMenuItem ( ) ; private final JToolBar toolbar ; private LogUI logui ; private final SmallButton clearButton = new SmallButton ( ) ; private final SmallToggleButton detailPaneButton = new SmallToggleButton ( ) ; private final SmallToggleButton logTreePaneButton = new SmallToggleButton ( ) ; private final SmallToggleButton scrollToBottomButton = new SmallToggleButton ( ) ; private final SmallToggleButton pauseButton = new SmallToggleButton ( ) ; private final SmallToggleButton toggleCyclicButton = new SmallToggleButton ( ) ; private final Action [ ] logPanelSpecificActions ; private final JMenu activeTabMenu = new JMenu ( "Current<seq2seq4repair_space>tab" ) ; private final JPanel findPanel ; ChainsawToolBarAndMenus ( final LogUI logui ) { } private Action createChangeModelAction ( ) { } private Action createToggleLogTreeAction ( ) { } private Action createScrollToBottomAction ( ) { Action action = new AbstractAction ( "Toggle<seq2seq4repair_space>Scroll<seq2seq4repair_space>to<seq2seq4repair_space>Bottom" ) { public void actionPerformed ( ActionEvent e ) { if ( ( logui . getCurrentLogPanel ( ) ) != null ) { logui . getCurrentLogPanel ( ) . toggleScrollToBottom ( ) ; } } } ; action . putValue ( Action . SHORT_DESCRIPTION , "Toggles<seq2seq4repair_space>Scroll<seq2seq4repair_space>to<seq2seq4repair_space>Bottom" ) ; action . putValue ( "enabled" , Boolean . TRUE ) ; action . putValue ( Action . MNEMONIC_KEY , new Integer ( KeyEvent . VK_B ) ) ; action . putValue ( Action . ACCELERATOR_KEY , KeyStroke . getKeyStroke ( KeyEvent . VK_B , InputEvent . CTRL_MASK ) ) ; <START_BUG> action . putValue ( Action . SMALL_ICON , new ImageIcon ( ChainsawIcons . DOWN ) ) ; <END_BUG> return action ; } public void stateChange ( ) { } public void stateChanged ( ChangeEvent e ) { } JMenuBar getMenubar ( ) { } JToolBar getToolbar ( ) { } private Action createClearAction ( ) { } private Action createCloseHelpAction ( ) { } private void createMenuBar ( ) { } private Action createPauseAction ( ) { } private Action createShowPreferencesAction ( ) { } private Action createCustomExpressionPanelAction ( ) { } private Action createShowColorPanelAction ( ) { } private Action createShowReceiversAction ( ) { } private Action createToggleDetailPaneAction ( ) { } private Action createToggleToolbarAction ( ) { } private void createToolbar ( ) { } private Action createUndockAction ( ) { } private void scanState ( ) { } private Action getFindNextAction ( ) { } private Action getFindPreviousAction ( ) { } private JPanel getCustomExpressionPanel ( ) { } }

Fix:
action . putValue ( Action . SMALL_ICON , new ImageIcon ( ChainsawIcons . SCROLL_TO_BOTTOM ) ) ;