@Inject (Guice) with non components (i.e. DataProvider) injectorHolder has not been assigned

2010-05-21 Thread Christoph Grün
If I use InjectorHolder.getInjector().inject(this); with Guice I am getting the error: Caused by: java.lang.IllegalStateException: InjectorHolder has not been assigned an injector. Use InjectorHolder.setInjector() to assign an injector. In most cases this should be done once inside SpringWebAp

Re: @Inject (Guice) with non components (i.e. DataProvider) injectorHolder has not been assigned

2010-05-21 Thread nino martinez wael
Theres a patch for it, search for the exception in the forum, I wrote about it earlier this month or was it last month.. 2010/5/21 Christoph Grün : > > > If I use InjectorHolder.getInjector().inject(this); > with Guice I am getting the error: > Caused by: java.lang.IllegalStateException: InjectorH

Re: @Inject (Guice) with non components (i.e. DataProvider) injectorHolder has not been assigned

2010-05-21 Thread Jeremy Thomerson
I think that this was fixed in 1.4.8 - what version are you on? -- Jeremy Thomerson http://www.wickettraining.com On Fri, May 21, 2010 at 8:30 AM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > Theres a patch for it, search for the exception in the forum, I wrote > about it earli