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 8775 - Deadlock
Summary: Deadlock
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 normal (vote)
Assignee: Pavel Buzek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-12-05 17:15 UTC by David Strupl
Modified: 2008-12-22 19:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (7.22 KB, text/plain)
2001-07-20 20:38 UTC, David Strupl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Strupl 2000-12-05 17:15:57 UTC
I am not able to reproduce it. But it happened and here goes the thread dump.
I am suspecting DisabledIcon.paintIcon to register an instance of JLabel as an
ImageObserver causing the ImageFetcher thread to freeze. It freezes because
in JLabel's imageUpdate method calls getDisabledIcon which in turn tries to load
disabled icon and blocks the image fetcher thread.
This is quite rare and I am not sure if the given explanation holds. Any idea
welcomed.
Comment 1 David Strupl 2000-12-05 17:16:59 UTC
Created attachment 373 [details]
Thread dump
Comment 2 Jaroslav Tulach 2001-02-05 16:04:59 UTC
Someone should probably contact the JDK team. Who has the best relationship?
Comment 3 David Strupl 2001-02-06 10:45:59 UTC
DisabledIcon.paintIcon was changed. It should not happen any more.
imageUpdate in JLabel is strange but not registering JLabel as image
observer solves the problem. Marking this one as fixed.
Comment 4 Marian Mirilovic 2002-04-19 15:11:32 UTC
closed