2018-02-19 12:30 GMT+01:00  <michael.hinten...@silbergrau.com>:
> Hi,
>
> I will get a NPE:
>
> java.lang.NullPointerException
>         at
> org.apache.struts2.interceptor.I18nInterceptor$SessionLocaleHandler.read(I18nInterceptor.java:308)
>         at
> org.apache.struts2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:107)
>         at
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
>
> The ScopeInterceptor and CreateSessionInterceptor are not configured in my
> Interceptor-Stack.

Can you share more details because
"invocation.getInvocationContext().getSession()" will always return an
instance of SessionMap?

In my app I also do not use the mentioned interceptors and  everything
works as expected.


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to