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

get portal runtime version error when creating 62 maven portlet when there are invalid runtime

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1 M2
    • Fix Version/s: 3.1 M3
    • Component/s: Projects > Maven
    • Labels:
      None

      Description

      when there is an invalid liferay runtime(location is invalid) and try to create a 62 maven portlet and click new maven profile , it will show error.

      stacktrace:
      java.lang.NullPointerException
      at com.liferay.ide.server.core.portal.PortalRuntime.getPortalVersion(PortalRuntime.java:127)
      at com.liferay.ide.project.core.model.internal.LiferayVersionDefaultValueService$3.run(LiferayVersionDefaultValueService.java:110)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

        Attachments

        1. creation.png
          creation.png
          122 kB
        2. runtime.png
          runtime.png
          82 kB

          Activity

            People

            Assignee:
            andy.wu Andy Wu (Inactive)
            Reporter:
            andy.wu Andy Wu (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 47 weeks, 1 day ago

                Packages

                Version Package
                3.1 M3