Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-4114

code upgrade call init bundle should be after gradle configuration work finished

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2 GA1
    • Fix Version/s: 3.2 GA1
    • Component/s: Upgrade Planner
    • Labels:
      None

      Description

      step:
      1.sdk:com.liferay.portal.plugins.sdk-1.0.19-withdependencies
      2.bundle url:https://releases-cdn.liferay.com/portal/7.1.0-rc1/liferay-ce-portal-wildfly-7.1-rc1-20180626164228923.zip
      3.import projects in code upgradle tools.

      Message:Failed to execute Liferay Workspace Bundle Init Command...

      org.eclipse.core.runtime.CoreException: Failed to execute Liferay Workspace Bundle Init Command...
      at com.liferay.ide.project.ui.upgrade.animated.InitConfigureProjectPage.importProject(InitConfigureProjectPage.java:526)
      at com.liferay.ide.project.ui.upgrade.animated.InitConfigureProjectPage$14.widgetSelected(InitConfigureProjectPage.java:815)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4258)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1502)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1525)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1510)
      at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1314)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4082)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3699)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
      at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
      at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
      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:653)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
      Caused by: java.lang.reflect.InvocationTargetException: Failed to execute Liferay Workspace Bundle Init Command...
      at com.liferay.ide.project.ui.upgrade.animated.InitConfigureProjectPage$9.run(InitConfigureProjectPage.java:518)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
      Caused by: org.eclipse.core.runtime.CoreException: Failed to execute Liferay Workspace Bundle Init Command...
      at com.liferay.ide.project.ui.upgrade.animated.InitConfigureProjectPage._createInitBundle(InitConfigureProjectPage.java:918)
      at com.liferay.ide.project.ui.upgrade.animated.InitConfigureProjectPage.access$27(InitConfigureProjectPage.java:863)
      at com.liferay.ide.project.ui.upgrade.animated.InitConfigureProjectPage$9.run(InitConfigureProjectPage.java:482)
      ... 1 more
      Caused by: org.eclipse.core.runtime.CoreException: Can't find Liferay Gradle project builder.
      at com.liferay.ide.project.ui.upgrade.animated.InitConfigureProjectPage._getWorkspaceProjectBuilder(InitConfigureProjectPage.java:1143)
      at com.liferay.ide.project.ui.upgrade.animated.InitConfigureProjectPage._createInitBundle(InitConfigureProjectPage.java:880)
      ... 3 more

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 34 weeks ago

                Packages

                Version Package
                3.2 GA1