>
> You are using "requestInject()" which also triggers the listener. I dont 
> know any lifecycle variable that I could check, so in cases like yours, I 
> manually check if injection has already taken place.

So use "if log != null" to avoid the NullPointer
Alternatively, adopt your Matcher, so that it excludes Log, then the 
listener wont get called. 

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-guice/-/uorT7w1Lkp8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en.

Reply via email to