Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Several brandings
Several brandings [message #79253] Wed, 26 March 2008 07:32 Go to next message
Eclipse UserFriend
Hi,

I recognized a strange behavior. Is it intended, that several brandings
for an application causes a "java.lang.IllegalStateException: The context
has been disposed."-Exception?

I have a very simple application running, with several brandings (use case
is, that the application should be customizable for different customers,
which could be easily done with brandings), but only the first
servlet-mapping seems to work?
Access to all other mappings causes the Exception.

Martin
Re: Several brandings [message #79268 is a reply to message #79253] Wed, 26 March 2008 12:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

the branding mechanism should work as you intend to use it. So this is
strange - could you please add the stacktrace, maybe this brings some
light in the dark...

Ciao
Frank

-----Ursprüngliche Nachricht-----
Von: Martin Dilger [mailto:mdilger@splitshade.de]
Bereitgestellt: Mittwoch, 26. März 2008 12:32
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: Several brandings
Betreff: Several brandings


Hi,

I recognized a strange behavior. Is it intended, that several brandings
for an application causes a "java.lang.IllegalStateException: The
context has been disposed."-Exception?

I have a very simple application running, with several brandings (use
case is, that the application should be customizable for different
customers, which could be easily done with brandings), but only the
first servlet-mapping seems to work?
Access to all other mappings causes the Exception.

Martin
Re: Several brandings [message #79431 is a reply to message #79268] Thu, 27 March 2008 03:54 Go to previous messageGo to next message
Eclipse UserFriend
Hi Frank, sure..
Exception in thread "UIThread [16o3s1rfn52eo]"
java.lang.IllegalStateException: The context has been disposed.
at
org.eclipse.rwt.internal.service.ServiceContext.checkState(S erviceContext.java:154)
at
org.eclipse.rwt.internal.service.ServiceContext.getStateInfo (ServiceContext.java:104)
at
org.eclipse.rwt.internal.service.ContextProvider.getStateInf o(ContextProvider.java:165)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:126)
at java.lang.Thread.run(Unknown Source)


As I wrote, the first mapping I access always works, no matter which one I
use, all other mappings cause this Exception.

Martin
Re: Several brandings [message #80286 is a reply to message #79431] Mon, 31 March 2008 07:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: andy.allgaeu.org

Hi again,

is there any progress on this topic? the problem still persists, is this a
bug, should i file a bug-report?
Thanks

Andy
Re: Several brandings [message #80314 is a reply to message #80286] Mon, 31 March 2008 08:07 Go to previous messageGo to next message
Eclipse UserFriend
Hi Andreas,

sure you can file a bug. Maybe with a snippet attached to reproduce the
problem easily. I'll investigate what the problem could be later this day.

Greets
Benny

Andreas wrote:
> Hi again,
>
> is there any progress on this topic? the problem still persists, is this
> a bug, should i file a bug-report? Thanks
>
> Andy
>
Re: Several brandings [message #80588 is a reply to message #80286] Tue, 01 April 2008 05:52 Go to previous messageGo to next message
Eclipse UserFriend
Hi Andreas,

I was not able to reproduce this in any form with CVS HEAD.
I used the demo plugin and added an additional branding so I had three
brandings.

Switching between brandins, entrypoints and branding+entrypoint
combinations never lead to the ISE.

Do you have a simple plugin with several brandings to reproduce this? If
yes, please open a bug and attach the snippet.

Thanks!
Benny

Andreas wrote:
> Hi again,
>
> is there any progress on this topic? the problem still persists, is this
> a bug, should i file a bug-report? Thanks
>
> Andy
>
Re: Several brandings [message #80759 is a reply to message #80588] Tue, 01 April 2008 13:48 Go to previous message
Eclipse UserFriend
Hi Benny,

I filed a bug-report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=225167

I hope I did not forget something, if I made a mistake, please correct me
then.
But since I am not alone with this problem, propably this is really a bug.
Thank you very much!

Greetings

Martin
Previous Topic:Browser memory leak?
Next Topic:synchronized
Goto Forum:
  


Current Time: Sun Jul 13 14:44:39 EDT 2025

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

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

Back to the top