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

Cannot create openshift server adapter for eap72-basic template

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.12.0.AM1
    • 4.11.0.Final, 4.12.0.AM1
    • openshift
    • None
    • Hide

      1. Create project in openshift and create application eap72-basic-s2i
      2. Import project in workspace and wait for build
      3. Create server adapter
      4. Exception is thrown in error log(but not in dialog)

      Show
      1. Create project in openshift and create application eap72-basic-s2i 2. Import project in workspace and wait for build 3. Create server adapter 4. Exception is thrown in error log(but not in dialog)
    • Workaround Exists
    • Hide

      Server adapter can be created during build of application.
      Or use new workspace.

      Show
      Server adapter can be created during build of application. Or use new workspace.

      eclipse.buildId=12.11.0.GA-v20190402-1022-B4256
      java.version=11.0.2
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product
      Command-line arguments:  -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
      
      org.eclipse.ui
      Error
      Fri Apr 05 12:44:55 CEST 2019
      Unhandled event loop exception
      
      com.openshift.restclient.OpenShiftException: Could not get add modules to server 
      	at org.jboss.tools.openshift.internal.ui.server.ServerSettingsWizardPageModel.updateModules(ServerSettingsWizardPageModel.java:466)
      	at org.jboss.tools.openshift.internal.ui.server.ServerSettingsWizardPageModel.updateServer(ServerSettingsWizardPageModel.java:449)
      	at org.jboss.tools.openshift.internal.ui.server.ServerSettingsWizardPageModel.updateServer(ServerSettingsWizardPageModel.java:429)
      	at org.jboss.tools.openshift.internal.ui.server.ServerSettingsWizardPage.saveServer(ServerSettingsWizardPage.java:1091)
      	at org.jboss.tools.openshift.internal.ui.server.ServerSettingsWizard.performFinish(ServerSettingsWizard.java:58)
      	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:775)
      	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:414)
      	at org.eclipse.jface.dialogs.Dialog.lambda$0(Dialog.java:622)
      	at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:84)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5783)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1411)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5051)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4579)
      	at org.eclipse.jface.window.Window.runEventLoop(Window.java:823)
      	at org.eclipse.jface.window.Window.open(Window.java:799)
      	at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:257)
      	at org.jboss.tools.openshift.internal.ui.handler.ServerAdapterHandler.createServer(ServerAdapterHandler.java:138)
      	at org.jboss.tools.openshift.internal.ui.handler.ServerAdapterHandler.openOrCreateServerAdapter(ServerAdapterHandler.java:126)
      	at org.jboss.tools.openshift.internal.ui.handler.ServerAdapterHandler.getOpenShiftServer(ServerAdapterHandler.java:105)
      	at org.jboss.tools.openshift.internal.ui.handler.ServerAdapterHandler.execute(ServerAdapterHandler.java:60)
      	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
      	at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:96)
      	at jdk.internal.reflect.GeneratedMethodAccessor153.invoke(Unknown Source)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:320)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:254)
      	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:173)
      	at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:156)
      	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:497)
      	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:490)
      	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
      	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:438)
      	at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:449)
      	at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.lambda$2(AbstractContributionItem.java:475)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5783)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1411)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5051)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4579)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:566)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:661)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1476)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1449)
      Caused by: org.eclipse.core.runtime.CoreException: The server does not support version 4.0 of the J2EE Web module specification.
      	at org.eclipse.wst.server.core.internal.ServerWorkingCopy.modifyModules(ServerWorkingCopy.java:550)
      	at org.jboss.tools.openshift.internal.ui.server.ServerSettingsWizardPageModel.updateModules(ServerSettingsWizardPageModel.java:464)
      	... 64 more
      
      
      

              jkopriva@redhat.com Josef Kopriva
              jkopriva@redhat.com Josef Kopriva
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: