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

Unhandled event loop exception when creating a new module project in maven workspace using 7.2.1-1

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.9 M2
    • Fix Version/s: 3.9 M2
    • Component/s: Wizards
    • Labels:
      None

      Description

      steps to reproduce:

      1. new maven 72 workspace > finish
      2. open pom.xml and change bom version to 7.2.1-1
      3. new module project wizard
      4. notice error in error log

      ava.lang.RuntimeException: NewLiferayModuleProjectOp.ProjectTemplateName: ProjectTemplateNameValidationService.compute() has failed

      Caused by: java.lang.IllegalArgumentException: Invalid syntax for version: 7.2.1-1Caused by: java.lang.IllegalArgumentException: Invalid syntax for version: 7.2.1-1 at aQute.bnd.version.Version.<init>(Version.java:59) at aQute.bnd.version.Version.valueOf(Version.java:196) at aQute.bnd.version.Version.parseVersion(Version.java:187) at com.liferay.ide.project.core.modules.ProjectTemplateNameValidationService.compute(ProjectTemplateNameValidationService.java:85) at com.liferay.ide.project.core.modules.ProjectTemplateNameValidationService.compute(ProjectTemplateNameValidationService.java:1)

      Failed to get liferay workspace project version.

      java.lang.IllegalArgumentException: invalid version "7.2.1-1": non-numeric "1-1

        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:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              35 weeks, 3 days ago

                Packages

                Version Package
                3.9 M2