Details

    • Type: Sub-Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.1.0
    • Component/s: Wizards, Wizards > Import
    • Labels:
      None
    • Environment:
      Liferay IDE 2.0.0.201309180209 installed on eclipse0-juno, portal-6.2.0-ce-b3, server-manager-web war plugin

      Description

      • lanuch eclipse and switch to liferay
      • setup server and sdk
      • click File > Import > Liferay Binary Plugin > Next
      • Browse the server-manage-web war plugin (not a valid liferay binary plugin)
      • select sdk and liferay target runtime
      • click Finish
        notice it will show up "Wizard Error: Import Project" dialog, should not import the invalid binary plugin.

      error stack:

      java.lang.NullPointerException
      at com.liferay.ide.project.core.util.ProjectImportUtil.createSDKPluginProject(ProjectImportUtil.java:177)
      at com.liferay.ide.project.core.BinaryProjectImportOperation.execute(BinaryProjectImportOperation.java:75)
      at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl$1.run(DataModelPausibleOperationImpl.java:385)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
      at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:410)
      at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:360)
      at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.doExecute(DataModelPausibleOperationImpl.java:247)
      at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.executeImpl(DataModelPausibleOperationImpl.java:219)
      at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.cacheThreadAndContinue(DataModelPausibleOperationImpl.java:89)
      at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.execute(DataModelPausibleOperationImpl.java:207)
      at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard$1CatchThrowableRunnableWithProgress.run(DataModelWizard.java:220)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

        Attachments

          Activity

            People

            Assignee:
            terry.jia Terry Jia (Inactive)
            Reporter:
            yanan.yuan Yanan Yuan(Ashley Yuan)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

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

                Packages

                Version Package
                2.1.0