struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yasserzamani <>
Subject [GitHub] struts issue #153: WW-4827 Not fully initialized ObjectFactory tries to crea...
Date Mon, 07 Aug 2017 15:17:36 GMT
Github user yasserzamani commented on the issue:
    > Thanks a lot :) I see now what's going on but have no idea why :\
    @lukaszlenart , as I debug, the trace is `object factory creation` then `set1 (inject
it's 1st property)` then `set2 (inject it's 2nd property)` ... then ...  then `setK (inject
it's Knd property)` then `your PostInit.init()` which reaches this object factory with null
container ...  then `setN (inject it's Nnd property)`  finally `setContainer (inject it's
container property)`.
    As you see, if you would like to make it works, the `ObjectFactory` itself has to implement
`PostInit` and do followings in it's `init()`:

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message