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 89120 - Component.isVisible not called from AWT thread
Summary: Component.isVisible not called from AWT thread
Status: CLOSED WONTFIX
Alias: None
Product: qa
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@qa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-10 15:14 UTC by Marian Mirilovic
Modified: 2011-02-17 09:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack-trace (5.74 KB, text/plain)
2006-11-10 15:14 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2006-11-10 15:14:09 UTC
I found out that after recent standa's changes :
http://core.netbeans.org/source/browse/core/swing/tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/TabControlButtonFactory.java?r1=1.2&r2=1.3

we have a problems with our tests :
1. a lot off tests finished with error : Assertion failed. WindowsAPI is
required to be called from AWT thread only, see
http://core.netbeans.org/proposals/threading/
... for more details see attachment
2. message.log file is really big (like 5.5MB!!!) instead of 200kB as used to be
Comment 1 Marian Mirilovic 2006-11-10 15:14:35 UTC
Created attachment 35972 [details]
stack-trace
Comment 2 Stanislav Aubrecht 2006-11-10 16:16:04 UTC
jesse has already rolled back my changes so it's ok for the moment. but it would
be great if jellytools accessed swing components from AWT thread only.
Comment 3 Jiri Skrivanek 2006-11-13 09:48:39 UTC
Actually isVisible is called from Jemmy. Probably it should be called from AWT
thread everytime.

org.netbeans.jemmy.operators.JPopupMenuOperator$JPopupWindowFinder$1.checkComponent(JPopupMenuOperator.java:1078)
Comment 4 Marian Mirilovic 2011-02-17 08:54:20 UTC
Jemmy sources/the whole project was moved to java.nt. In case  you still want to get issue fixed, please report it here :
http://java.net/jira/browse/JEMMY