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

RuntimeException occurs when browse one runtime as the profile Id in maven project wizard

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.0
    • 2.1.1
    • Wizards, Wizards > Project
    • None
    • latest Liferay IDE 2.1.1.201405201710 installed on eclipse-kepler

    Description

      • setup a liferay server
      • new project wizard and select Maven as the 'Build Type'
      • 'Create New maven profile' > select 'Use settings at ${user.home}...' > OK
      • Browse for 'Active profiles' > delete the runtime profile id we've jsut created(or could add runtime profile id) > OK
        Will notice there will be a runtimeException in error log

      Error stack:
      RuntimeException: Profile.Id: ProfileIdPossibleValuesService.compute() has failed
      java.lang.RuntimeException: Profile.Id: ProfileIdPossibleValuesService.compute() has failed
      at org.eclipse.sapphire.services.DataService.refresh(DataService.java:130)
      at com.liferay.ide.project.core.model.internal.ProfileIdPossibleValuesService.access$1(ProfileIdPossibleValuesService.java:1)
      at com.liferay.ide.project.core.model.internal.ProfileIdPossibleValuesService$1.handleTypedEvent(ProfileIdPossibleValuesService.java:68)
      at com.liferay.ide.project.core.model.internal.ProfileIdPossibleValuesService$1.handleTypedEvent(ProfileIdPossibleValuesService.java:1)
      at org.eclipse.sapphire.FilteredListener.handle(FilteredListener.java:35)
      at org.eclipse.sapphire.EventDeliveryJob.run(EventDeliveryJob.java:52)
      at org.eclipse.sapphire.JobQueue.process(JobQueue.java:94)
      at org.eclipse.sapphire.ListenerContext.broadcast(ListenerContext.java:126)
      at org.eclipse.sapphire.ListenerContext.broadcast(ListenerContext.java:132)
      at org.eclipse.sapphire.Property.broadcast(Property.java:766)
      at org.eclipse.sapphire.Value.refreshContent(Value.java:143)
      at org.eclipse.sapphire.Value.refresh(Value.java:65)
      at org.eclipse.sapphire.Value.write(Value.java:412)
      at com.liferay.ide.project.core.model.NewLiferayPluginProjectOp$Impl.setActiveProfilesValue(Unknown Source)
      at com.liferay.ide.project.core.model.NewLiferayPluginProjectOpMethods.updateActiveProfilesValue(NewLiferayPluginProjectOpMethods.java:369)
      at com.liferay.ide.project.core.model.internal.ProfileIdListener.handleTypedEvent(ProfileIdListener.java:39)
      at com.liferay.ide.project.core.model.internal.ProfileIdListener.handleTypedEvent(ProfileIdListener.java:1)

      Attachments

        Activity

          People

            simon.jiang Simon Jiang
            yanan.yuan Yanan Yuan(Ashley Yuan)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 38 weeks, 2 days ago

              Packages

                Version Package
                2.1.1