[jbosstools-issues] [JBoss JIRA] (JBIDE-19087) Debugging Ionic Project With CordovaSim and Livereload

Ilya Buziuk (JIRA) issues at jboss.org
Mon Jan 26 05:42:48 EST 2015


     [ https://issues.jboss.org/browse/JBIDE-19087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Buziuk updated JBIDE-19087:
--------------------------------
    Description: 
CordovaSim will connect to the livereload server but doesn't seem to be picking up any changes.
Looks like it's a problem with a specific project  Created a new project from the ionic starter template and all works fine.When I make a change to a source file I can see some reload activity on the console and typically get the exception below.  The application still appears to work in CordovaSim but without the change.
{code}
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.lambda$null$164(PlatformImpl.java:292)
  at com.sun.javafx.application.PlatformImpl$$Lambda$137/1010931249.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at com.sun.javafx.application.PlatformImpl.lambda$runLater$165(PlatformImpl.java:291)
  at com.sun.javafx.application.PlatformImpl$$Lambda$120/1686100174.run(Unknown Source)
  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)
{code}

  was:
CordovaSim will connect to the livereload server but doesn't seem to be picking up any changes.

Looks like it's a problem with a specific project  Created a new project from the ionic starter template and all works fine.
 
When I make a change to a source file I can see some reload activity on the console and typically get the exception below.  The application still appears to work in CordovaSim but without the change.
 
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.lambda$null$164(PlatformImpl.java:292)
  at com.sun.javafx.application.PlatformImpl$$Lambda$137/1010931249.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at com.sun.javafx.application.PlatformImpl.lambda$runLater$165(PlatformImpl.java:291)
  at com.sun.javafx.application.PlatformImpl$$Lambda$120/1686100174.run(Unknown Source)
  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)



> Debugging Ionic Project With CordovaSim and Livereload
> ------------------------------------------------------
>
>                 Key: JBIDE-19087
>                 URL: https://issues.jboss.org/browse/JBIDE-19087
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cordovasim
>            Reporter: Ilya Buziuk
>            Assignee: Ilya Buziuk
>             Fix For: 4.3.0.Alpha1
>
>
> CordovaSim will connect to the livereload server but doesn't seem to be picking up any changes.
> Looks like it's a problem with a specific project  Created a new project from the ionic starter template and all works fine.When I make a change to a source file I can see some reload activity on the console and typically get the exception below.  The application still appears to work in CordovaSim but without the change.
> {code}
> 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.lambda$null$164(PlatformImpl.java:292)
>   at com.sun.javafx.application.PlatformImpl$$Lambda$137/1010931249.run(Unknown Source)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at com.sun.javafx.application.PlatformImpl.lambda$runLater$165(PlatformImpl.java:291)
>   at com.sun.javafx.application.PlatformImpl$$Lambda$120/1686100174.run(Unknown Source)
>   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)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list