[JBoss JIRA] (JBIDE-23419) ClassNotFoundException when clicking on any server in Servers view
by Martin Malina (JIRA)
Martin Malina created JBIDE-23419:
-------------------------------------
Summary: ClassNotFoundException when clicking on any server in Servers view
Key: JBIDE-23419
URL: https://issues.jboss.org/browse/JBIDE-23419
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: docker, server
Affects Versions: 4.4.2.AM3
Reporter: Martin Malina
Today I opened up my laptop with a running devstudio [1]. And now whenever I click on a server in Servers view (I have a cdk and wildfly 10.1 set up), I get an error pop up.
{code}
An error has occurred. See error log for more details.
java.lang.ClassNotFoundException: Provider org.glassfish.jersey.internal.RuntimeDelegateImpl could not be instantiated: java.lang.IllegalStateException: No generator was provided and there is no default generator registered
{code}
Error Log view contains a bit more information:
{code}
Problems occurred when invoking code from plug-in: "org.eclipse.jface".
java.lang.RuntimeException: java.lang.ClassNotFoundException: Provider org.glassfish.jersey.internal.RuntimeDelegateImpl could not be instantiated: java.lang.IllegalStateException: No generator was provided and there is no default generator registered
at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:152)
at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:120)
at javax.ws.rs.core.UriBuilder.newInstance(UriBuilder.java:95)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:106)
at org.glassfish.jersey.client.JerseyWebTarget.<init>(JerseyWebTarget.java:82)
at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:192)
at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:70)
at com.spotify.docker.client.DefaultDockerClient.ping(DefaultDockerClient.java:330)
at org.eclipse.linuxtools.internal.docker.core.DockerConnection.ping(DockerConnection.java:324)
at org.eclipse.linuxtools.internal.docker.core.DockerConnection.open(DockerConnection.java:270)
at org.eclipse.linuxtools.internal.docker.core.DefaultTCPConnectionSettingsProvider.getConnectionSettings(DefaultTCPConnectionSettingsProvider.java:30)
at org.eclipse.linuxtools.internal.docker.core.DefaultDockerConnectionSettingsFinder.getKnownConnectionSettings(DefaultDockerConnectionSettingsFinder.java:265)
at org.eclipse.linuxtools.docker.core.DockerConnectionManager.reloadConnections(DockerConnectionManager.java:60)
at org.eclipse.linuxtools.docker.core.DockerConnectionManager.<init>(DockerConnectionManager.java:50)
at org.eclipse.linuxtools.docker.core.DockerConnectionManager.getInstance(DockerConnectionManager.java:44)
at org.jboss.tools.openshift.cdk.server.core.internal.listeners.CDKDockerUtility.<init>(CDKDockerUtility.java:29)
at org.jboss.tools.openshift.cdk.server.ui.internal.view.CDKActionProvider$ShowInDockerViewAfterStartupAction.adaptToViewItem(CDKActionProvider.java:104)
at org.jboss.tools.openshift.cdk.server.ui.internal.view.CDKActionProvider$ShowInViewAfterStartupAction.accept(CDKActionProvider.java:182)
at org.eclipse.wst.server.ui.internal.view.servers.AbstractServerAction.selectionChanged(AbstractServerAction.java:85)
at org.jboss.tools.openshift.cdk.server.ui.internal.view.CDKActionProvider$ShowInViewAfterStartupAction.selectionChanged(CDKActionProvider.java:198)
at org.eclipse.ui.actions.SelectionProviderAction.selectionChanged(SelectionProviderAction.java:144)
at org.eclipse.jface.viewers.Viewer$1.run(Viewer.java:158)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:155)
at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2191)
at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1229)
at org.eclipse.ui.navigator.CommonViewer.handleSelect(CommonViewer.java:463)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1258)
at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:242)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:236)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:405)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4248)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1501)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1524)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1509)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1313)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
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:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
Caused by: java.lang.ClassNotFoundException: Provider org.glassfish.jersey.internal.RuntimeDelegateImpl could not be instantiated: java.lang.IllegalStateException: No generator was provided and there is no default generator registered
at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:122)
at javax.ws.rs.ext.FactoryFinder.find(FactoryFinder.java:225)
at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:135)
... 61 more
Caused by: java.lang.IllegalStateException: No generator was provided and there is no default generator registered
at org.glassfish.hk2.internal.ServiceLocatorFactoryImpl.internalCreate(ServiceLocatorFactoryImpl.java:266)
at org.glassfish.hk2.internal.ServiceLocatorFactoryImpl.create(ServiceLocatorFactoryImpl.java:247)
at org.glassfish.jersey.internal.inject.Injections._createLocator(Injections.java:138)
at org.glassfish.jersey.internal.inject.Injections.createLocator(Injections.java:109)
at org.glassfish.jersey.internal.RuntimeDelegateImpl.<init>(RuntimeDelegateImpl.java:61)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:118)
... 63 more
{code}
I'm reporting this before it disappears.
[1] devstudio-10.2.0.AM3-v20161024-1202-B6286-installer-standalone.jar
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 5 months
[JBoss JIRA] (JBIDE-23354) Deploy Docker Wizard: Reset of port mapping whille at least 1 default is present causes NPE
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23354?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich edited comment on JBIDE-23354 at 10/27/16 3:31 AM:
-------------------------------------------------------------------------
[~jeffmaury], [~adietish], NPE probably happened at implicit conversion to boolean. Comparing to getColumnText we see that it is normal to check the result for null (the same check is in super implementation). Even if in this case the call of refresh was the immediate cause of null value, it can happen in other situations. I suggest to protect this method by postponing the conversion until null check:
{code}
@Override
public Image getColumnImage(Object element, int columnIndex) {
if (columnIndex == ROUTE_PORT_COLUMN_INDEX) {
Boolean selected = (Boolean)attributeMaps[columnIndex].get(element);
return selected != null && selected ? OpenShiftImages.CHECKED_IMG:OpenShiftImages.UNCHECKED_IMG;
}
return null;
}
{code}
Also, I suspect, that we may need table refresh to fix JBIDE-23416. We can see in code that table refresh is used in many cases not relying on auto-refresh on fired events.
was (Author: scabanovich):
[~jeffmaury], [~adietish], NPE probably happened at implicit conversion to boolean. Comparing to getColumnText we see that it is normal to check the result for null (the same check is in super implementation). Even if in this case the call of refresh was the immediate cause of null value, it can happen in other situations. I suggest to protect this method by postponing the conversion until null check:
{code}
@Override
public Image getColumnImage(Object element, int columnIndex) {
if (columnIndex == ROUTE_PORT_COLUMN_INDEX) {
Boolean selected = (Boolean)attributeMaps[columnIndex].get(element);
return selected != null && selected ? OpenShiftImages.CHECKED_IMG:OpenShiftImages.UNCHECKED_IMG;
}
return null;
}
{code}
Also, I suspect, that we may need table refresh to fix JBIDE-23416. We can see in code that table refresh is used in many cases not relying on auto-refresh on fired events.
> Deploy Docker Wizard: Reset of port mapping whille at least 1 default is present causes NPE
> -------------------------------------------------------------------------------------------
>
> Key: JBIDE-23354
> URL: https://issues.jboss.org/browse/JBIDE-23354
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.2.AM2
> Reporter: Marián Labuda
> Assignee: Jeff MAURY
> Labels: deploy_docker_wizard, openshift_v3
> Fix For: 4.4.2.AM3
>
>
> In Deploy Image to Docker wizard on the wizard page with routing settings, if I click on Reset while in the table is at least 1 default port mapping (row with non-changed values = default), cause NPE and the default row is shown as empty = name, service port and pod port are shown as blank.
> NPE stack trace
> {code}Problems occurred when invoking code from plug-in: "org.eclipse.jface".
> java.lang.NullPointerException
> at org.jboss.tools.openshift.internal.ui.wizard.deployimage.ServicesAndRoutingPage$2.getColumnImage(ServicesAndRoutingPage.java:196)
> at org.eclipse.jface.viewers.TableColumnViewerLabelProvider.update(TableColumnViewerLabelProvider.java:67)
> at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:141)
> at org.eclipse.jface.viewers.AbstractTableViewer.doUpdateItem(AbstractTableViewer.java:382)
> at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:474)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
> at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2170)
> at org.eclipse.jface.viewers.AbstractTableViewer.internalRefreshAll(AbstractTableViewer.java:669)
> at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:607)
> at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:599)
> at org.eclipse.jface.viewers.StructuredViewer.lambda$0(StructuredViewer.java:1519)
> at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1458)
> at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1419)
> at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1519)
> at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:523)
> at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1478)
> at org.jboss.tools.openshift.internal.ui.wizard.deployimage.ServicesAndRoutingPage$7.widgetSelected(ServicesAndRoutingPage.java:402)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5219)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4553)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4143)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
> at org.eclipse.jface.window.Window.open(Window.java:794)
> at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:257)
> at org.jboss.tools.openshift.internal.ui.handler.DeployImageHandler$2$1.run(DeployImageHandler.java:94)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4528)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4146)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
> 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:673)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 5 months
[JBoss JIRA] (JBIDE-23354) Deploy Docker Wizard: Reset of port mapping whille at least 1 default is present causes NPE
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23354?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich commented on JBIDE-23354:
-----------------------------------------------
[~jeffmaury], [~adietish], NPE probably happened at implicit conversion to boolean. Comparing to getColumnText we see that it is normal to check the result for null (the same check is in super implementation). Even if in this case the call of refresh was the immediate cause of null value, it can happen in other situations. I suggest to protect this method by postponing the conversion until null check:
{code}
@Override
public Image getColumnImage(Object element, int columnIndex) {
if (columnIndex == ROUTE_PORT_COLUMN_INDEX) {
Boolean selected = (Boolean)attributeMaps[columnIndex].get(element);
return selected != null && selected ? OpenShiftImages.CHECKED_IMG:OpenShiftImages.UNCHECKED_IMG;
}
return null;
}
{code}
Also, I suspect, that we may need table refresh to fix JBIDE-23416. We can see in code that table refresh is used in many cases not relying on auto-refresh on fired events.
> Deploy Docker Wizard: Reset of port mapping whille at least 1 default is present causes NPE
> -------------------------------------------------------------------------------------------
>
> Key: JBIDE-23354
> URL: https://issues.jboss.org/browse/JBIDE-23354
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.2.AM2
> Reporter: Marián Labuda
> Assignee: Jeff MAURY
> Labels: deploy_docker_wizard, openshift_v3
> Fix For: 4.4.2.AM3
>
>
> In Deploy Image to Docker wizard on the wizard page with routing settings, if I click on Reset while in the table is at least 1 default port mapping (row with non-changed values = default), cause NPE and the default row is shown as empty = name, service port and pod port are shown as blank.
> NPE stack trace
> {code}Problems occurred when invoking code from plug-in: "org.eclipse.jface".
> java.lang.NullPointerException
> at org.jboss.tools.openshift.internal.ui.wizard.deployimage.ServicesAndRoutingPage$2.getColumnImage(ServicesAndRoutingPage.java:196)
> at org.eclipse.jface.viewers.TableColumnViewerLabelProvider.update(TableColumnViewerLabelProvider.java:67)
> at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:141)
> at org.eclipse.jface.viewers.AbstractTableViewer.doUpdateItem(AbstractTableViewer.java:382)
> at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:474)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
> at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2170)
> at org.eclipse.jface.viewers.AbstractTableViewer.internalRefreshAll(AbstractTableViewer.java:669)
> at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:607)
> at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:599)
> at org.eclipse.jface.viewers.StructuredViewer.lambda$0(StructuredViewer.java:1519)
> at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1458)
> at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1419)
> at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1519)
> at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:523)
> at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1478)
> at org.jboss.tools.openshift.internal.ui.wizard.deployimage.ServicesAndRoutingPage$7.widgetSelected(ServicesAndRoutingPage.java:402)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5219)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4553)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4143)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
> at org.eclipse.jface.window.Window.open(Window.java:794)
> at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:257)
> at org.jboss.tools.openshift.internal.ui.handler.DeployImageHandler$2$1.run(DeployImageHandler.java:94)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4528)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4146)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
> 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:673)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 5 months
[JBoss JIRA] (JBIDE-23418) Deploy image wizard: "Services and Routing Settings" page creates erroneous first port if all ports are removed
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23418?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich commented on JBIDE-23418:
-----------------------------------------------
[~adietish], please take a look at the pull request.
The fix initializes port in the same way as when other ports are available.
The 1 / 0 issue is a trick played by the spinner, though I do not see another bug here than the missed initialization: in new ServicePortAdapter, int port = 0, the spinner is customized to show only values >= 1, but displaying 1, it does not change value 0 in the model, the model is modified only on user's input. There is no validation prohibiting 0, but it is ok because the spinner does not let user to set value out of range, just the initial value should be valid.
> Deploy image wizard: "Services and Routing Settings" page creates erroneous first port if all ports are removed
> ---------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-23418
> URL: https://issues.jboss.org/browse/JBIDE-23418
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.2.AM2
> Reporter: Andre Dietisheim
> Attachments: all-ports-removed.png, service-port-0.png, service-port-1-pod-port-empty.png
>
>
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 5 months
[JBoss JIRA] (JBIDE-23360) Select Route: Remember selected route in ambiguous routing does not work
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23360?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich commented on JBIDE-23360:
-----------------------------------------------
[~adietish], I fixed the problem (a return was forgotten) and added menu command 'Edit default route' for user to change his choice.
> Select Route: Remember selected route in ambiguous routing does not work
> ------------------------------------------------------------------------
>
> Key: JBIDE-23360
> URL: https://issues.jboss.org/browse/JBIDE-23360
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.2.AM2
> Reporter: Marián Labuda
> Labels: openshift_v3, select_route
> Fix For: 4.4.2.AM3
>
>
> When selecting Show In - Web Browser on a project with more services, routing is ambiguous. There is shown a shell "Select Route" with a checkbox "Remember selected route". This checkbox does not work. If I check it and then click OK button, I get the same prompt again next time I select Show In - Web Browser context menu item.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 5 months
[JBoss JIRA] (JBIDE-23360) Select Route: Remember selected route in ambiguous routing does not work
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23360?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich updated JBIDE-23360:
------------------------------------------
Comment: was deleted
(was: [~adietish], I fixed the problem (a return was forgotten) and added menu command 'Edit default route' for user to change his choice.)
> Select Route: Remember selected route in ambiguous routing does not work
> ------------------------------------------------------------------------
>
> Key: JBIDE-23360
> URL: https://issues.jboss.org/browse/JBIDE-23360
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.2.AM2
> Reporter: Marián Labuda
> Labels: openshift_v3, select_route
> Fix For: 4.4.2.AM3
>
>
> When selecting Show In - Web Browser on a project with more services, routing is ambiguous. There is shown a shell "Select Route" with a checkbox "Remember selected route". This checkbox does not work. If I check it and then click OK button, I get the same prompt again next time I select Show In - Web Browser context menu item.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 5 months
[JBoss JIRA] (JBDS-4131) Can't import example project after RPM installation on RHEL 7
by Snjezana Peco (JIRA)
[ https://issues.jboss.org/browse/JBDS-4131?page=com.atlassian.jira.plugin.... ]
Snjezana Peco commented on JBDS-4131:
-------------------------------------
The o.j.t.jaxrs.core plugin requires the org.apache.lucene.core plugin>= 3.5.0.
You probably also need to include the org.apache.lucene.analysis plugin (3.5.0).
> Can't import example project after RPM installation on RHEL 7
> -------------------------------------------------------------
>
> Key: JBDS-4131
> URL: https://issues.jboss.org/browse/JBDS-4131
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: build, rpm
> Affects Versions: 10.2.0.AM3
> Environment: RHEL Server 7.2.
> Reporter: Lukáš Valach
> Assignee: Snjezana Peco
> Priority: Critical
> Fix For: 10.2.0.AM3
>
> Attachments: DevstudiErrorLog.txt, devstudio10.2.wtf.png, devstudio10.2.wtf2.png, html5-project-quickstart-working-after-update-to-m2e171-m2ewtp132-lucene-error.png, html5-project-quickstart-working-after-update-to-m2e171-m2ewtp132-wagon-provider-error.png, html5-project-quickstart-working-after-update-to-m2e171-m2ewtp132.png, import_wizard.png, maven-wizard-devstudio10.2-rpm-busted.png, maven.importer.error.log, rh-eclipse46-devstudio.repo
>
>
> During the test of RPM installation on RHEL 7 I noticed that I can't import HTML5 example project from central. Only the window with message "Refreshing project examples" appear for a while and then nothing happens.
> There is one warning and many errors in Error Log View.
> Error log export: [^DevstudiErrorLog.txt]
> I also tried to import project from file system, but there isn't the "Existing Maven Project" option in the import wizard. [^import_wizard.png]
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 5 months
[JBoss JIRA] (JBIDE-23360) Select Route: Remember selected route in ambiguous routing does not work
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23360?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich commented on JBIDE-23360:
-----------------------------------------------
[~adietish], I fixed the problem (a return was forgotten) and added menu command 'Edit default route' for user to change his choice.
> Select Route: Remember selected route in ambiguous routing does not work
> ------------------------------------------------------------------------
>
> Key: JBIDE-23360
> URL: https://issues.jboss.org/browse/JBIDE-23360
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.2.AM2
> Reporter: Marián Labuda
> Labels: openshift_v3, select_route
> Fix For: 4.4.2.AM3
>
>
> When selecting Show In - Web Browser on a project with more services, routing is ambiguous. There is shown a shell "Select Route" with a checkbox "Remember selected route". This checkbox does not work. If I check it and then click OK button, I get the same prompt again next time I select Show In - Web Browser context menu item.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 5 months