G2 Struts 2 plugin exception

2009-06-19 Thread Greg Lindholm
I've started getting this exception from the Struts 2 plugin when I shutdown Tomcat from withing Eclipse. It's annoying as sometime it hangs up Eclipse in the "stopping Tomcat task" and I can't start any other tasks and have to restart Eclipse. Anyone have any ideas? Guice 2.0, Struts 2.1.6, Tom

Re: G2 Struts 2 plugin exception

2009-06-19 Thread Greg Lindholm
I did a little debugging and found that this is pretty repeatable. It occurs if Tomcat is started then Stopped without any Guice activity happening. The 'delegate' member of com.google.inject.struts2.GuiceObjectFactory.ProvidedInterceptor gets created by the inject() method. If inject() is never c

Re: G2 Struts 2 plugin exception

2009-06-19 Thread Greg Lindholm
Here is a patch which seems to work. Index: struts2/plugin/src/com/google/inject/struts2/ GuiceObjectFactory.java === --- struts2/plugin/src/com/google/inject/struts2/ GuiceObjectFactory.java (revision 1021) +++ struts2/plugin/src/co

Re: G2 Struts 2 plugin exception

2009-06-22 Thread jordi
Thanks for the pacth! i was having this problem but i didn't have the time to debug it On Fri, Jun 19, 2009 at 10:41 PM, Greg Lindholm wrote: > > Here is a patch which seems to work. > > Index: struts2/plugin/src/com/google/inject/struts2/ > GuiceObjectFactory.java >