Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
Description
If one opens the admin central one get's sometimes the javascript message:
not defined importClass() ..
caused by
java.lang.NullPointerException
at info.magnolia.cms.beans.runtime.MgnlContext.getLocale(MgnlContext.java:97)
at info.magnolia.cms.i18n.MessagesManager.getMessages(MessagesManager.java:270)
at org.apache.jsp.admintemplates.js.admincentral_jsp._jspService(admincentral_jsp.java:262)
This happens because the jsp does not initialize the context. Should we create a filter which sets the context if a jsp is called directly?
Currently it works only because tomcat reuses the thread
Checklists
Acceptance criteria