<div dir="ltr">I've noted request log events like the following for resources fetched from the logout page:<div><br></div><div><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px">128.173.13.100 - - </span><span class="error" style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px">[15/Mar/2016:15:33:16 -0400]</span><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px"> "GET /profile/$request.servletContext.contextPath/scripts/bootstrap-3.3.5.min.js HTTP/1.1" 404 5457 "<a href="https://login.vt.edu/profile/Logout?execution=e2s1">https://login.vt.edu/profile/Logout?execution=e2s1</a>" "Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0"</span><br></div><div><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px"><br></span></div><div><font color="#333333" face="Arial, sans-serif"><span style="font-size:14px">Note the unrendered Velocity expression, which obviously produces 404s in the browser. At first I thought this was a case of somehow losing the request template variable, but it's not so. This is only happening on refreshing the page or otherwise getting a second execution of the flow (e2s1). I put some debugging statements in the view to determine whether the null is coming in, and it's puzzlingly at HttpServletRequest#getServletContext(). Following are two successive runs:</span></font></div><div><font color="#333333" face="Arial, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#333333" face="Arial, sans-serif"><span style="font-size:14px"><div><!-- request.toString() == Request(GET <a href="https://login-dev.middleware.vt.edu/profile/cas/logout?execution=e2s1)@77afaa19">https://login-dev.middleware.vt.edu/profile/cas/logout?execution=e2s1)@77afaa19</a> --></div><div><!-- request.servletContext.toString() == ServletContext@o.e.j.w.WebAppContext@4148db48{/,[file:///apps/tmp/jetty-0.0.0.0-8080-webapp-_-any-1412257876712204297.dir/webinf/, file:///apps/local/idp/webapp/],AVAILABLE}{/apps/local/idp/webapp} --></div><div><br></div><div><!-- request.toString() == Request(null null)@77afaa19 --></div><div><!-- request.servletContext.toString() == $request.servletContext.toString() --></div><div><br></div><div>Note the object is the Jetty Request object, which extends HttpServletRequest. Before I go banging on the Jetty list, anyone have any ideas how IdP code might be producing this situation? I certainly can't think of anything.</div><div><br></div><div>M</div><div><br></div></span></font></div></div>