HTTP Status 500 - type Exception report message description The server encountered an internal error that prevented it from fulfilling this request. exception java.lang.NullPointerException eu.trialto.web.LoginServlet.processRequest(LoginServlet.java:25) eu.trialto.web.LoginServlet.doGet(LoginServlet.java:45) javax.servlet.http.HttpServlet.service(HttpServlet.java:618) javax.servlet.http.HttpServlet.service(HttpServlet.java:725) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) note The full stack trace of the root cause is available in the Apache Tomcat/8.0.18 logs. Apache Tomcat/8.0.18