Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP activities
RAP activities [message #84379] Wed, 23 April 2008 18:18 Go to next message
Eclipse UserFriend
Hi,

Am trying to get Activities runnning on my RAP application but i used to
get this exception:
===================================
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.getStateInf o(ContextProvider.java:165)
at
org.eclipse.rwt.SessionSingletonBase.getInstance(SessionSing letonBase.java:80)
at org.eclipse.ui.internal.Workbench.getInstance(Workbench.java :323)
at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:91)
at
salwa.rap.platform.pManager.PManager.enablePreferenceManager ForLicensedNodes(PManager.java:105)
at
salwa.rap.platform.pManager.PreferenceManager.handleAEvent(P Manager.java:56)

===================
Any suggestion

thankx
Salwa
Re: RAP activities [message #84442 is a reply to message #84379] Thu, 24 April 2008 03:21 Go to previous message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

it's a little less information to find out exactly what's happening. But
from the error message it seems that you try to access the workbench
from a non-UI-thread, e.g. from the bundle's activation callback.


Ciao
Frank

-----Ursprüngliche Nachricht-----
Von: Salwa [mailto:salwa.moh@gmail.com]
Bereitgestellt: Donnerstag, 24. April 2008 00:19
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: RAP activities
Betreff: RAP activities


Hi,

Am trying to get Activities runnning on my RAP application but i used to
get this exception:
===================================
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.getStateInf o(ContextPro
vider.java:165)
at
org.eclipse.rwt.SessionSingletonBase.getInstance(SessionSing letonBase.ja
va:80)
at
org.eclipse.ui.internal.Workbench.getInstance(Workbench.java :323)
at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:91)
at
salwa.rap.platform.pManager.PManager.enablePreferenceManager ForLicensedN
odes(PManager.java:105)
at
salwa.rap.platform.pManager.PreferenceManager.handleAEvent(P Manager.java
:56)

===================
Any suggestion

thankx
Salwa
Previous Topic:Question on Qooxdoo and QxTheme
Next Topic:How to record load test for RAP Application using JMeter?
Goto Forum:
  


Current Time: Sun Aug 31 10:25:32 EDT 2025

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

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

Back to the top