2018-02-19 12:30 GMT+01:00 <[email protected]>: > 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: [email protected] For additional commands, e-mail: [email protected]
