The implementation of
DefaultHttpUtilities.decryptStateFromCookie(HttpServletRequest) throws a
NullPointerException.
If the request does not contain cookies with name "state" then the line:
- String encrypted = c.getValue();
will throw a NullPointerException as there is no value for c.
What version of the product are you using? On what operating system?
1.4, java 5
Please provide any additional information below.
A (temporary) workaround could be to do a check for cookies with name
"state" before calling the decryptStateFromCookie method. This would mean,
however, that the calling party should know how the cookies are stored in
the request. This is not desirable.
Original issue reported on code.google.com by thijs.vo...@gmail.com on 19 Nov 2008 at 10:57
Original issue reported on code.google.com by
thijs.vo...@gmail.com
on 19 Nov 2008 at 10:57