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

Cannot create Server adapter for OpenShift application: Internal Error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Critical
    • 4.1.0.Alpha1
    • 4.1.0.Alpha1
    • openshift
    • None
    • Hide
      1. EXEC: in Servers View: create a new OpenShift server adapter by picking New->Server and choosing OpenShift adapter type.
      2. EXEC: Hit Next

      Result:
      You get an Internal Error on the next wizard page

      In the Eclipse log, you'll spot the following:

      java.lang.IllegalArgumentException: Could not get configuration. No repository provided.
      	at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
      	at org.jboss.tools.openshift.egit.core.EGitUtils.getRemoteByName(EGitUtils.java:687)
      	at org.jboss.tools.openshift.express.internal.core.behaviour.ExpressServerUtils.hasGitUri(ExpressServerUtils.java:414)
      	at org.jboss.tools.openshift.express.internal.core.behaviour.ExpressServerUtils.findProjectsForApplication(ExpressServerUtils.java:401)
      	at org.jboss.tools.openshift.express.internal.ui.behaviour.ExpressDetailsComposite.updateProjectsPerApp(ExpressDetailsComposite.java:605)
      	at org.jboss.tools.openshift.express.internal.ui.behaviour.ExpressDetailsComposite.updateModel(ExpressDetailsComposite.java:592)
      	at org.jboss.tools.openshift.express.internal.ui.behaviour.ExpressDetailsComposite.initModelNewServerWizard(ExpressDetailsComposite.java:174)
      	at org.jboss.tools.openshift.express.internal.ui.behaviour.ExpressDetailsComposite.initModel(ExpressDetailsComposite.java:146)
      	at org.jboss.tools.openshift.express.internal.ui.behaviour.ExpressDetailsComposite.<init>(ExpressDetailsComposite.java:128)
      	at org.jboss.tools.openshift.express.internal.ui.behaviour.ExpressWizardFragment.createComposite(ExpressWizardFragment.java:63)
      	at org.eclipse.wst.server.ui.internal.wizard.TaskWizardPage.createControl(TaskWizardPage.java:43)
      	at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1246)
      	at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1238)
      	at org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1227)
      	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      	at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1225)
      	at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:915)
      	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:428)
      	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3554)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3179)
      	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
      	at org.eclipse.jface.window.Window.open(Window.java:801)
      	at org.eclipse.wst.server.ui.internal.actions.LaunchWizardAction.run(LaunchWizardAction.java:57)
      	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:1276)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3554)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3179)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
      	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:353)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
      	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:629)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
      
      Show
      EXEC: in Servers View : create a new OpenShift server adapter by picking New->Server and choosing OpenShift adapter type. EXEC: Hit Next Result: You get an Internal Error on the next wizard page In the Eclipse log, you'll spot the following: java.lang.IllegalArgumentException: Could not get configuration. No repository provided. at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63) at org.jboss.tools.openshift.egit.core.EGitUtils.getRemoteByName(EGitUtils.java:687) at org.jboss.tools.openshift.express.internal.core.behaviour.ExpressServerUtils.hasGitUri(ExpressServerUtils.java:414) at org.jboss.tools.openshift.express.internal.core.behaviour.ExpressServerUtils.findProjectsForApplication(ExpressServerUtils.java:401) at org.jboss.tools.openshift.express.internal.ui.behaviour.ExpressDetailsComposite.updateProjectsPerApp(ExpressDetailsComposite.java:605) at org.jboss.tools.openshift.express.internal.ui.behaviour.ExpressDetailsComposite.updateModel(ExpressDetailsComposite.java:592) at org.jboss.tools.openshift.express.internal.ui.behaviour.ExpressDetailsComposite.initModelNewServerWizard(ExpressDetailsComposite.java:174) at org.jboss.tools.openshift.express.internal.ui.behaviour.ExpressDetailsComposite.initModel(ExpressDetailsComposite.java:146) at org.jboss.tools.openshift.express.internal.ui.behaviour.ExpressDetailsComposite.<init>(ExpressDetailsComposite.java:128) at org.jboss.tools.openshift.express.internal.ui.behaviour.ExpressWizardFragment.createComposite(ExpressWizardFragment.java:63) at org.eclipse.wst.server.ui.internal.wizard.TaskWizardPage.createControl(TaskWizardPage.java:43) at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1246) at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1238) at org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1227) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1225) at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:915) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:428) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3554) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3179) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.wst.server.ui.internal.actions.LaunchWizardAction.run(LaunchWizardAction.java:57) 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:1276) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3554) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3179) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) 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:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) 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:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

    Attachments

      Activity

        People

          adietish@redhat.com André Dietisheim
          adietish@redhat.com André Dietisheim
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved: