Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-13929

Cannot install m2 facet when jst.seam facet is missing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.1.0.Alpha2
    • 4.0.0.Final
    • maven

    Description

      An IllegalArgumentException is produced when loading MavenFacetInstallPage when the jst.seam facet is missing. One should be able to install the m2 facet regardless of whether or not seam tooling is installed.

      This is the line where the exception is thrown:
      public static final IProjectFacet SEAM_FACET = ProjectFacetsManager.getProjectFacet(SEAM_FACET_ID);

      This should be moved to a static init block to either catch the exception or check to see if the facet is defined first.

      Attachments

        Activity

          People

            fbricon@redhat.com Fred Bricon
            rcernich1 Rob Cernich
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: