Type Exception Report
Message Cannot invoke "String.replace(java.lang.CharSequence, java.lang.CharSequence)" because the return value of "javax.servlet.http.HttpServletRequest.getHeader(String)" is null
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
java.lang.NullPointerException: Cannot invoke "String.replace(java.lang.CharSequence, java.lang.CharSequence)" because the return value of "javax.servlet.http.HttpServletRequest.getHeader(String)" is null controller.LangServlet.doGet(LangServlet.java:25) javax.servlet.http.HttpServlet.service(HttpServlet.java:655) javax.servlet.http.HttpServlet.service(HttpServlet.java:764) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
Note The full stack trace of the root cause is available in the server logs.