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

Unhandled event loop exception occurs in new jsf portlet on maven jsf project

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0 M1
    • 3.0 M1
    • Wizards, Wizards > JSF
    • None

    Description

      let's say the there is an plugins-sdk open now

      1. new liferay maven proejct & checked "Launch New Portlet Wizard after project is created"
      2. Next > choose JSF 2.x > ICEfaces > Finish
      3. Click "Next" in the popup "New Liferay JSF portlet" wizard > Next > back > Next

      if the error doesn't show up, then try to change to a different template like ICEfaces then do Next > Back a few times

      Error stacks:

      java.lang.NullPointerException
      at com.liferay.ide.portlet.core.operation.NewPortletClassDataModelProvider.findExistingCategory(NewPortletClassDataModelProvider.java:782)
      at com.liferay.ide.portlet.core.operation.NewPortletClassDataModelProvider.getCategories(NewPortletClassDataModelProvider.java:186)
      at com.liferay.ide.portlet.core.operation.NewPortletClassDataModelProvider.getValidPropertyDescriptors(NewPortletClassDataModelProvider.java:731)
      at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.getValidPropertyDescriptors(DataModelImpl.java:320)
      at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelSynchHelper.setWidgetValue(DataModelSynchHelper.java:313)
      at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelSynchHelper.doSynchUIWithModel(DataModelSynchHelper.java:237)
      at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelSynchHelper.synchUIWithModel(DataModelSynchHelper.java:210)
      at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelSynchHelper.synchComposite(DataModelSynchHelper.java:452)
      at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelSynchHelper.synchCombo(DataModelSynchHelper.java:489)
      at com.liferay.ide.portlet.ui.wizard.NewLiferayPortletWizardPage.createLiferayDisplayGroup(NewLiferayPortletWizardPage.java:96)
      at com.liferay.ide.portlet.ui.wizard.NewLiferayPortletWizardPage.createTopLevelComposite(NewLiferayPortletWizardPage.java:298)
      at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizardPage.createControl(DataModelWizardPage.java:100)

      Attachments

        Activity

          People

            terry.jia Terry Jia (Inactive)
            yanan.yuan Yanan Yuan(Ashley Yuan)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 11 weeks, 3 days ago

              Packages

                Version Package
                3.0 M1