Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10586

Method CDICoreNature.getDelegate() returns null for dependent project just after restarting the JBDS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.Beta1
    • 3.3.0.Beta1
    • cdi
    • None

      EXECUTE: Create two CDI projects: ProjectA and ProjectB. ProjectB depends on ProjectA.
      EXECUTE: Create a bean in ProjectA:

      @Named("cdiBean")
      public class CDIBeanTest {
      }
      

      EXECUTE: Create another bean in ProjectB:

      public class TestBean {
          @Inject @Named("cdiBean") Object foo;
      }
      

      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

              scabanovich Viacheslav Kabanovich (Inactive)
              dazarov_jira Daniel Azarov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: