Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-19109

Cordovasim: Livereload stop working after pressing 'Refresh' button from the Platform toolbar

XMLWordPrintable

    • Hide

      1. start LiveReload server
      2. start CordovaSim
      3. enable Livereload for CordovaSim
      4. press 'Refresh' button on the "Platform" toolbar
      5. Edit some html / css / js content and save it
      6. ERROR - no livereload and error stack trace in the console log
      video link - http://screencast.com/t/RIiHjQjvvgeW

      Show
      1. start LiveReload server 2. start CordovaSim 3. enable Livereload for CordovaSim 4. press 'Refresh' button on the "Platform" toolbar 5. Edit some html / css / js content and save it 6. ERROR - no livereload and error stack trace in the console log video link - http://screencast.com/t/RIiHjQjvvgeW
    • Hide

      Reinit livereload (disable and enable again)

      Show
      Reinit livereload (disable and enable again)

      Both SWT and JavaFX are affected.
      Stack trace for javaFx web engine:

      Exception in thread "JavaFX Application Thread" org.eclipse.swt.SWTException: Widget is disposed
      	at org.eclipse.swt.SWT.error(SWT.java:4441)
      	at org.eclipse.swt.SWT.error(SWT.java:4356)
      	at org.eclipse.swt.SWT.error(SWT.java:4327)
      	at org.eclipse.swt.widgets.Widget.error(Widget.java:476)
      	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:348)
      	at org.eclipse.swt.widgets.Control.forceFocus(Control.java:1075)
      	at org.jboss.tools.vpe.cordovasim.events.RippleInjector.inject(RippleInjector.java:68)
      	at org.jboss.tools.vpe.cordovasim.events.RippleInjector.access$1(RippleInjector.java:55)
      	at org.jboss.tools.vpe.cordovasim.events.RippleInjector$1.run(RippleInjector.java:44)
      	at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:301)
      	at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:298)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at com.sun.javafx.application.PlatformImpl$6.run(PlatformImpl.java:298)
      	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
      	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
      	at org.jboss.tools.vpe.cordovasim.CordovaSimRunner.startCordovaSim(CordovaSimRunner.java:114)
      	at org.jboss.tools.vpe.cordovasim.CordovaSimRunner.main(CordovaSimRunner.java:91)
      

              ibuziuk@redhat.com Ilya Buziuk
              ibuziuk@redhat.com Ilya Buziuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: