bulenkov/iconloader

NPE in IconLoader.CachedImageIcon

Closed this issue · 1 comments

java.lang.NullPointerException
 at com.bulenkov.iconloader.IconLoader$CachedImageIcon.getRealIcon(IconLoader.java:472)
 at com.bulenkov.iconloader.IconLoader$CachedImageIcon.getIconWidth(IconLoader.java:498)
 at javax.swing.plaf.IconUIResource.getIconWidth(Unknown Source)
 at javax.swing.SwingUtilities.layoutCompoundLabelImpl(Unknown Source)
 at javax.swing.SwingUtilities.layoutCompoundLabel(Unknown Source)
 at javax.swing.plaf.basic.BasicGraphicsUtils.getPreferredButtonSize(Unknown Source)
 at javax.swing.plaf.basic.BasicButtonUI.getPreferredSize(Unknown Source)
 at javax.swing.JComponent.getPreferredSize(Unknown Source)
 at javax.swing.plaf.metal.MetalDesktopIconUI.installComponents(Unknown Source)
 at javax.swing.plaf.basic.BasicDesktopIconUI.installUI(Unknown Source)
 at javax.swing.JComponent.setUI(Unknown Source)
 at javax.swing.JInternalFrame$JDesktopIcon.setUI(Unknown Source)
 at javax.swing.JInternalFrame$JDesktopIcon.updateUIWhenHidden(Unknown Source)
 at javax.swing.JInternalFrame.updateUI(Unknown Source)
 at javax.swing.JInternalFrame.<init>(Unknown Source)
 at javax.swing.JInternalFrame.<init>(Unknown Source)
 at com.mucommander.ui.theme.ThemeData$7.getComponent(ThemeData.java:888)
 at com.mucommander.ui.theme.SystemDefaultFont.getFont(SystemDefaultFont.java:83)
 at com.mucommander.ui.theme.ThemeData.getDefaultFont(ThemeData.java:1252)
 at com.mucommander.ui.theme.ThemeData.getFont(ThemeData.java:1199)
 at com.mucommander.ui.theme.ThemeManager.getCurrentFont(ThemeManager.java:915)
 at com.mucommander.ui.quicklist.item.QuickListHeaderItem.<init>(QuickListHeaderItem.java:45)
 at com.mucommander.ui.quicklist.QuickList.<init>(QuickList.java:58)
 at com.mucommander.ui.quicklist.QuickListWithDataList.<init>(QuickListWithDataList.java:36)
 at com.mucommander.ui.quicklist.QuickListWithIcons.<init>(QuickListWithIcons.java:56)
 at com.mucommander.ui.main.quicklist.ParentFoldersQL.<init>(ParentFoldersQL.java:47)
 at com.mucommander.ui.main.FolderPanel.<init>(FolderPanel.java:160)
 at com.mucommander.ui.main.MainFrame.<init>(MainFrame.java:283)
 at com.mucommander.ui.main.MainFrame.<init>(MainFrame.java:269)
 at com.mucommander.ui.main.frame.DefaultMainFramesBuilder.build(DefaultMainFramesBuilder.java:61)
 at com.mucommander.ui.main.WindowManager.createNewMainFrame(WindowManager.java:166)
 at com.mucommander.Launcher.main(Launcher.java:581)

fixed