[JBoss JIRA] (JBIDE-22749) Improve the automatic finishing of FreeMarker constructs
by Daniel Dekany (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22749?page=com.atlassian.jira.plugi... ]
Daniel Dekany updated JBIDE-22749:
----------------------------------
Description:
Currently, when I type {{<#}} or {{<@}}, the editor automatically adds the closing {{>}}. It should also close {{</#}}, {{</@}}, {{${}}, and {{#{}} and {{<#--}}. Furthermore the way it auto-closes what it does is technically award, as it only inserts the {{>}} after the inserted {{#}} was shown and the resulting syntax highlighting was done, instead of inserting both characters in a single step.
was:
Currently, when I type {{<#}} or {{<@}}, the editor automatically adds the closing {{>}}. It should also close {{</#}}, {{</@}}, {{${}}, and {{#{}}. Furthermore the way it auto-closes what it does is technically award, as if only inserts the {{>}} after the the previous part was shown and syntax highlighted and all that.
It would be also very handy if {{<#/}} can auto-insert the tag name.
> Improve the automatic finishing of FreeMarker constructs
> --------------------------------------------------------
>
> Key: JBIDE-22749
> URL: https://issues.jboss.org/browse/JBIDE-22749
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: freemarker
> Reporter: Daniel Dekany
>
> Currently, when I type {{<#}} or {{<@}}, the editor automatically adds the closing {{>}}. It should also close {{</#}}, {{</@}}, {{${}}, and {{#{}} and {{<#--}}. Furthermore the way it auto-closes what it does is technically award, as it only inserts the {{>}} after the inserted {{#}} was shown and the resulting syntax highlighting was done, instead of inserting both characters in a single step.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 8 months
[JBoss JIRA] (JBIDE-22749) Improve the automatic finishing of FreeMarker constructs
by Daniel Dekany (JIRA)
Daniel Dekany created JBIDE-22749:
-------------------------------------
Summary: Improve the automatic finishing of FreeMarker constructs
Key: JBIDE-22749
URL: https://issues.jboss.org/browse/JBIDE-22749
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: freemarker
Reporter: Daniel Dekany
Currently, when I type {{<#}} or {{<@}}, the editor automatically adds the closing `>`. It should also close {{</#}}, {{</@}}, {{${}}, and {{#{}}. Furthermore the way it auto-closes what it does is technically award, as if only inserts the {{>}} after the the previous part was shown and syntax highlighted and all that.
It would be also very handy if {{<#/}} can auto-insert the tag name.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 8 months
[JBoss JIRA] (JBIDE-22749) Improve the automatic finishing of FreeMarker constructs
by Daniel Dekany (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22749?page=com.atlassian.jira.plugi... ]
Daniel Dekany updated JBIDE-22749:
----------------------------------
Description:
Currently, when I type {{<#}} or {{<@}}, the editor automatically adds the closing {{>}}. It should also close {{</#}}, {{</@}}, {{${}}, and {{#{}}. Furthermore the way it auto-closes what it does is technically award, as if only inserts the {{>}} after the the previous part was shown and syntax highlighted and all that.
It would be also very handy if {{<#/}} can auto-insert the tag name.
was:
Currently, when I type {{<#}} or {{<@}}, the editor automatically adds the closing `>`. It should also close {{</#}}, {{</@}}, {{${}}, and {{#{}}. Furthermore the way it auto-closes what it does is technically award, as if only inserts the {{>}} after the the previous part was shown and syntax highlighted and all that.
It would be also very handy if {{<#/}} can auto-insert the tag name.
> Improve the automatic finishing of FreeMarker constructs
> --------------------------------------------------------
>
> Key: JBIDE-22749
> URL: https://issues.jboss.org/browse/JBIDE-22749
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: freemarker
> Reporter: Daniel Dekany
>
> Currently, when I type {{<#}} or {{<@}}, the editor automatically adds the closing {{>}}. It should also close {{</#}}, {{</@}}, {{${}}, and {{#{}}. Furthermore the way it auto-closes what it does is technically award, as if only inserts the {{>}} after the the previous part was shown and syntax highlighted and all that.
> It would be also very handy if {{<#/}} can auto-insert the tag name.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 8 months
[JBoss JIRA] (JBIDE-22744) Down arrow as indicator for existing content under an OpenShift 2 connection is not visible
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22744?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich commented on JBIDE-22744:
-----------------------------------------------
When I select Refresh, progress status shows 'Loading Openshift Information...'. When the job is completed, tree is expanded automatically and displays the domain and the arrow at the connection node in expanded state. But it takes time to wait for the job completion.
> Down arrow as indicator for existing content under an OpenShift 2 connection is not visible
> -------------------------------------------------------------------------------------------
>
> Key: JBIDE-22744
> URL: https://issues.jboss.org/browse/JBIDE-22744
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.1.AM2
> Reporter: Marián Labuda
> Labels: openshift_v2
>
> If I have an OpenShift 2 connection which has been managed elsewhere (there is at least 1 domain under it) and I select Refresh in its context menu, connection is refreshed but there is no down arrow next to the connection tree item as indicator for expanding. Connection look still same, without any mark on its left side and user find out there is a domain only once he double click on the connection. The down arrow was there present earlier.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 8 months
[JBoss JIRA] (JBIDE-22745) NPE in databinding in New OpenShift 2 Application wizard
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22745?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich commented on JBIDE-22745:
-----------------------------------------------
When the selected item is excluded from tree because it does not match new filter text, tree sends empty selection and that sets the selected application template to null. That seems normal. I think, just checking for null in setSelectedApplicationTemplate(IApplicationTemplate) is enough. [~jeffmaury], [~fbricon], please take a look at the pull request.
> NPE in databinding in New OpenShift 2 Application wizard
> --------------------------------------------------------
>
> Key: JBIDE-22745
> URL: https://issues.jboss.org/browse/JBIDE-22745
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.1.AM2
> Reporter: Marián Labuda
> Labels: application_wizard, openshift_v2
>
> In OpenShift 2 Application wizard are several NPE on Databinding when Code Anything cartridge is selected and user starts type cartridge/quickstart to text filter widget and then selects a cartridge.
> Upon typing a text in the text filter widget, following exception is thrown
> {code}
> An error occurred while setting the value.
> java.lang.RuntimeException: java.lang.NullPointerException
> at org.eclipse.core.internal.databinding.beans.BeanPropertyHelper.writeProperty(BeanPropertyHelper.java:65)
> at org.eclipse.core.internal.databinding.beans.BeanValueProperty.doSetValue(BeanValueProperty.java:54)
> at org.eclipse.core.databinding.property.value.ValueProperty.setValue(ValueProperty.java:89)
> at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.doSetValue(SimplePropertyObservableValue.java:110)
> at org.eclipse.core.databinding.observable.value.AbstractObservableValue.setValue(AbstractObservableValue.java:66)
> at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.setValue(DecoratingObservableValue.java:115)
> at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.setValue(DecoratingObservableValue.java:115)
> at org.eclipse.core.databinding.UpdateValueStrategy.doSet(UpdateValueStrategy.java:469)
> at org.eclipse.core.databinding.ValueBinding$3$1.run(ValueBinding.java:206)
> at org.eclipse.core.databinding.observable.Realm$1.run(Realm.java:149)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:153)
> at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:171)
> at org.eclipse.core.databinding.ValueBinding$3.run(ValueBinding.java:196)
> at org.eclipse.core.databinding.observable.Realm$1.run(Realm.java:149)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:153)
> at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:171)
> at org.eclipse.core.databinding.ValueBinding.doUpdate(ValueBinding.java:158)
> at org.eclipse.core.databinding.ValueBinding.access$4(ValueBinding.java:147)
> at org.eclipse.core.databinding.ValueBinding$1.handleValueChange(ValueBinding.java:46)
> at org.eclipse.core.databinding.observable.value.ValueChangeEvent.dispatch(ValueChangeEvent.java:70)
> at org.eclipse.core.databinding.observable.ChangeManager.fireEvent(ChangeManager.java:117)
> at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.fireValueChange(DecoratingObservableValue.java:61)
> at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.handleValueChange(DecoratingObservableValue.java:103)
> at org.eclipse.core.databinding.observable.value.DecoratingObservableValue$1.handleValueChange(DecoratingObservableValue.java:76)
> at org.eclipse.core.databinding.observable.value.ValueChangeEvent.dispatch(ValueChangeEvent.java:70)
> at org.eclipse.core.databinding.observable.ChangeManager.fireEvent(ChangeManager.java:117)
> at org.eclipse.core.databinding.observable.value.AbstractObservableValue.fireValueChange(AbstractObservableValue.java:82)
> at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.notifyIfChanged(SimplePropertyObservableValue.java:126)
> at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.access$3(SimplePropertyObservableValue.java:118)
> at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue$1$1.run(SimplePropertyObservableValue.java:70)
> at org.eclipse.core.databinding.observable.Realm$1.run(Realm.java:149)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:153)
> at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:171)
> at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue$1.handleEvent(SimplePropertyObservableValue.java:66)
> at org.eclipse.core.databinding.property.NativePropertyListener.fireChange(NativePropertyListener.java:69)
> at org.eclipse.jface.internal.databinding.viewers.SelectionChangedListener.selectionChanged(SelectionChangedListener.java:36)
> 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.handleInvalidSelection(StructuredViewer.java:1192)
> at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1471)
> at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:354)
> 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.express.internal.ui.wizard.application.ApplicationTemplateWizardPage$4.modifyText(ApplicationTemplateWizardPage.java:358)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:180)
> 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:287)
> at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:270)
> at org.jboss.tools.openshift.express.internal.ui.command.NewExpressApplicationHandler.open(NewExpressApplicationHandler.java:53)
> at org.jboss.tools.openshift.express.internal.ui.command.NewExpressApplicationHandler.execute(NewExpressApplicationHandler.java:40)
> at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
> at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
> at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:54)
> at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:282)
> at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:264)
> at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
> at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
> at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
> at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:488)
> at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
> at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:433)
> at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:454)
> at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem$3.handleEvent(AbstractContributionItem.java:482)
> 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.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)
> Caused by: java.lang.NullPointerException
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizardModel.setSelectedApplicationTemplate(OpenShiftApplicationWizardModel.java:591)
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.ApplicationTemplateWizardPageModel.setSelectedApplicationTemplate(ApplicationTemplateWizardPageModel.java:286)
> at sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.eclipse.core.internal.databinding.beans.BeanPropertyHelper.writeProperty(BeanPropertyHelper.java:59)
> ... 107 more
> {code}
> Upon selection of a different cartridge following exception is thrown several times (in my case 4 times)
> {code}
> Unhandled exception: java.lang.NullPointerException
> java.lang.RuntimeException: java.lang.NullPointerException
> at org.eclipse.core.internal.databinding.beans.BeanPropertyHelper.writeProperty(BeanPropertyHelper.java:65)
> at org.eclipse.core.internal.databinding.beans.BeanValueProperty.doSetValue(BeanValueProperty.java:54)
> at org.eclipse.core.databinding.property.value.ValueProperty.setValue(ValueProperty.java:89)
> at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.doSetValue(SimplePropertyObservableValue.java:110)
> at org.eclipse.core.databinding.observable.value.AbstractObservableValue.setValue(AbstractObservableValue.java:66)
> at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.setValue(DecoratingObservableValue.java:115)
> at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.setValue(DecoratingObservableValue.java:115)
> at org.eclipse.core.databinding.UpdateValueStrategy.doSet(UpdateValueStrategy.java:469)
> at org.eclipse.core.databinding.ValueBinding$3$1.run(ValueBinding.java:206)
> at org.eclipse.core.databinding.observable.Realm$1.run(Realm.java:149)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:153)
> at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:171)
> at org.eclipse.core.databinding.ValueBinding$3.run(ValueBinding.java:196)
> at org.eclipse.core.databinding.observable.Realm$1.run(Realm.java:149)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:153)
> at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:171)
> at org.eclipse.core.databinding.ValueBinding.doUpdate(ValueBinding.java:158)
> at org.eclipse.core.databinding.ValueBinding.access$4(ValueBinding.java:147)
> at org.eclipse.core.databinding.ValueBinding$1.handleValueChange(ValueBinding.java:46)
> at org.eclipse.core.databinding.observable.value.ValueChangeEvent.dispatch(ValueChangeEvent.java:70)
> at org.eclipse.core.databinding.observable.ChangeManager.fireEvent(ChangeManager.java:117)
> at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.fireValueChange(DecoratingObservableValue.java:61)
> at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.handleValueChange(DecoratingObservableValue.java:103)
> at org.eclipse.core.databinding.observable.value.DecoratingObservableValue$1.handleValueChange(DecoratingObservableValue.java:76)
> at org.eclipse.core.databinding.observable.value.ValueChangeEvent.dispatch(ValueChangeEvent.java:70)
> at org.eclipse.core.databinding.observable.ChangeManager.fireEvent(ChangeManager.java:117)
> at org.eclipse.core.databinding.observable.value.AbstractObservableValue.fireValueChange(AbstractObservableValue.java:82)
> at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.notifyIfChanged(SimplePropertyObservableValue.java:126)
> at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.access$3(SimplePropertyObservableValue.java:118)
> at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue$1$1.run(SimplePropertyObservableValue.java:70)
> at org.eclipse.core.databinding.observable.Realm$1.run(Realm.java:149)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:153)
> at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:171)
> at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue$1.handleEvent(SimplePropertyObservableValue.java:66)
> at org.eclipse.core.databinding.property.NativePropertyListener.fireChange(NativePropertyListener.java:69)
> at org.eclipse.jface.internal.databinding.viewers.SelectionChangedListener.selectionChanged(SelectionChangedListener.java:36)
> 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.handleInvalidSelection(StructuredViewer.java:1192)
> at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1471)
> at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:354)
> 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.express.internal.ui.wizard.application.ApplicationTemplateWizardPage$4.modifyText(ApplicationTemplateWizardPage.java:358)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:180)
> 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:287)
> at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:270)
> at org.jboss.tools.openshift.express.internal.ui.command.NewExpressApplicationHandler.open(NewExpressApplicationHandler.java:53)
> at org.jboss.tools.openshift.express.internal.ui.command.NewExpressApplicationHandler.execute(NewExpressApplicationHandler.java:40)
> at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
> at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
> at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:54)
> at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:282)
> at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:264)
> at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
> at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
> at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
> at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:488)
> at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
> at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:433)
> at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:454)
> at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem$3.handleEvent(AbstractContributionItem.java:482)
> 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.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)
> Caused by: java.lang.NullPointerException
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizardModel.setSelectedApplicationTemplate(OpenShiftApplicationWizardModel.java:591)
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.ApplicationTemplateWizardPageModel.setSelectedApplicationTemplate(ApplicationTemplateWizardPageModel.java:286)
> at sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.eclipse.core.internal.databinding.beans.BeanPropertyHelper.writeProperty(BeanPropertyHelper.java:59)
> ... 107 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 8 months
[JBoss JIRA] (JBIDE-22747) Several context menu items in context menu of an OpenShift 2 server adapter do not work
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22747?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich edited comment on JBIDE-22747 at 7/15/16 7:28 PM:
------------------------------------------------------------------------
The cause of this issue is exactly the same as in JBIDE-22709 and pull request to it https://github.com/jbosstools/jbosstools-openshift/pull/1249 fixes this issue, too (when opening the pull request 4 days ago, I guessed that there is going to be more similar issues). [~jeffmaury], [~fbricon], please take a look.
was (Author: scabanovich):
The cause of this issue is exactly the same as in JBIDE-22709 and pull request to it https://github.com/jbosstools/jbosstools-openshift/pull/1249 fixes this issue, too. [~jeffmaury], [~fbricon], please take a look.
> Several context menu items in context menu of an OpenShift 2 server adapter do not work
> ---------------------------------------------------------------------------------------
>
> Key: JBIDE-22747
> URL: https://issues.jboss.org/browse/JBIDE-22747
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.1.AM2
> Reporter: Marián Labuda
> Priority: Critical
> Labels: openshift_v2
>
> When I click on some context menu items on OpenShift 2 Server adapter, nothing happens. It works when opened via context menu of an application in OpenShift explorer view.
> Following context menu items are not working:
> - OpenShift - Port Forwarding...
> - OpenShift - Tail Files...
> - OpenShift - Snapshot - Save...
> - OpenShift - Snapshot - Restore/Deploy...
> - OpenShift - Details...
> - OpenShift - Edit Embedded Cartridges...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 8 months