[JBoss JIRA] (JBIDE-24188) CDKv3 terminal output in IDE is ugly when using hyperv
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24188?page=com.atlassian.jira.plugi... ]
Martin Malina closed JBIDE-24188.
---------------------------------
Closing. Feel free to reopen if it reappears.
> CDKv3 terminal output in IDE is ugly when using hyperv
> ------------------------------------------------------
>
> Key: JBIDE-24188
> URL: https://issues.jboss.org/browse/JBIDE-24188
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk
> Environment: Windows 10, x86_64, hyper V.
> Reporter: Ondrej Dockal
> Assignee: Rob Stryker
> Priority: Minor
> Fix For: 4.5.1.AM2
>
> Attachments: Terminal-HyperV.png, cdk3-hyperv-terminal
>
>
> While starting/stopping CDKv3 server adapter, you can observe flashing window (coming from hyperV) in terminal tab. The output looks bit ugly, there is pretty much space. When starting/stoping minishift from windows command prompt, you can see such blue flashing/blinking window, too. When I tried cygwin terminal, this did not happen. I am not sure if we can do anything about it, it seems like upstream/system issue.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months
[JBoss JIRA] (JBIDE-24935) CDK3 server adapter: improve error message if it fails bcs no minishift location was set
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24935?page=com.atlassian.jira.plugi... ]
Martin Malina closed JBIDE-24935.
---------------------------------
Now I get:
Unable to locate minishift command. Please set a correct value in the server editor.
Which I think is exactly what Andre requested. Closing.
> CDK3 server adapter: improve error message if it fails bcs no minishift location was set
> ----------------------------------------------------------------------------------------
>
> Key: JBIDE-24935
> URL: https://issues.jboss.org/browse/JBIDE-24935
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: cdk
> Affects Versions: 4.5.1.AM1
> Reporter: Andre Dietisheim
> Assignee: Rob Stryker
> Fix For: 4.5.1.AM2
>
> Attachments: cdk3-server-adapter-failed-to-start-credentials.png, cdk3-server-adapter-failed-to-start.png
>
>
> # ASSERT: make sure that you have a cdk3/minishift-server adapter which is missing the "Minishift Binary" location.
> # EXEC: launch the server adapter
> Result:
> Server adapter fails to start, which is expected. But then the error message talks about the env vars missing the minishift binary. How would I as a dumb user know that I need to correct/set it in the server editor? IMHO we should tell so in the error message.
> !cdk3-server-adapter-failed-to-start.png!
> btw. if the username is missing, the error message tells me to open up the server editor, which tells the dump user what exactly to do.
> !cdk3-server-adapter-failed-to-start-credentials.png!
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months
[JBoss JIRA] (JBIDE-24998) Compilation failure in org.jboss.tools.browsersim.eclipse/src/org/jboss/tools/browsersim/eclipse/preferences/PreferencesUtil.java
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24998?page=com.atlassian.jira.plugi... ]
Martin Malina closed JBIDE-24998.
---------------------------------
Browsersim builds now, closing.
> Compilation failure in org.jboss.tools.browsersim.eclipse/src/org/jboss/tools/browsersim/eclipse/preferences/PreferencesUtil.java
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-24998
> URL: https://issues.jboss.org/browse/JBIDE-24998
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: browsersim
> Affects Versions: 4.5.1.AM2
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Fix For: 4.5.1.AM2
>
>
> {code}
> 18:46:02 [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.0.0:compile (default-compile) on project org.jboss.tools.browsersim.eclipse: Compilation failure: Compilation failure:
> 18:46:02 [ERROR] /mnt/hudson_workspace/workspace/jbosstools-browsersim_master/sources/plugins/org.jboss.tools.browsersim.eclipse/src/org/jboss/tools/browsersim/eclipse/preferences/PreferencesUtil.java:[43]
> 18:46:02 [ERROR] import org.jboss.tools.usage.googleanalytics.eclipse.LinuxSystem;
> 18:46:02 [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 18:46:02 [ERROR] The import org.jboss.tools.usage.googleanalytics.eclipse cannot be resolved
> 18:46:02 [ERROR] /mnt/hudson_workspace/workspace/jbosstools-browsersim_master/sources/plugins/org.jboss.tools.browsersim.eclipse/src/org/jboss/tools/browsersim/eclipse/preferences/PreferencesUtil.java:[44]
> 18:46:02 [ERROR] import org.jboss.tools.usage.googleanalytics.eclipse.LinuxSystem.LinuxDistro;
> 18:46:02 [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 18:46:02 [ERROR] The import org.jboss.tools.usage.googleanalytics.eclipse cannot be resolved
> 18:46:02 [ERROR] /mnt/hudson_workspace/workspace/jbosstools-browsersim_master/sources/plugins/org.jboss.tools.browsersim.eclipse/src/org/jboss/tools/browsersim/eclipse/preferences/PreferencesUtil.java:[245]
> 18:46:02 [ERROR] LinuxDistro distro = LinuxSystem.INSTANCE.getDistro();
> 18:46:02 [ERROR] ^^^^^^^^^^^
> 18:46:02 [ERROR] LinuxDistro cannot be resolved to a type
> 18:46:02 [ERROR] /mnt/hudson_workspace/workspace/jbosstools-browsersim_master/sources/plugins/org.jboss.tools.browsersim.eclipse/src/org/jboss/tools/browsersim/eclipse/preferences/PreferencesUtil.java:[245]
> 18:46:02 [ERROR] LinuxDistro distro = LinuxSystem.INSTANCE.getDistro();
> 18:46:02 [ERROR] ^^^^^^^^^^^
> 18:46:02 [ERROR] LinuxSystem cannot be resolved
> 18:46:02 [ERROR] /mnt/hudson_workspace/workspace/jbosstools-browsersim_master/sources/plugins/org.jboss.tools.browsersim.eclipse/src/org/jboss/tools/browsersim/eclipse/preferences/PreferencesUtil.java:[246]
> 18:46:02 [ERROR] return LinuxSystem.INSTANCE.REDHAT.equals(distro) && distro.getVersion().compareTo("7") >= 0; //$NON-NLS-1$
> 18:46:02 [ERROR] ^^^^^^^^^^^
> 18:46:02 [ERROR] LinuxSystem cannot be resolved
> 18:46:02 [ERROR] 5 problems (5 errors){code} -- https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/jbosstoo...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months
[JBoss JIRA] (JBIDE-25000) Server adapter: starting into debugging fails initially (succeeds on a latter try)
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25000?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-25000:
-------------------------------------
Description:
# ASSERT: have an application running in OpenShift based on the "nodejs-mongo-persistent" template
# ASSERT: have a server adapter for it
# EXEC/ASSERT: have the adapter started in non-debugging/normal mode
# EXEC: restart the adapter debugging
Result:
!failed-to-connect-v8-vm.png!
{code}
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:56)
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)
{code}
ps. this can be simulated in the CDK, by having everything set and once the pod is up and ithe adapter is in debug, stopping the port forwarding.
was:
# ASSERT: have an application running in OpenShift based on the "nodejs-mongo-persistent" template
# ASSERT: have a server adapter for it
# EXEC/ASSERT: have the adapter started in non-debugging/normal mode
# EXEC: restart the adapter debugging
Result:
!failed-to-connect-v8-vm.png!
{code}
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:56)
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)
{code}
> Server adapter: starting into debugging fails initially (succeeds on a latter try)
> ----------------------------------------------------------------------------------
>
> Key: JBIDE-25000
> URL: https://issues.jboss.org/browse/JBIDE-25000
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.0.AM2
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Fix For: 4.5.1.AM2
>
> Attachments: failed-to-connect-v8-vm.png
>
>
> # ASSERT: have an application running in OpenShift based on the "nodejs-mongo-persistent" template
> # ASSERT: have a server adapter for it
> # EXEC/ASSERT: have the adapter started in non-debugging/normal mode
> # EXEC: restart the adapter debugging
> Result:
> !failed-to-connect-v8-vm.png!
> {code}
> 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:56)
> 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)
> {code}
> ps. this can be simulated in the CDK, by having everything set and once the pod is up and ithe adapter is in debug, stopping the port forwarding.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months
[JBoss JIRA] (JBIDE-24831) Race condition between launching minishift and adding debug listener
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24831?page=com.atlassian.jira.plugi... ]
Martin Malina closed JBIDE-24831.
---------------------------------
I tried the launch with vmwarefusion which I don't have. And it worked fine for me.
> Race condition between launching minishift and adding debug listener
> --------------------------------------------------------------------
>
> Key: JBIDE-24831
> URL: https://issues.jboss.org/browse/JBIDE-24831
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk
> Affects Versions: 4.5.0.Final
> Reporter: Rob Stryker
> Assignee: Rob Stryker
> Fix For: 4.5.1.AM1
>
>
> The current code does the following:
> 1) Launch the process
> 2) Then add the debugListener to o.e.debug
> This is problematic. If the process ends very quickly,. our listener will never get alerted that the process terminated, and so the server will be stuck at 'starting'.
> Solution is to add the debugListener BEFORE launching the process.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months
[JBoss JIRA] (JBIDE-24659) NPE in AttributeControlFactory.createControl
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24659?page=com.atlassian.jira.plugi... ]
Martin Malina commented on JBIDE-24659:
---------------------------------------
[~apodhrad], can you or someone else on the team verify this? Thanks!
> NPE in AttributeControlFactory.createControl
> --------------------------------------------
>
> Key: JBIDE-24659
> URL: https://issues.jboss.org/browse/JBIDE-24659
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jmx
> Affects Versions: 4.5.0.AM1
> Reporter: Aurélien Pupier
> Assignee: Rob Stryker
> Fix For: 4.5.1.AM1
>
> Attachments: image-2017-07-10-16-04-14-279.png
>
>
> {noformat}
> !ENTRY org.jboss.tools.jmx.ui 4 0 2017-07-10 16:00:20.250
> !MESSAGE Unable to retrieve value for attribute FirstExchangeFailureTimestamp
> !STACK 0
> java.lang.NullPointerException
> at org.jboss.tools.jmx.ui.internal.controls.AttributeControlFactory.createControl(AttributeControlFactory.java:127)
> at org.jboss.tools.jmx.ui.internal.editors.AttributeDetails.update(AttributeDetails.java:215)
> at org.jboss.tools.jmx.ui.internal.editors.AttributeDetails.selectionChanged(AttributeDetails.java:184)
> at org.eclipse.ui.forms.DetailsPart.lambda$0(DetailsPart.java:267)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.ui.forms.DetailsPart.showPage(DetailsPart.java:255)
> at org.eclipse.ui.forms.DetailsPart.update(DetailsPart.java:228)
> at org.eclipse.ui.forms.DetailsPart.selectionChanged(DetailsPart.java:213)
> at org.eclipse.ui.forms.ManagedForm.fireSelectionChanged(ManagedForm.java:125)
> at org.jboss.tools.jmx.ui.internal.editors.AttributesSection$1.selectionChanged(AttributesSection.java:57)
> at org.eclipse.jface.viewers.Viewer$1.run(Viewer.java:155)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:44)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
> at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:152)
> at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2180)
> at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1223)
> at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1252)
> at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:240)
> at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:235)
> at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:400)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1044)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
> at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months