Looks like it's a problem with my specific problem. 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)
Posted by forums
Original post:
https://developer.jboss.org/message/916920#916920