You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Håkan Andersson <ha...@evertiq.com.INVALID> on 2023/05/17 12:00:27 UTC
this.valueStackFactory is null
Hi
I'm using Struts with Guice and in Struts 6.x.x I get
NullPointerException, but it works fine in earlier versions of Struts.
Is there anything I missed regarding the upgrade?
2023-05-17 12:26:56,680 ERROR [http-nio-8080-exec-30]
dispatcher.DefaultDispatcherErrorHandler
(DefaultDispatcherErrorHandler.java:87) - Exception occurred during
processing request: Cannot invoke
"com.opensymphony.xwork2.util.ValueStackFactory.createValueStack(com.opensymphony.xwork2.util.ValueStack)"
because "this.valueStackFactory" is null
java.lang.NullPointerException: Cannot invoke
"com.opensymphony.xwork2.util.ValueStackFactory.createValueStack(com.opensymphony.xwork2.util.ValueStack)"
because "this.valueStackFactory" is null
at
com.opensymphony.xwork2.interceptor.ParametersInterceptor.setParameters(ParametersInterceptor.java:197)
~[classes/:6.1.2]
at
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:136)
~[classes/:6.1.2]
--
Best Regards
*Håkan Andersson*
Re: this.valueStackFactory is null
Posted by Lukasz Lenart <lu...@apache.org>.
śr., 17 maj 2023 o 14:00 Håkan Andersson
<ha...@evertiq.com.invalid> napisał(a):
> I'm using Struts with Guice and in Struts 6.x.x I get
> NullPointerException, but it works fine in earlier versions of Struts.
> Is there anything I missed regarding the upgrade?
Do you use some plugin? If so the plugin must be adjusted to changed
architecture of Struts 2 (hence major version change from 2.5 to 6.x)
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org