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

Rastislav Wagner (JIRA) jira-events at lists.jboss.org
Tue Apr 23 04:01:54 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-13929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rastislav Wagner closed JBIDE-13929.
------------------------------------



verified in Keper M6 with JBoss Maven Integration 1.5.0.Alpha2-v20130419-1334-B34
                
> 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
>              Labels: respin-b
>             Fix For: 4.1.0.Alpha2
>
>         Attachments: jst_seam.png
>
>
> 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