[JBoss JIRA] (JBIDE-24658) NPE in ObjectNameNode.loadInfo when selecting MBean element in the JMX Tree
by Aurélien Pupier (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24658?page=com.atlassian.jira.plugi... ]
Aurélien Pupier commented on JBIDE-24658:
-----------------------------------------
i set the fix version to the 4.5.0 as this is a regression
> NPE in ObjectNameNode.loadInfo when selecting MBean element in the JMX Tree
> ---------------------------------------------------------------------------
>
> Key: JBIDE-24658
> URL: https://issues.jboss.org/browse/JBIDE-24658
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Affects Versions: 4.5.0.AM1
> Reporter: Aurélien Pupier
> Fix For: 4.5.0.AM2, 4.5.0.Final
>
>
> {noformat}
> !ENTRY org.eclipse.ui.views.properties.tabbed 4 2 2017-07-10 15:45:13.897
> !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.views.properties.tabbed".
> !STACK 0
> java.lang.NullPointerException
> at org.jboss.tools.jmx.core.tree.ObjectNameNode.loadInfo(ObjectNameNode.java:54)
> at org.jboss.tools.jmx.core.tree.ObjectNameNode.getMbeanInfoWrapper(ObjectNameNode.java:107)
> at org.jboss.tools.jmx.core.tree.ObjectNameNode.getMbeanInfoWrapper(ObjectNameNode.java:103)
> at org.jboss.tools.jmx.ui.internal.adapters.ObjectNameNodePropertySourceAdapter.getAttributes(ObjectNameNodePropertySourceAdapter.java:55)
> at org.jboss.tools.jmx.ui.internal.adapters.ObjectNameNodePropertySourceAdapter.getPropertyDescriptors(ObjectNameNodePropertySourceAdapter.java:43)
> at org.eclipse.ui.views.properties.PropertySheetEntry.computeMergedPropertyDescriptors(PropertySheetEntry.java:171)
> at org.eclipse.ui.views.properties.PropertySheetEntry.refreshChildEntries(PropertySheetEntry.java:507)
> at org.eclipse.ui.views.properties.PropertySheetEntry.setValues(PropertySheetEntry.java:728)
> at org.eclipse.ui.views.properties.PropertySheetViewer.setInput(PropertySheetViewer.java:976)
> at org.eclipse.ui.views.properties.PropertySheetPage.refresh(PropertySheetPage.java:539)
> at org.eclipse.ui.views.properties.tabbed.AdvancedPropertySection.refresh(AdvancedPropertySection.java:89)
> at org.eclipse.ui.views.properties.tabbed.TabContents$6.run(TabContents.java:211)
> 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.ui.views.properties.tabbed.TabContents.refresh(TabContents.java:214)
> at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage$SelectionChangedListener.selectionChanged(TabbedPropertySheetPage.java:221)
> 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.setSelection(StructuredViewer.java:1717)
> at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:380)
> at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.setInput(TabbedPropertySheetPage.java:747)
> at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.selectionChanged(TabbedPropertySheetPage.java:555)
> at org.eclipse.ui.views.properties.PropertySheet.showSelectionAndDescription(PropertySheet.java:498)
> at org.eclipse.ui.views.properties.PropertySheet.selectionChanged(PropertySheet.java:478)
> at org.eclipse.ui.internal.e4.compatibility.SelectionService.notifyListeners(SelectionService.java:239)
> at org.eclipse.ui.internal.e4.compatibility.SelectionService.handlePostSelectionChanged(SelectionService.java:113)
> at org.eclipse.ui.internal.e4.compatibility.SelectionService.lambda$2(SelectionService.java:68)
> at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$4.run(SelectionAggregator.java:166)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.notifyPostListeners(SelectionAggregator.java:163)
> at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.access$8(SelectionAggregator.java:161)
> at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8$1.run(SelectionAggregator.java:271)
> at org.eclipse.e4.core.contexts.RunAndTrack.runExternalCode(RunAndTrack.java:56)
> at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8.changed(SelectionAggregator.java:268)
> at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:114)
> at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:355)
> at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:370)
> at org.eclipse.e4.ui.internal.workbench.SelectionServiceImpl.setPostSelection(SelectionServiceImpl.java:36)
> at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.lambda$2(CompatibilityPart.java:125)
> at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:872)
> 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.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:869)
> at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1238)
> at org.eclipse.ui.navigator.CommonViewer.handlePostSelect(CommonViewer.java:457)
> at org.eclipse.jface.viewers.StructuredViewer.lambda$0(StructuredViewer.java:1261)
> at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:81)
> at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:261)
> at org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:256)
> at org.eclipse.jface.util.OpenStrategy$1.lambda$1(OpenStrategy.java:426)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4213)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3820)
> 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, 8 months
[JBoss JIRA] (JBIDE-24658) NPE in ObjectNameNode.loadInfo when selecting MBean element in the JMX Tree
by Aurélien Pupier (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24658?page=com.atlassian.jira.plugi... ]
Aurélien Pupier commented on JBIDE-24658:
-----------------------------------------
the Monitor is null which is causing the NPE.
it seems that it has been introduced by this commit: https://github.com/jbosstools/jbosstools-server/commit/f85e5156539b5cd73c... with a null provided as argument on this line: https://github.com/jbosstools/jbosstools-server/blob/f85e5156539b5cd73c1e...
> NPE in ObjectNameNode.loadInfo when selecting MBean element in the JMX Tree
> ---------------------------------------------------------------------------
>
> Key: JBIDE-24658
> URL: https://issues.jboss.org/browse/JBIDE-24658
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Reporter: Aurélien Pupier
>
> {noformat}
> !ENTRY org.eclipse.ui.views.properties.tabbed 4 2 2017-07-10 15:45:13.897
> !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.views.properties.tabbed".
> !STACK 0
> java.lang.NullPointerException
> at org.jboss.tools.jmx.core.tree.ObjectNameNode.loadInfo(ObjectNameNode.java:54)
> at org.jboss.tools.jmx.core.tree.ObjectNameNode.getMbeanInfoWrapper(ObjectNameNode.java:107)
> at org.jboss.tools.jmx.core.tree.ObjectNameNode.getMbeanInfoWrapper(ObjectNameNode.java:103)
> at org.jboss.tools.jmx.ui.internal.adapters.ObjectNameNodePropertySourceAdapter.getAttributes(ObjectNameNodePropertySourceAdapter.java:55)
> at org.jboss.tools.jmx.ui.internal.adapters.ObjectNameNodePropertySourceAdapter.getPropertyDescriptors(ObjectNameNodePropertySourceAdapter.java:43)
> at org.eclipse.ui.views.properties.PropertySheetEntry.computeMergedPropertyDescriptors(PropertySheetEntry.java:171)
> at org.eclipse.ui.views.properties.PropertySheetEntry.refreshChildEntries(PropertySheetEntry.java:507)
> at org.eclipse.ui.views.properties.PropertySheetEntry.setValues(PropertySheetEntry.java:728)
> at org.eclipse.ui.views.properties.PropertySheetViewer.setInput(PropertySheetViewer.java:976)
> at org.eclipse.ui.views.properties.PropertySheetPage.refresh(PropertySheetPage.java:539)
> at org.eclipse.ui.views.properties.tabbed.AdvancedPropertySection.refresh(AdvancedPropertySection.java:89)
> at org.eclipse.ui.views.properties.tabbed.TabContents$6.run(TabContents.java:211)
> 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.ui.views.properties.tabbed.TabContents.refresh(TabContents.java:214)
> at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage$SelectionChangedListener.selectionChanged(TabbedPropertySheetPage.java:221)
> 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.setSelection(StructuredViewer.java:1717)
> at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:380)
> at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.setInput(TabbedPropertySheetPage.java:747)
> at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.selectionChanged(TabbedPropertySheetPage.java:555)
> at org.eclipse.ui.views.properties.PropertySheet.showSelectionAndDescription(PropertySheet.java:498)
> at org.eclipse.ui.views.properties.PropertySheet.selectionChanged(PropertySheet.java:478)
> at org.eclipse.ui.internal.e4.compatibility.SelectionService.notifyListeners(SelectionService.java:239)
> at org.eclipse.ui.internal.e4.compatibility.SelectionService.handlePostSelectionChanged(SelectionService.java:113)
> at org.eclipse.ui.internal.e4.compatibility.SelectionService.lambda$2(SelectionService.java:68)
> at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$4.run(SelectionAggregator.java:166)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.notifyPostListeners(SelectionAggregator.java:163)
> at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.access$8(SelectionAggregator.java:161)
> at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8$1.run(SelectionAggregator.java:271)
> at org.eclipse.e4.core.contexts.RunAndTrack.runExternalCode(RunAndTrack.java:56)
> at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8.changed(SelectionAggregator.java:268)
> at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:114)
> at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:355)
> at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:370)
> at org.eclipse.e4.ui.internal.workbench.SelectionServiceImpl.setPostSelection(SelectionServiceImpl.java:36)
> at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.lambda$2(CompatibilityPart.java:125)
> at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:872)
> 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.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:869)
> at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1238)
> at org.eclipse.ui.navigator.CommonViewer.handlePostSelect(CommonViewer.java:457)
> at org.eclipse.jface.viewers.StructuredViewer.lambda$0(StructuredViewer.java:1261)
> at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:81)
> at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:261)
> at org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:256)
> at org.eclipse.jface.util.OpenStrategy$1.lambda$1(OpenStrategy.java:426)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4213)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3820)
> 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, 8 months
[JBoss JIRA] (JBIDE-24658) NPE in ObjectNameNode.loadInfo when selecting MBean element in the JMX Tree
by Aurélien Pupier (JIRA)
Aurélien Pupier created JBIDE-24658:
---------------------------------------
Summary: NPE in ObjectNameNode.loadInfo when selecting MBean element in the JMX Tree
Key: JBIDE-24658
URL: https://issues.jboss.org/browse/JBIDE-24658
Project: Tools (JBoss Tools)
Issue Type: Bug
Reporter: Aurélien Pupier
{noformat}
!ENTRY org.eclipse.ui.views.properties.tabbed 4 2 2017-07-10 15:45:13.897
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.views.properties.tabbed".
!STACK 0
java.lang.NullPointerException
at org.jboss.tools.jmx.core.tree.ObjectNameNode.loadInfo(ObjectNameNode.java:54)
at org.jboss.tools.jmx.core.tree.ObjectNameNode.getMbeanInfoWrapper(ObjectNameNode.java:107)
at org.jboss.tools.jmx.core.tree.ObjectNameNode.getMbeanInfoWrapper(ObjectNameNode.java:103)
at org.jboss.tools.jmx.ui.internal.adapters.ObjectNameNodePropertySourceAdapter.getAttributes(ObjectNameNodePropertySourceAdapter.java:55)
at org.jboss.tools.jmx.ui.internal.adapters.ObjectNameNodePropertySourceAdapter.getPropertyDescriptors(ObjectNameNodePropertySourceAdapter.java:43)
at org.eclipse.ui.views.properties.PropertySheetEntry.computeMergedPropertyDescriptors(PropertySheetEntry.java:171)
at org.eclipse.ui.views.properties.PropertySheetEntry.refreshChildEntries(PropertySheetEntry.java:507)
at org.eclipse.ui.views.properties.PropertySheetEntry.setValues(PropertySheetEntry.java:728)
at org.eclipse.ui.views.properties.PropertySheetViewer.setInput(PropertySheetViewer.java:976)
at org.eclipse.ui.views.properties.PropertySheetPage.refresh(PropertySheetPage.java:539)
at org.eclipse.ui.views.properties.tabbed.AdvancedPropertySection.refresh(AdvancedPropertySection.java:89)
at org.eclipse.ui.views.properties.tabbed.TabContents$6.run(TabContents.java:211)
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.ui.views.properties.tabbed.TabContents.refresh(TabContents.java:214)
at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage$SelectionChangedListener.selectionChanged(TabbedPropertySheetPage.java:221)
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.setSelection(StructuredViewer.java:1717)
at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:380)
at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.setInput(TabbedPropertySheetPage.java:747)
at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.selectionChanged(TabbedPropertySheetPage.java:555)
at org.eclipse.ui.views.properties.PropertySheet.showSelectionAndDescription(PropertySheet.java:498)
at org.eclipse.ui.views.properties.PropertySheet.selectionChanged(PropertySheet.java:478)
at org.eclipse.ui.internal.e4.compatibility.SelectionService.notifyListeners(SelectionService.java:239)
at org.eclipse.ui.internal.e4.compatibility.SelectionService.handlePostSelectionChanged(SelectionService.java:113)
at org.eclipse.ui.internal.e4.compatibility.SelectionService.lambda$2(SelectionService.java:68)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$4.run(SelectionAggregator.java:166)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.notifyPostListeners(SelectionAggregator.java:163)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.access$8(SelectionAggregator.java:161)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8$1.run(SelectionAggregator.java:271)
at org.eclipse.e4.core.contexts.RunAndTrack.runExternalCode(RunAndTrack.java:56)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8.changed(SelectionAggregator.java:268)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:114)
at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:355)
at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:370)
at org.eclipse.e4.ui.internal.workbench.SelectionServiceImpl.setPostSelection(SelectionServiceImpl.java:36)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.lambda$2(CompatibilityPart.java:125)
at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:872)
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.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:869)
at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1238)
at org.eclipse.ui.navigator.CommonViewer.handlePostSelect(CommonViewer.java:457)
at org.eclipse.jface.viewers.StructuredViewer.lambda$0(StructuredViewer.java:1261)
at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:81)
at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:261)
at org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:256)
at org.eclipse.jface.util.OpenStrategy$1.lambda$1(OpenStrategy.java:426)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4213)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3820)
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, 8 months
[JBoss JIRA] (JBIDE-24651) JAX-RS support (Facet) not installed for JAR projects, that are packaged into WAR's WEB-INF/lib
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24651?page=com.atlassian.jira.plugi... ]
Nick Boldt reassigned JBIDE-24651:
----------------------------------
Assignee: Jeff MAURY
> JAX-RS support (Facet) not installed for JAR projects, that are packaged into WAR's WEB-INF/lib
> ------------------------------------------------------------------------------------------------
>
> Key: JBIDE-24651
> URL: https://issues.jboss.org/browse/JBIDE-24651
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.4.4.Final
> Environment: JBDS 10.4.0.GA
> Reporter: Vsevolod Golovanov
> Assignee: Jeff MAURY
> Fix For: 4.5.x
>
> Attachments: m2e-jax-rs-activation-jboss-ex.zip
>
>
> {quote}Put REST webresource in a war project - m2e adds JAX-RS support to the project.
> Put REST webresource in a jar project, that is deployed in a war - m2e does not add JAX-RS support to the project.
> As JAX-RS 2.0 spec says in 2.3.2 Servlet:
> "A JAX-RS application is packaged as a Web application in a .war file. The application classes are packaged in WEB-INF/classes or WEB-INF/lib and required libraries are packaged in WEB-INF/lib. See the Servlet specification for full details on packaging of web applications."
> That means you can have REST webresources in jars, that are deployed in a war. Such jars are web fragments in servlet terms.
> The reproducer is attached.
> The war project receives the relevant facets: Dynamic Web Module and JAX-RS.
> The jar-ui project receives the Web Fragment Module facet, but no JAX-RS.{quote}
> This is a quote from an analogous [m2e-wtp issue|https://bugs.eclipse.org/bugs/show_bug.cgi?id=519228]. I'm not sure if there is anything to be done at JBT side of things, or if this is a strictly m2e-wtp issue. I see two relevant JBT specifics: jboss' repackaged jax-rs spec api and the JAX-RS/JAX-RS Support thingy in project properties.
> I've attached a jboss-specific reproducer here, that uses jboss' repackaged jax-rs spec api.
> It shows both JAX-RS Support not being enabled and JAX-RS facet not being added to a jar web fragment project.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (JBDS-4179) DevStudio installer uses console installation instead of wizard
by Lukáš Valach (JIRA)
[ https://issues.jboss.org/browse/JBDS-4179?page=com.atlassian.jira.plugin.... ]
Lukáš Valach closed JBDS-4179.
------------------------------
Can't reproduce with lastest OpenJDK and JBDS. Closing.
> DevStudio installer uses console installation instead of wizard
> ---------------------------------------------------------------
>
> Key: JBDS-4179
> URL: https://issues.jboss.org/browse/JBDS-4179
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: documentation, installer, upstream
> Affects Versions: 10.2.0.GA
> Environment: openjdk version "1.8.0_102"
> OpenJDK Runtime Environment (build 1.8.0_102-b14)
> Reporter: Marián Labuda
> Assignee: Denis Golovin
> Fix For: 11.0.0.AM1
>
>
> I tried to install latest DevStudio (devstudio-10.2.0.GA-v20161116-0039-B6472-installer-standalone.jar) but when I run installation as usual, I get console installation - at first whole license text and prompt to 1) Accept, 2) Reject, 3) Redisplay. After that installation unpack files to home and I am not able to select destination.
> This happens with older version of openjdk8. With latest available openjdk for fedora (1.8.0_111) it works.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (JBIDE-24125) Import wizard: adapt ITs to changes introduced in JBIDE-24048
by Jan Novak (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24125?page=com.atlassian.jira.plugi... ]
Jan Novak reassigned JBIDE-24125:
---------------------------------
Assignee: Radim Hopp (was: Jan Novak)
> Import wizard: adapt ITs to changes introduced in JBIDE-24048
> -------------------------------------------------------------
>
> Key: JBIDE-24125
> URL: https://issues.jboss.org/browse/JBIDE-24125
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.4.4.AM2
> Reporter: Andre Dietisheim
> Assignee: Radim Hopp
> Fix For: 4.5.x
>
>
> In JBIDE-24048 changes have been done to the import wizard. We should change the ITs to cover these changes.
> @rhopp @bdshadow can you please test this since it's a rather larger change and provides changes in how it behaves?
> * Validations were extended:
> ** is the existing clone destination a git repo?
> ** is the existing clone destination a clone of the source that is used in OpenShift?
> * We now also ask the user if he wants to checkout the correct branch (the one that's used in OpenShift) in the existing git repo
> * UI was slightly changed according to requests made in JBIDE-21935
> * We now also close the wizard dialog before executing the import. This should allow the user to continue working.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (JBIDE-24125) Import wizard: adapt ITs to changes introduced in JBIDE-24048
by Jan Novak (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24125?page=com.atlassian.jira.plugi... ]
Jan Novak commented on JBIDE-24125:
-----------------------------------
First version of code is here:
https://github.com/theJNOVAK/jbosstools-integration-tests/tree/openshift-...
Last remaining todo - asserts in
@Ignored @Test
ImportApplicationWizardGitTest.testNotExistingBranch()
> Import wizard: adapt ITs to changes introduced in JBIDE-24048
> -------------------------------------------------------------
>
> Key: JBIDE-24125
> URL: https://issues.jboss.org/browse/JBIDE-24125
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.4.4.AM2
> Reporter: Andre Dietisheim
> Assignee: Jan Novak
> Fix For: 4.5.x
>
>
> In JBIDE-24048 changes have been done to the import wizard. We should change the ITs to cover these changes.
> @rhopp @bdshadow can you please test this since it's a rather larger change and provides changes in how it behaves?
> * Validations were extended:
> ** is the existing clone destination a git repo?
> ** is the existing clone destination a clone of the source that is used in OpenShift?
> * We now also ask the user if he wants to checkout the correct branch (the one that's used in OpenShift) in the existing git repo
> * UI was slightly changed according to requests made in JBIDE-21935
> * We now also close the wizard dialog before executing the import. This should allow the user to continue working.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months