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 232066 - KenaiProject.getProjectIcon() must not be called from AWT
Summary: KenaiProject.getProjectIcon() must not be called from AWT
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Kenai (show other bugs)
Version: 7.4
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-01 10:01 UTC by Tomas Stupka
Modified: 2015-05-12 03:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Stupka 2013-07-01 10:01:42 UTC
Product Version = NetBeans IDE Dev (Build 20130628-a830e879cfc1)
Operating System = Mac OS X version 10.8.3 running on x86_64
Java; VM; Vendor = 1.7.0_17
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01

org.netbeans.modules.kenai.api.KenaiException: KenaiProject.getProjectIcon() must not be called from AWT thread unless an icon is cached!. Server response=
	at org.netbeans.modules.kenai.api.KenaiProject.getProjectIcon(KenaiProject.java:238)
[catch] at org.netbeans.modules.kenai.ui.KenaiProjectsListRenderer.<init>(KenaiProjectsListRenderer.java:107)
	at org.netbeans.modules.kenai.ui.KenaiSearchPanel$KenaiProjectsListRenderer2.getListCellRendererComponent(KenaiSearchPanel.java:599)
	at javax.swing.plaf.basic.BasicListUI.paintCell(BasicListUI.java:208)
	at javax.swing.plaf.basic.BasicListUI.paintImpl(BasicListUI.java:317)
	at javax.swing.plaf.basic.BasicListUI.paint(BasicListUI.java:240)
	at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
	at javax.swing.JComponent.paintComponent(JComponent.java:778)
	at javax.swing.JComponent.paint(JComponent.java:1054)
	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5221)
	at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1512)
	at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1443)
	at javax.swing.RepaintManager.paint(RepaintManager.java:1236)
	at javax.swing.JComponent._paintImmediately(JComponent.java:5169)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4980)
	at javax.swing.RepaintManager$3.run(RepaintManager.java:796)
	at javax.swing.RepaintManager$3.run(RepaintManager.java:784)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:784)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:757)
	at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:706)
	at javax.swing.RepaintManager.access$1000(RepaintManager.java:62)
	at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1651)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
Comment 1 Tomas Stupka 2015-05-06 17:17:36 UTC
fixed in jet-main #9d93a3b80928
Comment 2 Quality Engineering 2015-05-12 03:24:44 UTC
Integrated into 'main-silver', will be available in build *201505120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/9d93a3b80928
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #232066 - KenaiProject.getProjectIcon() must not be called from AWT