i am testing it right now, the problem i am getting right now that the curnit is never assigned a curnitUuid and i am getting a nullpointer exception.
-Tony On 4/25/07, Turadg <[EMAIL PROTECTED]> wrote: > > > That sequence just about covers it. I've written up a utility method > in sail-core, PreviewCurnit.previewRootPod(). You pass it a root pod > and it does what it launches a preview of a curnit wrapped around it. > Right now it launches it in the same VM. If that poses problems, we > can consider launching a new VM. > > So as long as that method works, what's left on PAS-53 is just to wire > a button to pass the root pod to that method. > > > > On Apr 25, 12:53 pm, "Anthony Perritano" <[EMAIL PROTECTED]> wrote: > > we scrapped "full preview" along time go. from the jira it says " The > Full > > Preview would save the curnit to a temporarily file and the reload it as > a > > fresh preview learning session." > > > > so we want to implement this a use case for this would be: > > > > 1. user clicks on "Preview" > > 2. curnit is saved to a temporary file. > > 3. that temp file is passed to the > > net.sf.sail.common.apps.preview.BundleLauncher. similar to the > PreviewCurnit > > launchers we have for eclipse in pas common apps? > > > > how does this look? are there any steps missing? > > > > -Tony > > > > On 4/24/07, Turadg <[EMAIL PROTECTED]> wrote: > > > > > > > > > This looks to be exactly what's described in PAS-53. > > > > > The remedy is to implement "Full Preview" which recreates the curnit's > > > objects from a temporarily marshalled curnit archive. What is > > > happening now is "Live Preview" which can get into faulty states. > > > > > Is there any progress on Full Preview? > > > > > -t > > > > > On Apr 23, 9:34 pm, "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) > > > > > > itshosed.png > > > > 229KViewDownload > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
