Hello,
I've just submitted two patches in the patches section. It appears there are bugs in HttpServletRequestSimulator and HttpSessionSimulator that cause a NullPointerException to be thrown when setAttribute is called with a null second parameter. The expected behavior is that the attribute will be removed from the request/session. These patches cause the setAttribute to check for a null second parameter and remove the attribute if so.
Edward
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I've just submitted two patches in the patches section. It appears there are bugs in HttpServletRequestSimulator and HttpSessionSimulator that cause a NullPointerException to be thrown when setAttribute is called with a null second parameter. The expected behavior is that the attribute will be removed from the request/session. These patches cause the setAttribute to check for a null second parameter and remove the attribute if so.
Edward