9 Replies Latest reply on Jul 22, 2013 8:52 AM by Alberto Souza

    BeanManager method getBeans() is not available during application initialization

    Alberto Souza Newbie

      Hi, we are using CDI as the base for our framework here. In our test, we have to use the weld-se to init the container programatically... When i run just one test, everything works fine, but when i run all tests i get this exception. I enabled the debug mode to check if some error is happening but i could not detect anything... I also looked at source code and there is a "if" that checks the container's state... Any tip about this subject?

       

       

      Thanks!!!