This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 267805 - ClassCastException: sun.awt.image.ToolkitImage cannot be cast to javax.swing.Icon
Summary: ClassCastException: sun.awt.image.ToolkitImage cannot be cast to javax.swing....
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Issuetracking Framework (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-31 12:18 UTC by Tomas Stupka
Modified: 2016-09-01 01:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 225961


Attachments
stacktrace (5.96 KB, text/plain)
2016-08-31 12:18 UTC, Tomas Stupka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Stupka 2016-08-31 12:18:50 UTC
Build: NetBeans IDE Dev (Build 20160823-b793b68bd510)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.102-b07, Java(TM) SE Runtime Environment, 1.8.0_102-b07
OS: Mac OS X

User Comments:
tstupka: darcula and dark laf plugin

GUEST: Attempted to add Task Repository




Stacktrace: 
java.lang.ClassCastException: sun.awt.image.ToolkitImage cannot be cast to javax.swing.Icon
   at org.netbeans.modules.bugtracking.ui.selectors.RepositorySelectorBuilder$ComboItemsRenderer.getListCellRendererComponent(RepositorySelectorBuilder.java:791)
   at javax.swing.plaf.basic.BasicComboBoxUI.getDisplaySize(BasicComboBoxUI.java:1366)
   at javax.swing.plaf.metal.MetalComboBoxUI.getMinimumSize(MetalComboBoxUI.java:331)
   at javax.swing.JComponent.getMinimumSize(JComponent.java:1744)
   at javax.swing.BoxLayout.checkRequests(BoxLayout.java:483)
   at javax.swing.BoxLayout.preferredLayoutSize(BoxLayout.java:301)
Comment 1 Tomas Stupka 2016-08-31 12:18:52 UTC
Created attachment 161847 [details]
stacktrace
Comment 2 Tomas Stupka 2016-08-31 12:53:01 UTC
fixed in jet-main #e66336c85b55
Comment 3 Quality Engineering 2016-09-01 01:52:39 UTC
Integrated into 'main-silver', will be available in build *201609010002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/e66336c85b55
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #267805 - ClassCastException: sun.awt.image.ToolkitImage cannot be cast to javax.swing.Icon