-
Bug
-
Resolution: Unresolved
-
Neutral
-
None
-
5.4.8
-
None
Currently this test fails:
@Test public void gettingNonExistentParamaterShouldNotCauseNullPointerException() { assertThat(new MockWebContext().getParameter("doesNotExist")).isNull(); }
The cause seems to be that MockWebContext.java:94 calls getParameters(), which is null until explicitly set. The result of getParameters() should be checked for null before calling a method on it (or be guaranteed to not be null).
Acceptance criteria