Comment #11 on issue 278 by [email protected]: Xwork conversion causes
a null pointer exception
http://code.google.com/p/google-guice/issues/detail?id=278
Here's a little patch that solves the issue in my environment. I might be
missing something, but it works for me.
It seems like the Struts2Factory could be refactored so that it doesn't
rely on a particular order of method calls like it does now. If struts
calls buildInterceptor() before it calls buildBean() then this factory
fails. That seems like a very tight coupling to an undocumented and
internal struts behavior.
I might tackle a refactoring once my current project is over.
Attachments:
Struts2Factory.diff 575 bytes
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
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-dev?hl=en.