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

When creating custom portlet class in the new portlet project wizard, ResourceException happens in the page with entry category

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0 M1
    • Wizards
    • None

    Description

      New liferay portlet project > checked 'Create custom portlet class' > Next > Next > Next

      org.eclipse.core.internal.resources.ResourceException: Resource '/ae' does not exist.
      at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:341)
      at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:215)
      at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:147)
      at org.eclipse.core.internal.resources.Project.hasNature(Project.java:584)
      at com.liferay.ide.maven.core.MavenUtil.isMavenProject(MavenUtil.java:243)
      at com.liferay.ide.maven.core.LiferayMavenProjectProvider.provide(LiferayMavenProjectProvider.java:44)
      at com.liferay.ide.core.LiferayCore.create(LiferayCore.java:56)
      at com.liferay.ide.portlet.core.operation.NewPortletClassDataModelProvider.getEntryCategories(NewPortletClassDataModelProvider.java:381)
      at com.liferay.ide.portlet.core.operation.NewPortletClassDataModelProvider.getValidPropertyDescriptors(NewPortletClassDataModelProvider.java:645)
      at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.getValidPropertyDescriptors(DataModelImpl.java:320)
      at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelSynchHelper.setWidgetValue(DataModelSynchHelper.java:313)
      at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelSynchHelper.doSynchUIWithModel(DataModelSynchHelper.java:237)
      at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelSynchHelper.synchUIWithModel(DataModelSynchHelper.java:210)
      at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelSynchHelper.synchComposite(DataModelSynchHelper.java:452)
      at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelSynchHelper.synchCombo(DataModelSynchHelper.java:489)
      at com.liferay.ide.portlet.ui.wizard.NewLiferayPortletWizardPage.createLiferayDisplayGroup(NewLiferayPortletWizardPage.java:108)
      at com.liferay.ide.portlet.ui.wizard.NewLiferayPortletWizardPage.createTopLevelComposite(NewLiferayPortletWizardPage.java:299)
      at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizardPage.createControl(DataModelWizardPage.java:100)

      Attachments

        Activity

          People

            cindy.li Cindy Li (Inactive)
            cindy.li Cindy Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 19 weeks, 6 days ago

              Packages

                Version Package
                2.0.0 M1