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

Error occurs when close properties window for maven project

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.1.0
    • Component/s: Projects, Projects > Maven
    • Labels:
      None
    • Environment:
      Liferay IDE 2.1.0.201402181710-m1 installed

      Description

      • setup server(using 6.2.0-ce-ga1 during testing)
      • new Maven plugin project
      • right click on the Maven project > Properties
      • click on Liferay > OK

      will notice the error stack in error log:

      java.lang.NullPointerException
      at com.liferay.ide.project.ui.LiferayProjectPropertyPage.performOk(LiferayProjectPropertyPage.java:188)
      at org.eclipse.jface.preference.PreferenceDialog$13.run(PreferenceDialog.java:965)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
      at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
      at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:945)
      at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:448)
      at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:233)
      at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:628)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)

        Attachments

          Activity

            People

            Assignee:
            simon.jiang Simon Jiang
            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, 33 weeks, 5 days ago

                Packages

                Version Package
                2.1.0