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
Hi,

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(SWT.java:2697)
[java] at org.eclipse.swt.SWT.error(SWT.java:2622)
[java] at org.eclipse.swt.SWT.error(SWT.java:2593)
[java] at org.eclipse.swt.widgets.Display.error(Display.java:922)
[java] at
org.eclipse.swt.widgets.Display.checkDevice(Display.java:510 )
[java] at
org.eclipse.swt.widgets.Display.getCursorLocation(Display.ja va:1124)
[java] at
org.eclipse.swt.widgets.Display.mouseHoverProc(Display.java: 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
with.

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


Current Time: Mon Oct 26 16:52:16 GMT 2020

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

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

Back to the top