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

IO Exceoption in Error log is shown when new Quarkus component is created with an empty project in workspace

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 4.28.x
    • 4.26.0.Final
    • openshift
    • None
    • ---

    Description

      Windows 10, Eclipse 2022-12 JEE R + JBT 4.26.0.Final
      Error is shown in error log, IOExceotion when I try to create a Quarkus component in an empty eclipse project. I have not yet created OpenShift project in OpenShift app. explorer, under OS connection.

      eclipse.buildId=4.26.0.20221201-1200
      java.version=17.0.5
      java.vendor=Eclipse Adoptium
      BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
      Framework arguments:  -product org.eclipse.epp.package.jee.product -product org.eclipse.epp.package.jee.product -product org.eclipse.epp.package.jee.product
      Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product -product org.eclipse.epp.package.jee.product -data file:/C:/Users/jboss-qa/eclipse-workspace-JBT4260Final/ -product org.eclipse.epp.package.jee.product
      
      org.jboss.tools.openshift.ui
      Error
      Fri Dec 16 08:21:01 CET 2022
      Process exited with an error: 1 (Exit value: 1) {
      	"message": "No valid devfile found for project in C:\\Users\\jboss-qa\\eclipse-workspace-JBT4260Final\\quarkus"
      }
      
      
      java.io.IOException: Process exited with an error: 1 (Exit value: 1) {
      	"message": "No valid devfile found for project in C:\\Users\\jboss-qa\\eclipse-workspace-JBT4260Final\\quarkus"
      }
      
      	at org.jboss.tools.openshift.internal.ui.odo.ExecHelper.execute(ExecHelper.java:89)
      	at org.jboss.tools.openshift.internal.ui.odo.ExecHelper.execute(ExecHelper.java:107)
      	at org.jboss.tools.openshift.internal.ui.odo.OdoCli.execute(OdoCli.java:295)
      	at org.jboss.tools.openshift.internal.ui.odo.OdoCli.analyze(OdoCli.java:396)
      	at org.jboss.tools.openshift.internal.ui.models.applicationexplorer.OdoProjectDecorator.analyze(OdoProjectDecorator.java:104)
      	at org.jboss.tools.openshift.internal.ui.wizard.applicationexplorer.CreateComponentModel.setEclipseProject(CreateComponentModel.java:96)
      	at org.jboss.tools.openshift.internal.ui.wizard.applicationexplorer.CreateComponentWizardPage.onBrowseProjects(CreateComponentWizardPage.java:216)
      	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:4256)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4054)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3642)
      	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:245)
      	at org.jboss.tools.openshift.internal.ui.handler.applicationexplorer.CreateComponentHandler.openDialog(CreateComponentHandler.java:100)
      	at org.jboss.tools.openshift.internal.ui.handler.applicationexplorer.CreateComponentHandler.execute(CreateComponentHandler.java:66)
      	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:283)
      	at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:97)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:317)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:251)
      	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:488)
      	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:485)
      	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:4256)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4054)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3642)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:643)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:550)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:171)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
      	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:77)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
      Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
      	at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)
      	at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)
      	at org.jboss.tools.openshift.internal.ui.odo.ExecHelper.execute(ExecHelper.java:85)
      	... 61 more
      
      
      

      Attachments

        Activity

          People

            stephane.bouchet Stephane Bouchet
            odockal@redhat.com Ondrej Dockal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: