No more handles Unhandled event loop exception [message #183736] |
Tue, 07 June 2005 11:57 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Dazhen Gao 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.
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.05008 seconds