struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <>
Subject Re: No container in actions after upgrading to 2.5.13
Date Mon, 11 Sep 2017 13:53:15 GMT
2017-09-11 15:51 GMT+02:00 LAW Andy <>:
> I recently upgraded the struts 2 library in an old web application from to 2.5.13.
Simultaneously I upgraded Spring (which we use for managing the database connections and some
other bits and bobs) from 4.3.7 to 4.3.10.
> Now, the application runs but the actions do not have a Container injected. This manifests
itself when I try to call getText() - there is no TextProvider so the library tries to get
one from a TextProviderFactory which comes from the Container which is null which means I
get an NPE and a blank returned value. Rolling back the dependencies to the previous versions
reverts to correct behaviour.

Can you post an example code of your action?

+ 48 606 323 122

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

View raw message