Error 500: Location cannot be null in javax.servlet.http.HttpServletResponse.sendRedirect(location)