Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] No more handles Exception. Please HELP !!!

Hi All,

 

I have developed an Eclipse table view as a plugin to Eclipse. When I load a large number of rows (about 500 rows) to my table for several times, I get a fatal error and the platform get closed.  The error I get is:

 

Unhandled exception caught in event loop.

Reason:

No more handles

A fatal error happened while informing the user about a fatal error.

org.eclipse.swt.SWTError: No more handles

      at org.eclipse.swt.SWT.error(SWT.java:2358)

      at org.eclipse.swt.SWT.error(SWT.java:2262)

      ...

      ...

 

I’m using setInput(Object input) method of the ContentViewer class to provide the input to the viewer. I haven’t written any code to release resources used when setting another set of inputs to the view. I just call setInput(Object input) with giving the new Input object.

 

I’m in a big trouble here. Please help on this issue.

Thanks in advance.

 

Hasith Yaggahavita

Undergraduate

University of Moratuwa

Sri Lanka

 


Back to the top