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

[Ctrlflow bug] Could not detect the sdk version.

    Details

      Description

      Bundle: com.liferay.ide.sdk.core 3.1.2.201709011126-ga3
      Message: Could not detect the sdk version.
      Exception:
      java.lang.NullPointerException: null
          at com.liferay.ide.sdk.core.SDK.getVersion(SDK.java:932)
          at com.liferay.ide.sdk.core.SDK.saveToMemento(SDK.java:1096)
          at com.liferay.ide.sdk.core.SDKManager.saveSDKs(SDKManager.java:292)
          at com.liferay.ide.sdk.core.SDKManager.addSDK(SDKManager.java:94)
          at com.liferay.ide.sdk.core.SDKUtil.getSDK(SDKUtil.java:119)
          at com.liferay.ide.sdk.core.SDKUtil.isSDKProject(SDKUtil.java:210)
          at com.liferay.ide.project.core.PluginsSDKProjectProvider.provide(PluginsSDKProjectProvider.java:124)
          at com.liferay.ide.core.LiferayCore.create(LiferayCore.java:69)
          at com.liferay.ide.server.util.ServerUtil.getPortalDir(ServerUtil.java:728)
          at com.liferay.ide.server.util.ServerUtil.getPortalDir(ServerUtil.java:721)
          at com.liferay.ide.project.core.PluginClasspathContainerInitializer.initialize(PluginClasspathContainerInitializer.java:74)
          at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2939)
          at org.eclipse.jdt.internal.core.JavaModelManager$10.run(JavaModelManager.java:2845)
          at org.eclipse.jdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2883)
          at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1965)
          at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:3424)
          at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2693)
          at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2857)
          at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1962)
          at org.eclipse.jdt.internal.core.ExternalFoldersManager.refreshReferences(ExternalFoldersManager.java:393)
          at org.eclipse.jdt.internal.core.DeltaProcessor.resourceChanged(DeltaProcessor.java:1996)
          at org.eclipse.jdt.internal.core.DeltaProcessingState.resourceChanged(DeltaProcessingState.java:477)
          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:271)
          at org.eclipse.core.internal.resources.Workspace.broadcastEvent(Workspace.java:369)
          at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1593)
          at org.eclipse.core.internal.resources.Project.open(Project.java:1068)
          at com.liferay.ide.project.core.util.ProjectUtil.createExistingProject(ProjectUtil.java:740)
          at com.liferay.ide.project.core.util.ProjectImportUtil.importProject(ProjectImportUtil.java:361)
          at com.liferay.ide.project.core.model.SDKImportProjectsOpMethods$1.runInWorkspace(SDKImportProjectsOpMethods.java:73)
          at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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

                  Packages

                  Version Package
                  3.2 M1