Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337512 - IllegalStateException in UICallbackDispatcher (on RAP)
Summary: IllegalStateException in UICallbackDispatcher (on RAP)
Status: NEW
Alias: None
Product: Riena
Classification: RT
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 302893
  Show dependency tree
 
Reported: 2011-02-17 21:23 EST by Elias Volanakis CLA
Modified: 2011-02-17 21:23 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Volanakis CLA 2011-02-17 21:23:57 EST
To reproduce:

1. Start RAP SWT ExampleApplication
2. Work for a while.

Following appears in the stack trace:

java.lang.IllegalStateException: No context available outside of the request service lifecycle.
	at org.eclipse.rwt.internal.service.ContextProvider.getContext(ContextProvider.java:107)
	at org.eclipse.rwt.internal.service.ContextProvider.getStateInfo(ContextProvider.java:160)
	at org.eclipse.rwt.SessionSingletonBase.getInstance(SessionSingletonBase.java:84)
	at org.eclipse.ui.internal.Workbench.getInstance(Workbench.java:653)
	at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:94)
	at org.eclipse.riena.ui.swt.uiprocess.SwtUISynchronizer.getDisplay(SwtUISynchronizer.java:202)
	at org.eclipse.riena.ui.swt.uiprocess.SwtUISynchronizer.execute(SwtUISynchronizer.java:72)
	at org.eclipse.riena.ui.swt.uiprocess.SwtUISynchronizer.syncExec(SwtUISynchronizer.java:51)
	at org.eclipse.riena.ui.core.uiprocess.UICallbackDispatcher.synchronize(UICallbackDispatcher.java:194)
	at org.eclipse.riena.ui.core.uiprocess.UICallbackDispatcher.jobDone(UICallbackDispatcher.java:138)
	at org.eclipse.riena.ui.core.uiprocess.UICallbackDispatcher.access$1(UICallbackDispatcher.java:137)
	at org.eclipse.riena.ui.core.uiprocess.UICallbackDispatcher$1.done(UICallbackDispatcher.java:93)
	at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39)
	at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112)
	at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152)
	at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647)
	at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:71)