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

Fred Bricon (JIRA) jira-events at lists.jboss.org
Mon Apr 15 09:22:53 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-13929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767249#comment-12767249 ] 

Fred Bricon commented on JBIDE-13929:
-------------------------------------

- Install the JBoss Maven Integration feature on a clean Eclipse Java EE distro (nothing else)
- create a new Web Project
- Try to install the JBoss M2 Facet on that project
                
> 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
>             Fix For: 4.1.0.Alpha2
>
>
> 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