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

[Ctrlflow bug] IllegalStateException in SDKUtil.getWorkspaceSDKProject

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.2 M1
    • Fix Version/s: None
    • Component/s: Projects > PluginsSDK
    • Labels:

      Description

      Bundle: com.liferay.ide.project.core 3.1.2.201709011126-ga3
      Message: delete project resource filter error
      Exception:
      java.lang.IllegalStateException: Workspace can't have more than one SDK project open
          at com.liferay.ide.sdk.core.SDKUtil.getWorkspaceSDKProject(SDKUtil.java:175)
          at com.liferay.ide.project.core.SDKProjectDeleteListener.resourceChanged(SDKProjectDeleteListener.java:44)
          at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:299)
          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
          at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:289)
          at org.eclipse.core.internal.events.NotificationManager.handleEvent(NotificationManager.java:265)
          at org.eclipse.core.internal.resources.Workspace.broadcastEvent(Workspace.java:369)
          at org.eclipse.core.internal.resources.Resource.broadcastPreDeleteEvent(Resource.java:1836)
          at org.eclipse.core.internal.resources.Resource.delete(Resource.java:745)
          at org.eclipse.core.internal.resources.Project.delete(Project.java:318)
          at org.eclipse.ltk.core.refactoring.resource.DeleteResourceChange.perform(DeleteResourceChange.java:155)
          at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:280)
          at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:280)
          at org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(PerformChangeOperation.java:257)
          at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
          at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
          at org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeChange(PerformChangeOperation.java:305)
          at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation.executeChange(UIPerformChangeOperation.java:96)
          at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:216)
          at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
          at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
          at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:86)
          at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 28 weeks, 3 days ago

                Packages

                Version Package