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

Failed to new another plugin project when do not use default location

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.1.0
    • Component/s: Wizards, Wizards > Project
    • Labels:
      None
    • Environment:
      Liferay IDE 2.1.0.201403051715-m1 installed on eclipse-kepler-sr2

      Description

      • new sdk and server
      • new liferay plugin project wizard > enter project name > default build type is Ant, default plugin type is Portlet > unchecked 'Use default lcation'
      • enter valid Location (should be like 'D:/folder/ProjectName-portlet')
      • select another plugin type such as hook
      • will notice Location is still 'D:/folder/ProjectName-portlet'
      • Finish

      Error stacks:
      Error creating Liferay plugin project.
      java.lang.NullPointerException
      at com.liferay.ide.project.core.util.ProjectUtil.importProject(ProjectUtil.java:1121)
      at com.liferay.ide.project.core.PluginsSDKProjectProvider.doCreateNewProject(PluginsSDKProjectProvider.java:189)
      at com.liferay.ide.project.core.NewLiferayProjectProvider.createNewProject(NewLiferayProjectProvider.java:45)
      at com.liferay.ide.project.core.model.NewLiferayPluginProjectOpMethods.execute(NewLiferayPluginProjectOpMethods.java:103)
      at com.liferay.ide.project.core.model.NewLiferayPluginProjectOp$Impl.execute(Unknown Source)
      at org.eclipse.sapphire.ui.forms.swt.SapphireWizard.performFinish(SapphireWizard.java:361)
      at org.eclipse.sapphire.ui.forms.swt.SapphireWizard$3.run(SapphireWizard.java:325)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

        Attachments

          Activity

            People

            Assignee:
            kuo.zhang Kuo Zhang (Inactive)
            Reporter:
            yanan.yuan Yanan Yuan(Ashley Yuan)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              7 years, 7 weeks, 4 days ago

                Packages

                Version Package
                2.1.0