whats being passed in is:
// Add the bundles configured in this xml file. The format of the
// file is XMLEncoder
URL bundlesXML = AuthoringSessionContext.class
.getResource("previewBundles.xml");
BundleLauncher.launch(bundlesXML, provider);
this is "previewBundles.xml" :
has this changed? is there a an update to this? this could be the source of
the error.
<?xml version="1.0" encoding="UTF-8" ?>
<java version="1.4.0" class="java.beans.XMLDecoder">
<object class="net.sf.sail.core.service.impl.LauncherServiceImpl"/>
<object class="net.sf.sail.common.apps.preview.PreviewSailDataStoreService"/>
<object class="net.sf.sail.core.service.impl.UserServiceImpl">
<void property="participants">
<void method="add">
<object class="net.sf.sail.core.entity.User">
<object class="net.sf.sail.core.uuid.UserUuid">
<string>abcdef02-0000-0000-0000-000000000000</string>
</object>
<string>Preview User</string>
</object>
</void>
</void>
<void property="userLookupService">
<object class="net.sf.sail.core.service.impl.UserLookupServiceImpl"/>
</void>
</object>
<object class="net.sf.sail.core.service.impl.SessionLoadMonitor"/>
<object class="net.sf.sail.core.service.impl.SessionManagerImpl"/>
<object class="net.sf.sail.core.service.impl.SessionContextServiceImpl">
<void property="sessionContextClass">
<class>org.telscenter.pas.authortool.context.AuthoringSessionContext
</class>
</void>
</object>
</java>
On 4/23/07, Anthony Perritano <[EMAIL PROTECTED]> wrote:
>
> until now i have been working with small curnits( one or two activitys and
> a handfull of steps). so i loaded the airbags project into the authoring
> tool and tried to modify it. moving, adding steps, adding activities seems
> fine. however, there is a problem with this curnit that i don't get with the
> one on of the smaller ones that have been built with buildPas. when i go to
> preview the curnit and the vle pops up. some how the session is getting
> hosed/stuck and the user is unable to see the bean changes. i think it
> might be related to this bug<http://www.telscenter.org/jira/browse/PAS-53>
> :
>
> i attached a screen shot and the stack. maybe somebody has some ideas on
> why this is happening. i will write a formal test for this.
>
>
> Exception in thread "AWT-EventQueue-0"
> java.lang.UnsupportedOperationException: existing service reference
> obtained from different BeanContextServiceProvider not supported
> at
> java.beans.beancontext.BeanContextServicesSupport$BCSSChild$BCSSCServiceClassRef.verifyAndMaybeSetProvider(
> BeanContextServicesSupport.java:211)
> at
> java.beans.beancontext.BeanContextServicesSupport$BCSSChild.usingService(
> BeanContextServicesSupport.java:323)
> at java.beans.beancontext.BeanContextServicesSupport.getService (
> BeanContextServicesSupport.java:844)
> at org.telscenter.pas.beans.PasProject.consumeService(PasProject.java
> :305)
> at
> net.sf.sail.common.beansupport.SailBeanContextChildSupport$SailBeanContextServicesListener.serviceAvailable(
> SailBeanContextChildSupport.java:61)
> at java.beans.beancontext.BeanContextServicesSupport.fireServiceAdded(
> BeanContextServicesSupport.java:1070)
> at java.beans.beancontext.BeanContextServicesSupport.serviceAvailable(
> BeanContextServicesSupport.java:916)
> at java.beans.beancontext.BeanContextServicesSupport.addService(
> BeanContextServicesSupport.java:681)
> at java.beans.beancontext.BeanContextServicesSupport.addService(
> BeanContextServicesSupport.java :647)
> at net.sf.sail.core.beans.SessionContext$ServiceProvider.register(
> SessionContext.java:76)
> at net.sf.sail.core.beans.SessionContext.initiate(SessionContext.java
> :169)
> at net.sf.sail.core.service.impl.SessionManagerImpl.start (
> SessionManagerImpl.java:190)
> at net.sf.sail.common.apps.preview.BundleLauncher.launch(
> BundleLauncher.java:129)
> at net.sf.sail.common.apps.preview.BundleLauncher.launch(
> BundleLauncher.java:91)
> at
> org.telscenter.pas.authortool.actions.PasLivePreviewCurnitAction.actionPerformed(
> PasLivePreviewCurnitAction.java:82)
> at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java
> :1882)
> at javax.swing.AbstractButton$Handler.actionPerformed(
> AbstractButton.java:2202)
> at javax.swing.DefaultButtonModel.fireActionPerformed (
> DefaultButtonModel.java:420)
> at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java
> :258)
> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(
> BasicButtonListener.java:234)
> at java.awt.AWTEventMulticaster.mouseReleased (
> AWTEventMulticaster.java:231)
> at java.awt.Component.processMouseEvent(Component.java:5554)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
> at java.awt.Component.processEvent(Component.java :5319)
> at java.awt.Container.processEvent(Container.java:2010)
> at java.awt.Component.dispatchEventImpl(Component.java:4021)
> at java.awt.Container.dispatchEventImpl(Container.java:2068)
> at java.awt.Component.dispatchEvent (Component.java:3869)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java
> :4256)
> at java.awt.LightweightDispatcher.processMouseEvent(Container.java
> :3936)
> at java.awt.LightweightDispatcher.dispatchEvent (Container.java:3866)
> at java.awt.Container.dispatchEventImpl(Container.java:2054)
> at java.awt.Window.dispatchEventImpl(Window.java:1774)
> at java.awt.Component.dispatchEvent(Component.java:3869)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
> at java.awt.EventDispatchThread.pumpOneEventForHierarchy(
> EventDispatchThread.java:269)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(
> EventDispatchThread.java :190)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java
> :184)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java
> :176)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java :110)
>
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---