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

Debug NodeJS app is broken - Failed to connect to Standalone V8 VM

    XMLWordPrintable

Details

    • devex #129 March 2017
    • 8
    • Hide

      1) nodejs-example in openshift
      2) create server adapter
      3) Restart in Debug

      Show
      1) nodejs-example in openshift 2) create server adapter 3) Restart in Debug
    • Workaround Exists
    • Hide

      manually add DEV_MODE env var to the deployment controller of your node app, wait until the new pod is deployed and restart your server adapter in debugging

      Show
      manually add DEV_MODE env var to the deployment controller of your node app, wait until the new pod is deployed and restart your server adapter in debugging

    Description

      java.io.IOException: Failed to get version
      	at org.eclipse.wst.jsdt.chromium.internal.v8native.JavascriptVmImpl.newIOException(JavascriptVmImpl.java:114)
      	at org.eclipse.wst.jsdt.chromium.internal.standalonev8.StandaloneVmImpl.attachImpl(StandaloneVmImpl.java:132)
      	at org.eclipse.wst.jsdt.chromium.internal.standalonev8.StandaloneVmImpl.attach(StandaloneVmImpl.java:79)
      	at org.eclipse.wst.jsdt.chromium.debug.core.model.JavascriptVmEmbedderFactory$4$1.attach(JavascriptVmEmbedderFactory.java:207)
      	at org.eclipse.wst.jsdt.chromium.debug.core.model.DebugTargetImpl.attach(DebugTargetImpl.java:74)
      	at org.eclipse.wst.jsdt.chromium.debug.ui.launcher.LaunchTypeBase.launch(LaunchTypeBase.java:101)
      	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
      	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
      	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
      	at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      Caused by: java.util.concurrent.ExecutionException: java.io.IOException: End of stream
      	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
      	at java.util.concurrent.FutureTask.get(FutureTask.java:206)
      	at org.eclipse.wst.jsdt.chromium.internal.standalonev8.StandaloneVmImpl.attachImpl(StandaloneVmImpl.java:127)
      	... 9 more
      Caused by: java.io.IOException: End of stream
      	at org.eclipse.wst.jsdt.chromium.internal.transport.Handshaker$StandaloneV8Impl$HandshakeTaks.call(Handshaker.java:127)
      	at org.eclipse.wst.jsdt.chromium.internal.transport.Handshaker$StandaloneV8Impl$HandshakeTaks.call(Handshaker.java:1)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at org.eclipse.wst.jsdt.chromium.internal.transport.Handshaker$StandaloneV8Impl.perform(Handshaker.java:104)
      	at org.eclipse.wst.jsdt.chromium.internal.transport.SocketConnection$ReaderThread.run(SocketConnection.java:158)
      
      

      Attachments

        Issue Links

          Activity

            People

              adietish@redhat.com André Dietisheim
              psrna Pavol Srna
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: