[jbosstools-issues] [JBoss JIRA] (JBIDE-13929) Cannot install m2 facet when jst.seam facet is missing

Rob Cernich (JIRA) jira-events at lists.jboss.org
Thu Apr 4 18:49:41 EDT 2013


Rob Cernich created JBIDE-13929:
-----------------------------------

             Summary: Cannot install m2 facet when jst.seam facet is missing
                 Key: JBIDE-13929
                 URL: https://issues.jboss.org/browse/JBIDE-13929
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: maven
    Affects Versions: 4.0.0.Final
            Reporter: Rob Cernich
            Assignee: Fred Bricon


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list