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

"layout templates" and "custom jsp" pages missing after code upgrade import projects

    Details

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

      Description

      step:
      1.open code upgrade tool
      2.set project location and set liferay version to 7.1
      3.select download bundle checkbox
      4.click import projects button
      (project : devcon-test-project-master-new.zip)

      actual result:
      "layout templates" and "custom jsp" pages missing

      error log
      1.Message:Failed while installing Liferay Hook 6.0.
      org.eclipse.wst.common.project.facet.core.FacetedProjectFrameworkException: Failed while installing Liferay Hook 6.0.
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1507)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:441)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1181)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1117)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$5.run(FacetedProject.java:1099)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1109)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:2020)
      at com.liferay.ide.project.core.util.ProjectUtil.createNewSDKProject(ProjectUtil.java:631)
      at com.liferay.ide.project.core.util.ProjectImportUtil.importProject(ProjectImportUtil.java:320)
      at com.liferay.ide.project.ui.upgrade.animated.InitConfigureProjectPage._importSDKProject(InitConfigureProjectPage.java:945)
      at com.liferay.ide.project.ui.upgrade.animated.InitConfigureProjectPage.importProject(InitConfigureProjectPage.java:472)
      at com.liferay.ide.project.ui.upgrade.animated.InitConfigureProjectPage$12$1.run(InitConfigureProjectPage.java:737)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
      Caused by: Java Model Exception: Core Exception [code 0] Invalid sdk properties setting.
      at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:786)
      at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3390)
      at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3352)
      at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3405)
      at com.liferay.ide.project.core.library.SDKClasspathContainerInstallOperation.execute(SDKClasspathContainerInstallOperation.java:78)
      at org.eclipse.jst.common.project.facet.core.libprov.LibraryInstallDelegate.execute(LibraryInstallDelegate.java:585)
      at com.liferay.ide.project.core.facet.PluginFacetInstall.installPluginLibraryDelegate(PluginFacetInstall.java:324)
      at com.liferay.ide.project.core.facet.PluginFacetInstall.execute(PluginFacetInstall.java:125)
      at com.liferay.ide.project.core.facet.HookPluginFacetInstall.execute(HookPluginFacetInstall.java:40)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1477)
      ... 14 more
      Caused by: org.eclipse.core.runtime.CoreException: Invalid sdk properties setting.
      at com.liferay.ide.project.core.SDKClasspathContainerInitializer.initialize(SDKClasspathContainerInitializer.java:62)
      at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:3112)
      at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:2061)
      at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:3548)
      at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2986)
      at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2909)
      at org.eclipse.jdt.internal.core.ClasspathEntry.validateClasspath(ClasspathEntry.java:1826)
      at org.eclipse.jdt.internal.core.SetClasspathOperation.verify(SetClasspathOperation.java:118)
      at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:784)
      ... 23 more

      2.Message:Failed while installing Liferay Layout Template 6.0.
      org.eclipse.wst.common.project.facet.core.FacetedProjectFrameworkException: Failed while installing Liferay Layout Template 6.0.
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1507)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:441)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1181)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1117)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$5.run(FacetedProject.java:1099)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1109)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:2020)
      at com.liferay.ide.project.core.util.ProjectUtil.createNewSDKProject(ProjectUtil.java:631)
      at com.liferay.ide.project.core.util.ProjectImportUtil.importProject(ProjectImportUtil.java:320)
      at com.liferay.ide.project.ui.upgrade.animated.InitConfigureProjectPage._importSDKProject(InitConfigureProjectPage.java:926)
      at com.liferay.ide.project.ui.upgrade.animated.InitConfigureProjectPage.importProject(InitConfigureProjectPage.java:472)
      at com.liferay.ide.project.ui.upgrade.animated.InitConfigureProjectPage$12$1.run(InitConfigureProjectPage.java:737)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
      Caused by: Java Model Exception: Core Exception [code 0] Invalid sdk properties setting.
      at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:786)
      at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3390)
      at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3352)
      at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3405)
      at com.liferay.ide.project.core.library.SDKClasspathContainerInstallOperation.execute(SDKClasspathContainerInstallOperation.java:78)
      at org.eclipse.jst.common.project.facet.core.libprov.LibraryInstallDelegate.execute(LibraryInstallDelegate.java:585)
      at com.liferay.ide.project.core.facet.PluginFacetInstall.installPluginLibraryDelegate(PluginFacetInstall.java:324)
      at com.liferay.ide.project.core.facet.PluginFacetInstall.execute(PluginFacetInstall.java:125)
      at com.liferay.ide.layouttpl.core.facet.LayoutTplPluginFacetInstall.execute(LayoutTplPluginFacetInstall.java:54)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1477)
      ... 14 more
      Caused by: org.eclipse.core.runtime.CoreException: Invalid sdk properties setting.
      at com.liferay.ide.project.core.SDKClasspathContainerInitializer.initialize(SDKClasspathContainerInitializer.java:62)
      at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:3112)
      at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:2061)
      at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:3548)
      at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2986)
      at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2909)
      at org.eclipse.jdt.internal.core.ClasspathEntry.validateClasspath(ClasspathEntry.java:1826)
      at org.eclipse.jdt.internal.core.SetClasspathOperation.verify(SetClasspathOperation.java:118)
      at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:784)
      ... 23 more

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 15 weeks, 6 days ago

                Packages

                Version Package
                3.3