|Occasional NullPointerExceptions on Windows [message #654635]
||Wed, 16 February 2011 09:33
| Geoff Bache
Registered: October 2010
I have an issue with my tests where maybe about one in 30 or 40 fails on Windows when I run them there. It is different tests every time, and this never happens on Linux where I do most of my work (fortunately).
It happens when I try to call UIThreadRunnable.syncExec in SWTBot, and results in the following each time:
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4584)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.run(U IThreadRunnable.java:76)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE xec(UIThreadRunnable.java:142)
> at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncE xec(UIThreadRunnable.java:125)
Reading the code it would appear that the synchronizer member of the Display object is null. But that looks impossible from the code.
Does anyone have any insight into what might be the cause, or how one might narrow down what is going on?
Powered by FUDForum
. Page generated in 0.01550 seconds