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

CordovaSim: Debugger doesn't work properly with the last JDK 8u20

XMLWordPrintable

    • Hide

      1. Create HMT project
      2. Run it with CordovaSim
      3. Open Debugger in Chrome
      4. Put breakpoint in the code
      5. Refresh the app
      ERROR: CordovaSim freezes / stack trace in the console

      Show
      1. Create HMT project 2. Run it with CordovaSim 3. Open Debugger in Chrome 4. Put breakpoint in the code 5. Refresh the app ERROR: CordovaSim freezes / stack trace in the console

      CordovaSim freezes with the following stack trace:

      java.lang.IllegalStateException: Nested event loops are allowed only while handling system events
      	at com.sun.javafx.tk.quantum.QuantumToolkit.enterNestedEventLoop(QuantumToolkit.java:506)
      	at com.sun.javafx.webkit.EventLoopImpl.cycle(EventLoopImpl.java:59)
      	at com.sun.webkit.EventLoop.fwkCycle(EventLoop.java:45)
      	at com.sun.webkit.Timer.twkFireTimerEvent(Native Method)
      	at com.sun.webkit.Timer.fireTimerEvent(Timer.java:83)
      	at com.sun.webkit.Timer.notifyTick(Timer.java:64)
      	at javafx.scene.web.WebEngine$PulseTimer.lambda$static$44(WebEngine.java:1167)
      	at javafx.scene.web.WebEngine$PulseTimer$$Lambda$67/10449826.pulse(Unknown Source)
      	at com.sun.javafx.tk.Toolkit.lambda$runPulse$28(Toolkit.java:314)
      	at com.sun.javafx.tk.Toolkit$$Lambda$134/26908315.run(Unknown Source)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:313)
      	at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:340)
      	at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:451)
      	at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:431)
      	at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$363(QuantumToolkit.java:298)
      	at com.sun.javafx.tk.quantum.QuantumToolkit$$Lambda$40/33541029.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) 
      

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

              Created:
              Updated:
              Resolved: