avoid NPE from DummyHttpServletRequest
@bug W-2438109@
Merge branch 'lin/master-pending/avoid-npe-in-dummyHttpServletRequest'