Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP RC4 hangs up
RAP RC4 hangs up [message #135912] Fri, 12 June 2009 12:36 Go to next message
Sergey N. Yashin is currently offline Sergey N. YashinFriend
Messages: 44
Registered: July 2009
Member
Hi!

When i get error (java.lang.IllegalStateException: The context has been
disposed.) in my application, then after that error i cannot open RAP from
the browser anymore, its always in state like "loading page...".
Also i was wonder that error is came from a one session (i tested in
jetty) and this blocks any new other sessions, i mean that web application
is the multi-user application and error that came for one user should not
block work of the other users. How i can protect my application from such
a situation in a future, because this error i can catch (with "try ...
catch") and just pass, but spite this still blocks this session and other
new or current sessions ?

Thanks.

Stack trace of the error:

2009-06-12 16:14:49,844 ERROR com.hn.web.downloads.DownloadsUI:45 - While
downloadingProgress
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:166)
at
org.eclipse.rwt.SessionSingletonBase.getInstance(SessionSing letonBase.java:84)
at
org.eclipse.jface.resource.JFaceResources$FontRegistryStore. getInstance(JFaceResources.java:146)
at
org.eclipse.jface.resource.JFaceResources.getFontRegistry(JF aceResources.java:515)
at org.eclipse.jface.window.Window.close(Window.java:318)
at org.eclipse.jface.dialogs.Dialog.close(Dialog.java:1021)
at
org.eclipse.jface.dialogs.ProgressMonitorDialog.close(Progre ssMonitorDialog.java:368)
at
org.eclipse.jface.dialogs.ProgressMonitorDialog.finishedRun( ProgressMonitorDialog.java:591)
at
org.eclipse.jface.dialogs.ProgressMonitorDialog.run(Progress MonitorDialog.java:519)
at com.hn.web.downloads.DownloadsUI.open(DownloadsUI.java:23)
at
com.hn.web.core.dialogs.DoubleLoginMessageDialog$1.widgetSel ected(DoubleLoginMessageDialog.java:121)
at
org.eclipse.swt.events.SelectionEvent.dispatchToObserver(Sel ectionEvent.java:176)
at org.eclipse.rwt.internal.events.Event.processEvent(Event.jav a:44)
at org.eclipse.swt.events.TypedEvent.processEvent(TypedEvent.ja va:127)
at org.eclipse.swt.events.TypedEvent.executeNext(TypedEvent.jav a:167)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.readAndDispa tch(RWTLifeCycle.java:244)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :768)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:836 )
at org.eclipse.jface.window.Window.open(Window.java:812)
at
com.hn.web.core.ApplicationWorkbenchWindowAdvisor$5.run(Appl icationWorkbenchWindowAdvisor.java:368)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:500 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:579)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:496)
at
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:448)
at
org.eclipse.swt.internal.widgets.UntypedEventAdapter.dispatc hEvent(UntypedEventAdapter.java:479)
at
org.eclipse.swt.internal.widgets.UntypedEventAdapter.widgetS elected(UntypedEventAdapter.java:84)
at
org.eclipse.swt.events.SelectionEvent.dispatchToObserver(Sel ectionEvent.java:176)
at org.eclipse.rwt.internal.events.Event.processEvent(Event.jav a:44)
at org.eclipse.swt.events.TypedEvent.processEvent(TypedEvent.ja va:127)
at org.eclipse.swt.events.TypedEvent.executeNext(TypedEvent.jav a:167)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.readAndDispa tch(RWTLifeCycle.java:244)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :768)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2485)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2444)
at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:22 95)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:514)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:497)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:157)
at com.hn.web.core.Application.createUI(Application.java:58)
at
org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:92)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:231)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:119)
at java.lang.Thread.run(Thread.java:619)
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:166)
at
org.eclipse.rwt.SessionSingletonBase.getInstance(SessionSing letonBase.java:84)
at org.eclipse.ui.internal.Workbench.getInstance(Workbench.java :466)
at
org.eclipse.ui.internal.ExceptionHandler.handleException(Exc eptionHandler.java:60)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2489)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2444)
at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:22 95)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:514)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:497)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:157)
at com.hn.web.core.Application.createUI(Application.java:58)
at
org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:92)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:231)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:119)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "UIThread [8sfqu92cu7ej]"
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.getRequest(S erviceContext.java:82)
at
org.eclipse.rwt.internal.service.ContextProvider.getRequest( ContextProvider.java:129)
at
org.eclipse.rwt.internal.service.ContextProvider.getSession( ContextProvider.java:148)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.setShutdownA dapter(RWTLifeCycle.java:350)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.access$0(RWT LifeCycle.java:347)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:133)
at java.lang.Thread.run(Thread.java:619)
Re: RAP RC4 hangs up [message #136155 is a reply to message #135912] Mon, 15 June 2009 19:28 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
for those interested, the discussion has move to this bug:
280187: RAP RC4 hangup
https://bugs.eclipse.org/bugs/show_bug.cgi?id=280187

Sergey N. Yashin wrote:
> Hi!
>
> When i get error (java.lang.IllegalStateException: The context has been
> disposed.) in my application, then after that error i cannot open RAP
> from the browser anymore, its always in state like "loading page...".
> Also i was wonder that error is came from a one session (i tested in
> jetty) and this blocks any new other sessions, i mean that web
> application is the multi-user application and error that came for one
> user should not block work of the other users. How i can protect my
> application from such a situation in a future, because this error i can
> catch (with "try ... catch") and just pass, but spite this still blocks
> this session and other new or current sessions ?
>
> Thanks.
>
> Stack trace of the error:
>
> 2009-06-12 16:14:49,844 ERROR com.hn.web.downloads.DownloadsUI:45 -
> While downloadingProgress
> 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:166)
>
> at
> org.eclipse.rwt.SessionSingletonBase.getInstance(SessionSing letonBase.java:84)
>
> at
> org.eclipse.jface.resource.JFaceResources$FontRegistryStore. getInstance(JFaceResources.java:146)
>
> at
> org.eclipse.jface.resource.JFaceResources.getFontRegistry(JF aceResources.java:515)
>
> at org.eclipse.jface.window.Window.close(Window.java:318)
> at org.eclipse.jface.dialogs.Dialog.close(Dialog.java:1021)
> at
> org.eclipse.jface.dialogs.ProgressMonitorDialog.close(Progre ssMonitorDialog.java:368)
>
> at
> org.eclipse.jface.dialogs.ProgressMonitorDialog.finishedRun( ProgressMonitorDialog.java:591)
>
> at
> org.eclipse.jface.dialogs.ProgressMonitorDialog.run(Progress MonitorDialog.java:519)
>
> at com.hn.web.downloads.DownloadsUI.open(DownloadsUI.java:23)
> at
> com.hn.web.core.dialogs.DoubleLoginMessageDialog$1.widgetSel ected(DoubleLoginMessageDialog.java:121)
>
> at
> org.eclipse.swt.events.SelectionEvent.dispatchToObserver(Sel ectionEvent.java:176)
>
> at org.eclipse.rwt.internal.events.Event.processEvent(Event.jav a:44)
> at org.eclipse.swt.events.TypedEvent.processEvent(TypedEvent.ja va:127)
> at org.eclipse.swt.events.TypedEvent.executeNext(TypedEvent.jav a:167)
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.readAndDispa tch(RWTLifeCycle.java:244)
>
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :768)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:836 )
> at org.eclipse.jface.window.Window.open(Window.java:812)
> at
> com.hn.web.core.ApplicationWorkbenchWindowAdvisor$5.run(Appl icationWorkbenchWindowAdvisor.java:368)
>
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:500 )
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:579)
>
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:496)
>
> at
> org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:448)
>
> at
> org.eclipse.swt.internal.widgets.UntypedEventAdapter.dispatc hEvent(UntypedEventAdapter.java:479)
>
> at
> org.eclipse.swt.internal.widgets.UntypedEventAdapter.widgetS elected(UntypedEventAdapter.java:84)
>
> at
> org.eclipse.swt.events.SelectionEvent.dispatchToObserver(Sel ectionEvent.java:176)
>
> at org.eclipse.rwt.internal.events.Event.processEvent(Event.jav a:44)
> at org.eclipse.swt.events.TypedEvent.processEvent(TypedEvent.ja va:127)
> at org.eclipse.swt.events.TypedEvent.executeNext(TypedEvent.jav a:167)
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.readAndDispa tch(RWTLifeCycle.java:244)
>
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :768)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2485)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2444)
> at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:22 95)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:514)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:497)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:157)
> at com.hn.web.core.Application.createUI(Application.java:58)
> at
> org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:92)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:231)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:119)
>
> at java.lang.Thread.run(Thread.java:619)
> 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:166)
>
> at
> org.eclipse.rwt.SessionSingletonBase.getInstance(SessionSing letonBase.java:84)
>
> at org.eclipse.ui.internal.Workbench.getInstance(Workbench.java :466)
> at
> org.eclipse.ui.internal.ExceptionHandler.handleException(Exc eptionHandler.java:60)
>
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2489)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2444)
> at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:22 95)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:514)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:497)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:157)
> at com.hn.web.core.Application.createUI(Application.java:58)
> at
> org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:92)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:231)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:119)
>
> at java.lang.Thread.run(Thread.java:619)
> Exception in thread "UIThread [8sfqu92cu7ej]"
> 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.getRequest(S erviceContext.java:82)
>
> at
> org.eclipse.rwt.internal.service.ContextProvider.getRequest( ContextProvider.java:129)
>
> at
> org.eclipse.rwt.internal.service.ContextProvider.getSession( ContextProvider.java:148)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.setShutdownA dapter(RWTLifeCycle.java:350)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.access$0(RWT LifeCycle.java:347)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:133)
>
> at java.lang.Thread.run(Thread.java:619)
>
>
Previous Topic:Problem with style - padding
Next Topic:TinyMCE integration
Goto Forum:
  


Current Time: Tue Dec 07 19:26:07 GMT 2021

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

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

Back to the top