[forge-issues] [JBoss JIRA] (FORGE-929) Validate when a facet is injecting a Project

George Gastaldi (JIRA) jira-events at lists.jboss.org
Fri May 31 10:39:54 EDT 2013


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

George Gastaldi reassigned FORGE-929:
-------------------------------------

    Assignee: George Gastaldi

    
> Validate when a facet is injecting a Project 
> ---------------------------------------------
>
>                 Key: FORGE-929
>                 URL: https://issues.jboss.org/browse/FORGE-929
>             Project: Forge
>          Issue Type: Enhancement
>          Components: Container
>    Affects Versions: 1.3.0.Final
>            Reporter: George Gastaldi
>            Assignee: George Gastaldi
>
> Facets can't @Inject Project, otherwise the following exception is thrown, which is not clear in a first moment:
> {code:java}
> Exception encountered: WELD-001303 No active contexts for scope type org.jboss.forge.shell.project.ProjectScoped (type "set VERBOSE true" to enable stack traces)
> {code}
> [~lincolnthree] suggested that it might be worth adding a check for this in a validation step of the Forge 1 weld extension

--
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 forge-issues mailing list