[jbosstools-issues] [JBoss JIRA] (JBIDE-10586) Method CDICoreNature.getDelegate() returns null for dependent project just after restarting the JBDS

Jaroslav Jankovič (JIRA) jira-events at lists.jboss.org
Wed Feb 29 08:48:36 EST 2012


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

Jaroslav Jankovič closed JBIDE-10586.
-------------------------------------



There is expecting search result after restarting IDE. Verified in JBoss Tools 3.3.0.Beta1b-H93.
                
> Method CDICoreNature.getDelegate() returns null for dependent project just after restarting the JBDS 
> -----------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-10586
>                 URL: https://issues.jboss.org/browse/JBIDE-10586
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: CDI
>    Affects Versions: 3.3.0.Beta1
>            Reporter: Daniel Azarov
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.3.0.Beta1
>
>
> EXECUTE: Create two CDI projects: ProjectA and ProjectB. ProjectB depends on ProjectA.
> EXECUTE: Create a bean in ProjectA:
> {code}
> @Named("cdiBean")
> public class CDIBeanTest {
> }
> {code}
> EXECUTE: Create another bean in ProjectB:
> {code}
> public class TestBean {
>     @Inject @Named("cdiBean") Object foo;
> }
> {code}
> EXECUTE: Restart the JBDS
> EXECUTE: Select CDIBeanTest class name in CDIBeanTest.java and press Ctrl+Shift+G
> FAIL: There is no search results
> CDIBeanQueryParticipant called method cdiProject.getNature().getAllDependentProjects() for ProjectA and got CDICoreNature related with ProjectB but CDICoreNature.getDelegate() returned null

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jbosstools-issues mailing list