Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Information about "Display.mouseHoverProc"
Information about "Display.mouseHoverProc" [message #445772] Wed, 10 November 2004 21:05
Ines Khelifi is currently offline Ines KhelifiFriend
Messages: 1
Registered: July 2009
Junior Member

I am running UI test suites on Mac OS X using the releng scripts
(automated test suites). All the UI tests complete successfully when ran
from eclipse (when ran through the "Run->JUnit Plug-in Test"). When I try
to run the UI tests through the "releng" automated tool, one of the UI
test suites always crashes with the following intermittent (does not occur
on the same test every run) exceptions:

" [java] ----- testGetInput
[java] testGetInput: setUp...
[java] org.eclipse.swt.SWTException: Invalid thread access
[java] at org.eclipse.swt.SWT.error(
[java] at org.eclipse.swt.SWT.error(
[java] at org.eclipse.swt.SWT.error(
[java] at org.eclipse.swt.widgets.Display.error(
[java] at
org.eclipse.swt.widgets.Display.checkDevice( )
[java] at
org.eclipse.swt.widgets.Display.getCursorLocation(Display.ja va:1124)
[java] at
org.eclipse.swt.widgets.Display.mouseHoverProc( 2495)
[java] testGetInput: tearDown...

I am not sure what component is at fault here, but I would like to obtain
more information about the "Display.mouseHoverProc" call to help me
formulate a diagnosis on the issue. Does it have to do with focus or mouse
events? I understand that a widget is being accessed outside of the UI
thread, but I am not quite sure why this does not happen when the tests
are ran from eclipse itself. I could not find similar problems on the
eclipse bug system.

The only difference I am aware of between running from eclipse and through
the automated tool is the use of antRunner, which I am not too familiar

Thanks for your help.
Previous Topic:Problems editing items in property sheet
Next Topic:Custom control and GridLayout
Goto Forum:

Current Time: Fri Dec 04 23:48:03 GMT 2020

Powered by FUDForum. Page generated in 0.02216 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top