[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
Mon Apr 15 09:46:53 EDT 2013
[ https://issues.jboss.org/browse/JBIDE-13929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rastislav Wagner updated JBIDE-13929:
-------------------------------------
Attachment: jst_seam.png
Exact steps:
1. Create Dynamic Web Project
2. Activate M2 facet
3. Click Apply
-> Exception is thrown
> 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
>
> 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