Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Problems with the SessionSingletonBase class
Problems with the SessionSingletonBase class [message #546545] Tue, 13 July 2010 10:29
Martijn Cremer is currently offline Martijn CremerFriend
Messages: 77
Registered: January 2010
Location: Breda

Good day RAP enthusiast,

Im running in a weard problem with the SessionSingletonBase. I created a method that extends this (see my posts in

Now it works great. But sometimes I get the following error out of noware;
010-07-13 11:39:14.468:WARN::ERROR:  Error for /remain
java.lang.NoClassDefFoundError: SessionSingletonBase
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(
	at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(
	at java.lang.ClassLoader.loadClass(
	at java.lang.ClassLoader.loadClassInternal(
	at com.remainsoftware.rap.login.Login.loginUser(
	at com.remainsoftware.rap.login.Login.loginUserEncrypted(
	at com.remainsoftware.rap.application.Application.authenticate(
	at com.remainsoftware.rap.application.Application.createUI(
	at org.eclipse.rwt.internal.lifecycle.EntryPointManager.createUI(
	at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(
	at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$

Exception in thread "UIThread [sh0oo8syl2w65p7yq5gkuqn9]" java.lang.IllegalStateException: The context has been disposed.
	at org.eclipse.rwt.internal.service.ServiceContext.checkState(
	at org.eclipse.rwt.internal.service.ServiceContext.getStateInfo(
	at org.eclipse.rwt.internal.service.ContextProvider.getStateInfo(
	at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$

When I reload the target (Literately reload it by going to Window->Preferences->Target Platform and change it to Running platform press Apply ok reload workbench and set it back to my Rap 1.3 environment (with some OSGi/Equinox extra bundels). After that it works fine what worries me is the fact it seems to be random. I didn't really adjust the start levels of any RAP related bundles. I only put my OSGi related services to a start-level. But that shouldn't have impact on RAP related bundles now does it?

hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.
Previous Topic:IE popup dialog: "A script on this page is causing Internet Explorer to run slowly. ..."
Next Topic:SWT and RWT in one OSGi container?
Goto Forum:

Current Time: Fri Apr 19 02:46:08 GMT 2024

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

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

Back to the top