Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » No more handles error [bug 53632]
No more handles error [bug 53632] [message #131233] Thu, 06 May 2004 18:46 Go to next message
Eclipse UserFriend
Originally posted by: phil.williams.toadmail.com

All,

After going through and plugging all my own leaks when creating SWT
resources, I am still getting the dreaded no more handles error in my
GEF-based plugin. I am using 2.1.2 and have updated the draw2d jar that
Pratik posted to bug 53632. I have this error happening for several
users on several different machines and configurations.

In the last comment to this bug Randy mentions that this doesn't happen
in 3.0 because there is better error handling. Is it possible to get
these into the 2.1.x stream?

Also, I noticed that there are several open bugs on different causes of
the "No more handles" error. What is the best way to determine which
effect I am seeing? Obviously if I see draw2d in the stack, I know that
it is this one.

Thanks,
Phil
Re: No more handles error [bug 53632] [message #131247 is a reply to message #131233] Thu, 06 May 2004 22:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

You should report the conditions which cause this problem on the bugzilla.
Version 2.1.3 has been completed and tested by various GEF clients. There
are no plans for a 2.1.4 at this point. That doesn't mean that it won't
happen, but it is not scheduled.

You can try taking the code from HEAD and merging it into your own 2.1.x
version of the draw2d plug-in. The affected class is
BufferedGraphicsSource.

"Phil Williams" <phil.williams@toadmail.com> wrote in message
news:c7e0qg$uoc$1@eclipse.org...
> All,
>
> After going through and plugging all my own leaks when creating SWT
> resources, I am still getting the dreaded no more handles error in my
> GEF-based plugin. I am using 2.1.2 and have updated the draw2d jar that
> Pratik posted to bug 53632. I have this error happening for several
> users on several different machines and configurations.
>
> In the last comment to this bug Randy mentions that this doesn't happen
> in 3.0 because there is better error handling. Is it possible to get
> these into the 2.1.x stream?
>
> Also, I noticed that there are several open bugs on different causes of
> the "No more handles" error. What is the best way to determine which
> effect I am seeing? Obviously if I see draw2d in the stack, I know that
> it is this one.
>
> Thanks,
> Phil
Re: No more handles error [bug 53632] [message #131385 is a reply to message #131247] Fri, 07 May 2004 23:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gupolet.ulb.ac.be

I had the same problem but usually it was a loop that never stopped. Also,
I don't know what to do about that, but the paintFigure method is called
way too often and so eats all the ressources. So far, the only solution I
found was to put a sleep but it sure ain't great.

Randy Hudson wrote:

> You should report the conditions which cause this problem on the bugzilla.
> Version 2.1.3 has been completed and tested by various GEF clients. There
> are no plans for a 2.1.4 at this point. That doesn't mean that it won't
> happen, but it is not scheduled.

> You can try taking the code from HEAD and merging it into your own 2.1.x
> version of the draw2d plug-in. The affected class is
> BufferedGraphicsSource.

> "Phil Williams" <phil.williams@toadmail.com> wrote in message
> news:c7e0qg$uoc$1@eclipse.org...
> > All,
> >
> > After going through and plugging all my own leaks when creating SWT
> > resources, I am still getting the dreaded no more handles error in my
> > GEF-based plugin. I am using 2.1.2 and have updated the draw2d jar that
> > Pratik posted to bug 53632. I have this error happening for several
> > users on several different machines and configurations.
> >
> > In the last comment to this bug Randy mentions that this doesn't happen
> > in 3.0 because there is better error handling. Is it possible to get
> > these into the 2.1.x stream?
> >
> > Also, I noticed that there are several open bugs on different causes of
> > the "No more handles" error. What is the best way to determine which
> > effect I am seeing? Obviously if I see draw2d in the stack, I know that
> > it is this one.
> >
> > Thanks,
> > Phil
Re: No more handles error [bug 53632] [message #131433 is a reply to message #131385] Sat, 08 May 2004 06:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alex.weirig.telewalfer.lu

Hello,

I recently downloaded the Clay Database Modelling tool from Azzurri
(www.azzurri.jp). Once I installed this plugin into both Eclipse 2.1.3
and WSAD 5.1.1 and tried to create a new database model I got the "No
more handles" exception.

Since I tried this at the office, I use my regular userid. I then
tried to do the same with my Windows Administrator userid and
strangefully enough, everything worked just fine.

After I created a new database model and left the GEF based model
editor opened when closing Eclipse/WSAD, I was no longer able to
restart Eclipse/WSAD with my regular userid because of the No handles
exception.

So it looks like the code that is executed could require some special
access rights. If you work on your private PC you normally have all
the rights, but on a corporate PC, based on your corporate security
setting and constraints, your userid might not have all the necessary
access rights.

I have not been able to recreate the problem with my Administrator
user, but with my normal user I get the problem each and every time.

Maybe this can help tracking down what is happening.

Alex

PS: I'll be on holiday 'til next Thursday. So if I might not be able
to reply to a follow up question. I will do so on Thursday of at the
latest of Friday.

Guillaume wrote:
> I had the same problem but usually it was a loop that never stopped. Also,
> I don't know what to do about that, but the paintFigure method is called
> way too often and so eats all the ressources. So far, the only solution I
> found was to put a sleep but it sure ain't great.
>
> Randy Hudson wrote:
>
>
>>You should report the conditions which cause this problem on the bugzilla.
>>Version 2.1.3 has been completed and tested by various GEF clients. There
>>are no plans for a 2.1.4 at this point. That doesn't mean that it won't
>>happen, but it is not scheduled.
>
>
>>You can try taking the code from HEAD and merging it into your own 2.1.x
>>version of the draw2d plug-in. The affected class is
>>BufferedGraphicsSource.
>
>
>>"Phil Williams" <phil.williams@toadmail.com> wrote in message
>>news:c7e0qg$uoc$1@eclipse.org...
>>
>>>All,
>>>
>>>After going through and plugging all my own leaks when creating SWT
>>>resources, I am still getting the dreaded no more handles error in my
>>>GEF-based plugin. I am using 2.1.2 and have updated the draw2d jar that
>>>Pratik posted to bug 53632. I have this error happening for several
>>>users on several different machines and configurations.
>>>
>>>In the last comment to this bug Randy mentions that this doesn't happen
>>>in 3.0 because there is better error handling. Is it possible to get
>>>these into the 2.1.x stream?
>>>
>>>Also, I noticed that there are several open bugs on different causes of
>>>the "No more handles" error. What is the best way to determine which
>>>effect I am seeing? Obviously if I see draw2d in the stack, I know that
>>>it is this one.
>>>
>>>Thanks,
>>>Phil
>
>
>
Re: No more handles error [bug 53632] [message #131532 is a reply to message #131433] Mon, 10 May 2004 15:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

It could be another application which is associated with a specific account
is causing a side-effect.

"Alex Weirig" <alex.weirig@telewalfer.lu> wrote in message
news:c7htv9$28t$1@eclipse.org...
> Hello,
>
> I recently downloaded the Clay Database Modelling tool from Azzurri
> (www.azzurri.jp). Once I installed this plugin into both Eclipse 2.1.3
> and WSAD 5.1.1 and tried to create a new database model I got the "No
> more handles" exception.
>
> Since I tried this at the office, I use my regular userid. I then
> tried to do the same with my Windows Administrator userid and
> strangefully enough, everything worked just fine.
>
> After I created a new database model and left the GEF based model
> editor opened when closing Eclipse/WSAD, I was no longer able to
> restart Eclipse/WSAD with my regular userid because of the No handles
> exception.
>
> So it looks like the code that is executed could require some special
> access rights. If you work on your private PC you normally have all
> the rights, but on a corporate PC, based on your corporate security
> setting and constraints, your userid might not have all the necessary
> access rights.
>
> I have not been able to recreate the problem with my Administrator
> user, but with my normal user I get the problem each and every time.
>
> Maybe this can help tracking down what is happening.
>
> Alex
>
> PS: I'll be on holiday 'til next Thursday. So if I might not be able
> to reply to a follow up question. I will do so on Thursday of at the
> latest of Friday.
>
> Guillaume wrote:
> > I had the same problem but usually it was a loop that never stopped.
Also,
> > I don't know what to do about that, but the paintFigure method is called
> > way too often and so eats all the ressources. So far, the only solution
I
> > found was to put a sleep but it sure ain't great.
> >
> > Randy Hudson wrote:
> >
> >
> >>You should report the conditions which cause this problem on the
bugzilla.
> >>Version 2.1.3 has been completed and tested by various GEF clients.
There
> >>are no plans for a 2.1.4 at this point. That doesn't mean that it won't
> >>happen, but it is not scheduled.
> >
> >
> >>You can try taking the code from HEAD and merging it into your own 2.1.x
> >>version of the draw2d plug-in. The affected class is
> >>BufferedGraphicsSource.
> >
> >
> >>"Phil Williams" <phil.williams@toadmail.com> wrote in message
> >>news:c7e0qg$uoc$1@eclipse.org...
> >>
> >>>All,
> >>>
> >>>After going through and plugging all my own leaks when creating SWT
> >>>resources, I am still getting the dreaded no more handles error in my
> >>>GEF-based plugin. I am using 2.1.2 and have updated the draw2d jar
that
> >>>Pratik posted to bug 53632. I have this error happening for several
> >>>users on several different machines and configurations.
> >>>
> >>>In the last comment to this bug Randy mentions that this doesn't happen
> >>>in 3.0 because there is better error handling. Is it possible to get
> >>>these into the 2.1.x stream?
> >>>
> >>>Also, I noticed that there are several open bugs on different causes of
> >>>the "No more handles" error. What is the best way to determine which
> >>>effect I am seeing? Obviously if I see draw2d in the stack, I know
that
> >>>it is this one.
> >>>
> >>>Thanks,
> >>>Phil
> >
> >
> >
Re: No more handles error [bug 53632] [message #131544 is a reply to message #131385] Mon, 10 May 2004 15:37 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Which platform? What do you mean it is called too often?

"Guillaume" <gupolet@ulb.ac.be> wrote in message
news:c7h6gg$g9r$1@eclipse.org...
> I had the same problem but usually it was a loop that never stopped. Also,
> I don't know what to do about that, but the paintFigure method is called
> way too often and so eats all the ressources. So far, the only solution I
> found was to put a sleep but it sure ain't great.
>
> Randy Hudson wrote:
>
> > You should report the conditions which cause this problem on the
bugzilla.
> > Version 2.1.3 has been completed and tested by various GEF clients.
There
> > are no plans for a 2.1.4 at this point. That doesn't mean that it won't
> > happen, but it is not scheduled.
>
> > You can try taking the code from HEAD and merging it into your own 2.1.x
> > version of the draw2d plug-in. The affected class is
> > BufferedGraphicsSource.
>
> > "Phil Williams" <phil.williams@toadmail.com> wrote in message
> > news:c7e0qg$uoc$1@eclipse.org...
> > > All,
> > >
> > > After going through and plugging all my own leaks when creating SWT
> > > resources, I am still getting the dreaded no more handles error in my
> > > GEF-based plugin. I am using 2.1.2 and have updated the draw2d jar
that
> > > Pratik posted to bug 53632. I have this error happening for several
> > > users on several different machines and configurations.
> > >
> > > In the last comment to this bug Randy mentions that this doesn't
happen
> > > in 3.0 because there is better error handling. Is it possible to get
> > > these into the 2.1.x stream?
> > >
> > > Also, I noticed that there are several open bugs on different causes
of
> > > the "No more handles" error. What is the best way to determine which
> > > effect I am seeing? Obviously if I see draw2d in the stack, I know
that
> > > it is this one.
> > >
> > > Thanks,
> > > Phil
>
>
Previous Topic:Remove all Childs from IFigure doesn't work ... !?
Next Topic:fill not refreshing
Goto Forum:
  


Current Time: Sat Apr 27 02:05:42 GMT 2024

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

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

Back to the top