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

Failed to publish maven project to the renamed remote 620 server

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: Servers, Servers > Remote
    • Labels:
      None
    • Environment:
      Liferay IDE 2.1.0.201403061724-m1
      portal 6.2.0-ce-ga1
      server-manager-web-6.2.0.1-ce-ga1-20131101161303488.war

      Description

      • make sure configurate remote 620 server
      • new liferay maven portlet project > create the related runtime profile > finish
      • double click on the remote server in Servers view
      • change 'Server name' to 'aaa'
      • deploy the maven project to the remote server
      • will notice there is an NullPointerException

      Error stack:
      Could not publish to the server.
      java.lang.NullPointerException
      at com.liferay.ide.maven.core.MavenProjectRemoteServerPublisher.publishModuleFull(MavenProjectRemoteServerPublisher.java:64)
      at com.liferay.ide.server.remote.RemoteServerBehavior.publishModuleFull(RemoteServerBehavior.java:648)
      at com.liferay.ide.server.remote.RemoteServerBehavior.publishModule(RemoteServerBehavior.java:531)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:1091)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:1183)

      The following aspect also need to investigate:

      redeploy doesn't work

      • modify view.jsp
      • redeploy
      • will notice there is no changes on the webpage

        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, 32 weeks ago

                Packages

                Version Package
                2.1.0