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

IllegalArgumentException occurs when delete sdk which opens in eclipse

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.1.1
    • Labels:
      None
    • Environment:
      Liferay IDE 2.1.0.201403111710-m1 installed on eclipse-kepler-sr2

      Description

      Steps to reproduce:

      • Window > Preferences > Liferay > Installed Plugin SDKs
      • Add > Browse valid sdk location > ok
      • select the sdk which just added > Open in Eclipse
      • Remove > OK

      Will notice the error stack in error log:

      java.lang.IllegalArgumentException: sdk array cannot be null or empty

      java.lang.IllegalArgumentException: sdk array cannot be null or empty
      at com.liferay.ide.sdk.core.SDKManager.setSDKs(SDKManager.java:316)
      at com.liferay.ide.sdk.ui.SDKsPreferencePage.performOk(SDKsPreferencePage.java:97)
      at org.eclipse.jface.preference.PreferenceDialog$13.run(PreferenceDialog.java:965)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 38 weeks, 1 day ago

                Packages

                Version Package
                2.1.1