[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: [Error] org.eclipse.swt.SWTError: No more handles

Michael,

It means you are creating widgets, images, colors, fonts or other things that consume handles and aren't disposing them when you are done with them.


Michael Heiß wrote:
Hello,

I am getting more and more of the follwing error (org.eclipse.swt.SWTError: No more handles) in my RCP application and i simply dont't know why.

I am using the following piece of code quite often im my application:

Display.getDefault().syncExec(new Runnable ()    {
 public void run ()     {
  ... Do something with the ui
 }
});

How can i avoid this error?
BestRegards Michael