Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » No more handles Unhandled event loop exception
No more handles Unhandled event loop exception [message #183736] Tue, 07 June 2005 11:57 Go to next message
Eclipse UserFriend
Originally posted by: jdelgad.correo.ugr.es

Hi all,

I am developing a GEF based application. When I draw a figure and I
moves it severals times, I get the following error:

Unhandled event loop exception
Reason:
No more handles

and appear a dialog asking me if I want to exit the workbench.

Do you know why I get this error? Please, I need help as soon as possible.
This work may be ended by the next thursday. Thank you very much

--Jose.
Re: No more handles Unhandled event loop exception [message #183823 is a reply to message #183736] Wed, 08 June 2005 01:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.unknown.com

Probably because you're leaking resources. Are you creating a new image in
your paintFigure() method or something? Look at the articles on eclipse.org
to learn more about this. Basically, you need to dispose every single OS
resrouce you create. Get SWT's Sleak tool to find graphical resource leaks.

"Jose" <jdelgad@correo.ugr.es> wrote in message
news:124295dd100389cc4b68ee6845d31d7f$1@www.eclipse.org...
> Hi all,
>
> I am developing a GEF based application. When I draw a figure and I
> moves it severals times, I get the following error:
>
> Unhandled event loop exception
> Reason:
> No more handles
>
> and appear a dialog asking me if I want to exit the workbench.
>
> Do you know why I get this error? Please, I need help as soon as possible.
> This work may be ended by the next thursday. Thank you very much
>
> --Jose.
>
Re: No more handles Unhandled event loop exception [message #185800 is a reply to message #183823] Thu, 30 June 2005 06:51 Go to previous message
Dazhen Gao is currently offline Dazhen GaoFriend
Messages: 21
Registered: July 2009
Junior Member
If you create the class like Image, Color, Font, you should dispose them.
In my project, have a problem like this.The result is when the figure pain,
we create the org.eclipse.swt.graphics.TextLayout , and don't dispose it.No
more handles error.

"Pratik Shah" <none@unknown.com> wrote in message
news:d85gcg$fgh$1@news.eclipse.org...
> Probably because you're leaking resources. Are you creating a new image
> in
> your paintFigure() method or something? Look at the articles on
> eclipse.org
> to learn more about this. Basically, you need to dispose every single OS
> resrouce you create. Get SWT's Sleak tool to find graphical resource
> leaks.
>
> "Jose" <jdelgad@correo.ugr.es> wrote in message
> news:124295dd100389cc4b68ee6845d31d7f$1@www.eclipse.org...
>> Hi all,
>>
>> I am developing a GEF based application. When I draw a figure and I
>> moves it severals times, I get the following error:
>>
>> Unhandled event loop exception
>> Reason:
>> No more handles
>>
>> and appear a dialog asking me if I want to exit the workbench.
>>
>> Do you know why I get this error? Please, I need help as soon as
>> possible.
>> This work may be ended by the next thursday. Thank you very much
>>
>> --Jose.
>>
>
>
Previous Topic:Path of project!!!
Next Topic:Property view page
Goto Forum:
  


Current Time: Thu Apr 25 08:37:31 GMT 2024

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

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

Back to the top