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

NullPointerException occurs when new liferay runtime in create new maven profile dialog in new maven project wizard

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.1.0
    • Component/s: Wizards, Wizards > Project
    • Labels:
      None
    • Environment:
      Liferay IDE 2.1.0.201402181710-m1 installed on eclipse-kepler

      Description

      • setup sdk and server
      • new plugin project > choose Maven as the build type > enter project name
      • for 'Active profiles' click Create... button
      • click 'New liferay runtime' > next > Finish
      • will notice error about 'your new rumtime is not among possible values' error

      error stacks in error log:
      Unhandled event loop exception during blocked modal context.

      Caused by: java.lang.NullPointerException
      at org.eclipse.wst.server.ui.internal.wizard.TaskWizardPage.setMessage(TaskWizardPage.java:106)
      at org.eclipse.jst.server.tomcat.ui.internal.TomcatRuntimeComposite.validate(TomcatRuntimeComposite.java:389)
      at com.liferay.ide.server.tomcat.ui.wizard.LiferayTomcatRuntimeOptionalComposite.setRuntime(LiferayTomcatRuntimeOptionalComposite.java:503)
      at org.eclipse.jst.server.tomcat.ui.internal.TomcatRuntimeWizardFragment.enter(TomcatRuntimeWizardFragment.java:56)
      at org.eclipse.wst.server.ui.internal.wizard.TaskWizard$2$1.run(TaskWizard.java:177)
      at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:164)
      at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:158)
      at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      ... 68 more

        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, 6 weeks, 6 days ago

                Packages

                Version Package
                2.1.0