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

OpenShift import wizard throws exception with preselected gear

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 3.3.0.CR1
    • 3.3.0.CR1
    • openshift
    • None
    • Hide
      • ASSERT: Have a NON-VIP OpenShift account in OpenShift explorer with created application. This account currently has only 1 available profile: small, VIP-users have small and medium (the bug only appears for Non-VIP users
      • EXEC: Select the application and open its context menu
      • EXEC: Select Import Application
      • EXEC: Click 'Next' and Back
      • RESULT: Full Error log of the java.lang.ClassCastException
      Show
      ASSERT: Have a NON-VIP OpenShift account in OpenShift explorer with created application. This account currently has only 1 available profile: small, VIP-users have small and medium (the bug only appears for Non-VIP users EXEC: Select the application and open its context menu EXEC: Select Import Application EXEC: Click 'Next' and Back RESULT: Full Error log of the java.lang.ClassCastException

      java.lang.ClassCastException: com.openshift.internal.client.GearProfile cannot be cast to java.lang.String
      	at org.eclipse.jface.internal.databinding.swt.ComboItemsProperty$1.handleReplace(ComboItemsProperty.java:57)
      	at org.eclipse.core.databinding.observable.list.ListDiff.accept(ListDiff.java:123)
      	at org.eclipse.jface.internal.databinding.swt.ComboItemsProperty.doUpdateStringList(ComboItemsProperty.java:26)
      	at org.eclipse.jface.internal.databinding.swt.ControlStringListProperty.doUpdateList(ControlStringListProperty.java:38)
      	at org.eclipse.core.databinding.property.list.ListProperty.updateList(ListProperty.java:105)
      	at org.eclipse.core.internal.databinding.property.list.SimplePropertyObservableList.updateList(SimplePropertyObservableList.java:176)
      	at org.eclipse.core.internal.databinding.property.list.SimplePropertyObservableList.set(SimplePropertyObservableList.java:428)
      	at org.eclipse.core.databinding.observable.list.DecoratingObservableList.set(DecoratingObservableList.java:192)
      	at org.eclipse.core.databinding.UpdateListStrategy.doReplace(UpdateListStrategy.java:304)
      	at org.eclipse.core.databinding.ListBinding$6.handleReplace(ListBinding.java:205)
      	at org.eclipse.core.databinding.observable.list.ListDiff.accept(ListDiff.java:123)
      	at org.eclipse.core.databinding.ListBinding$5.run(ListBinding.java:165)
      	at org.eclipse.core.databinding.observable.Realm$1.run(Realm.java:148)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:152)
      	at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:170)
      	at org.eclipse.core.databinding.ListBinding.doUpdate(ListBinding.java:152)
      	at org.eclipse.core.databinding.ListBinding.access$2(ListBinding.java:145)
      	at org.eclipse.core.databinding.ListBinding$2.handleListChange(ListBinding.java:55)
      	at org.eclipse.core.databinding.observable.list.ListChangeEvent.dispatch(ListChangeEvent.java:61)
      	at org.eclipse.core.databinding.observable.ChangeManager.fireEvent(ChangeManager.java:119)
      	at org.eclipse.core.databinding.observable.list.DecoratingObservableList.fireListChange(DecoratingObservableList.java:59)
      	at org.eclipse.core.databinding.observable.list.DecoratingObservableList.handleListChange(DecoratingObservableList.java:97)
      	at org.eclipse.core.databinding.observable.list.DecoratingObservableList$1.handleListChange(DecoratingObservableList.java:71)
      	at org.eclipse.core.databinding.observable.list.ListChangeEvent.dispatch(ListChangeEvent.java:61)
      	at org.eclipse.core.databinding.observable.ChangeManager.fireEvent(ChangeManager.java:119)
      	at org.eclipse.core.databinding.observable.list.DecoratingObservableList.fireListChange(DecoratingObservableList.java:59)
      	at org.eclipse.core.databinding.observable.list.DecoratingObservableList.handleListChange(DecoratingObservableList.java:97)
      	at org.eclipse.core.databinding.observable.list.DecoratingObservableList$1.handleListChange(DecoratingObservableList.java:71)
      	at org.eclipse.core.databinding.observable.list.ListChangeEvent.dispatch(ListChangeEvent.java:61)
      	at org.eclipse.core.databinding.observable.ChangeManager.fireEvent(ChangeManager.java:119)
      	at org.eclipse.core.databinding.observable.ChangeSupport.fireEvent(ChangeSupport.java:39)
      	at org.eclipse.core.databinding.observable.list.AbstractObservableList.fireListChange(AbstractObservableList.java:114)
      	at org.eclipse.core.internal.databinding.property.list.SimplePropertyObservableList.notifyIfChanged(SimplePropertyObservableList.java:567)
      	at org.eclipse.core.internal.databinding.property.list.SimplePropertyObservableList.access$3(SimplePropertyObservableList.java:559)
      	at org.eclipse.core.internal.databinding.property.list.SimplePropertyObservableList$2.run(SimplePropertyObservableList.java:78)
      	at org.eclipse.core.databinding.observable.Realm$1.run(Realm.java:148)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:152)
      	at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:170)
      	at org.eclipse.core.internal.databinding.property.list.SimplePropertyObservableList$1.handleEvent(SimplePropertyObservableList.java:74)
      	at org.eclipse.core.databinding.property.NativePropertyListener.fireChange(NativePropertyListener.java:63)
      	at org.eclipse.core.internal.databinding.beans.BeanPropertyListener.propertyChange(BeanPropertyListener.java:49)
      	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
      	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:347)
      	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
      	at org.jboss.tools.common.databinding.ObservablePojo.firePropertyChange(ObservablePojo.java:29)
      	at org.jboss.tools.common.ui.databinding.ObservableUIPojo.access$0(ObservableUIPojo.java:1)
      	at org.jboss.tools.common.ui.databinding.ObservableUIPojo$1.run(ObservableUIPojo.java:27)
      	at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:164)
      	at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:158)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3563)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212)
      	at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173)
      	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:388)
      	at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1029)
      	at org.jboss.tools.common.ui.WizardUtils.runInWizard(WizardUtils.java:119)
      	at org.jboss.tools.common.ui.WizardUtils.runInWizard(WizardUtils.java:83)
      	at org.jboss.tools.common.ui.WizardUtils.runInWizard(WizardUtils.java:173)
      	at org.jboss.tools.common.ui.WizardUtils.runInWizard(WizardUtils.java:168)
      	at org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationConfigurationWizardPage.loadOpenshiftResources(ApplicationConfigurationWizardPage.java:735)
      	at org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationConfigurationWizardPage$9$1.run(ApplicationConfigurationWizardPage.java:635)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3563)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212)
      	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
      	at org.eclipse.jface.window.Window.open(Window.java:801)
      	at org.jboss.tools.openshift.express.internal.ui.action.ImportApplicationAction.run(ImportApplicationAction.java:48)
      	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
      	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
      	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
      	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
      	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
      	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
      	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
      	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
      

              adietish@redhat.com André Dietisheim
              sbunciak-rh Stefan Bunciak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: