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

[Ctrlflow bug] NullPointerException in PortalServerBehavior.getClassToLaunch

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.2 GA1
    • Component/s: Servers
    • Labels:

      Description

      joseph.spagnol@mc.gov.pl
      Joseph Spagnol

      Step to reproduce:

      1.create a workspace project and init bundle .

      2.delete workspace bundle directory.

      3.start portal will cause exception.

      Bundle: org.eclipse.core.jobs 3.9.2.v20171030-1027
      Message: An internal error occurred during: "Starting ISM-PORTAL at localhost".
      Exception:
      java.lang.NullPointerException: null
      at com.liferay.ide.server.core.portal.PortalServerBehavior.getClassToLaunch(PortalServerBehavior.java:170)
      at com.liferay.ide.server.core.portal.PortalServerLaunchConfigDelegate.launchServer(PortalServerLaunchConfigDelegate.java:81)
      at com.liferay.ide.server.core.portal.PortalServerLaunchConfigDelegate.launch(PortalServerLaunchConfigDelegate.java:54)
      at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
      at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
      at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:731)
      at org.eclipse.wst.server.core.internal.Server.startImpl2(Server.java:3566)
      at org.eclipse.wst.server.core.internal.Server.startImpl(Server.java:3502)
      at org.eclipse.wst.server.core.internal.Server$StartJob.run(Server.java:377)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

      Bundle: org.eclipse.core.jobs 3.8.0.v20160509-0411
      Message: An internal error occurred during: "Starting Liferay 7.x at local".
      Exception:
      java.lang.NullPointerException: null
          at com.liferay.ide.server.core.portal.PortalServerBehavior.getClassToLaunch(PortalServerBehavior.java:170)
          at com.liferay.ide.server.core.portal.PortalServerLaunchConfigDelegate.launchServer(PortalServerLaunchConfigDelegate.java:81)
          at com.liferay.ide.server.core.portal.PortalServerLaunchConfigDelegate.launch(PortalServerLaunchConfigDelegate.java:54)
          at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
          at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
          at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:731)
          at org.eclipse.wst.server.core.internal.Server.startImpl2(Server.java:3556)
          at org.eclipse.wst.server.core.internal.Server.startImpl(Server.java:3492)
          at org.eclipse.wst.server.core.internal.Server$StartJob.run(Server.java:367)
          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

      Bundle: org.eclipse.core.jobs 3.9.2.v20171030-1027
      Message: An internal error occurred during: "Starting project-liferay".
      Exception:
      java.lang.NullPointerException: null
      at com.liferay.ide.server.core.portal.PortalServerBehavior.getClassToLaunch(PortalServerBehavior.java:170)
      at com.liferay.ide.server.core.portal.PortalServerLaunchConfigDelegate.launchServer(PortalServerLaunchConfigDelegate.java:81)
      at com.liferay.ide.server.core.portal.PortalServerLaunchConfigDelegate.launch(PortalServerLaunchConfigDelegate.java:54)
      at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
      at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
      at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:731)
      at org.eclipse.wst.server.core.internal.Server.startImpl2(Server.java:3566)
      at org.eclipse.wst.server.core.internal.Server.startImpl(Server.java:3502)
      at org.eclipse.wst.server.core.internal.Server$StartJob.run(Server.java:377)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

      An internal error occurred during: "Starting Liferay 7.x at localhost (2)".
      Bundle: org.eclipse.core.jobs 3.8.0.v20160509-0411
      Message: An internal error occurred during: "Starting Liferay 7.x at localhost (2)".
      Exception:
      java.lang.NullPointerException: null
      at com.liferay.ide.server.core.portal.PortalServerBehavior.getClassToLaunch(PortalServerBehavior.java:170)
      at com.liferay.ide.server.core.portal.PortalServerLaunchConfigDelegate.launchServer(PortalServerLaunchConfigDelegate.java:81)
      at com.liferay.ide.server.core.portal.PortalServerLaunchConfigDelegate.launch(PortalServerLaunchConfigDelegate.java:54)
      at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
      at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
      at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:731)
      at org.eclipse.wst.server.core.internal.Server.startImpl2(Server.java:3556)
      at org.eclipse.wst.server.core.internal.Server.startImpl(Server.java:3492)
      at org.eclipse.wst.server.core.internal.Server$StartJob.run(Server.java:367)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

        Attachments

          Activity

            People

            • Assignee:
              charles.wu Charles Wu (Inactive)
              Reporter:
              yanan.yuan Yanan 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:
                1 year, 49 weeks, 5 days ago

                Packages

                Version Package
                3.2 GA1