It is really the Eclipse objects. Some of these are only by the thread calling problems, which she has created. Since my thread so only after the application accessing it at some point, the access could not be allowed. The solution is relatively simple. I just have the line
Event Queue. InvokeLater (runSearch);
against the line
Display.getCurrent (). AsyncExec (runSearch);
been replaced and the thing runs like it should. The display (org.eclipse.swt.widgets.Display) seems to be the only way to access the objects and asynchronously.
Bookmarks