Problems with the SessionSingletonBase class [message #546545] |
Tue, 13 July 2010 10:29 |
|
Good day RAP enthusiast,
Im running in a weard problem with the SessionSingletonBase. I created a method that extends this (see my posts in http://www.eclipse.org/forums/index.php?t=msg&th=169878)
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(ClassLoader.java:621)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:580)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:550)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:481)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:469)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:466)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at com.remainsoftware.rap.login.Login.loginUser(Login.java:82)
at com.remainsoftware.rap.login.Login.loginUserEncrypted(Login.java:49)
at com.remainsoftware.rap.application.Application.authenticate(Application.java:55)
at com.remainsoftware.rap.application.Application.createUI(Application.java:32)
at org.eclipse.rwt.internal.lifecycle.EntryPointManager.createUI(EntryPointManager.java:92)
at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:244)
at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:113)
at java.lang.Thread.run(Thread.java:619)
at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.java:102)
Exception in thread "UIThread [sh0oo8syl2w65p7yq5gkuqn9]" java.lang.IllegalStateException: The context has been disposed.
at org.eclipse.rwt.internal.service.ServiceContext.checkState(ServiceContext.java:147)
at org.eclipse.rwt.internal.service.ServiceContext.getStateInfo(ServiceContext.java:97)
at org.eclipse.rwt.internal.service.ContextProvider.getStateInfo(ContextProvider.java:160)
at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:120)
at java.lang.Thread.run(Thread.java:619)
at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.java:102)
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03056 seconds