Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.3.1
-
None
-
Unknown
Description
If a HTTP header is set but without a value, the current implementation causes a Nullpointer exception.
Line 79 needs to be changed fromĀ
if (headerValues != null) {
to:
if (headerValues != null || headerValues.isEmpty() || headerValues.get(0) != null) {
In my case the header was set but without any values causing headerValues.get(0) to return null. The following code invokes .toString() on this null value causing the Nullpoiniter.