Details
Description
When the value of request header "User-Agent" is null, the class UserAgent tries to match UserAgent.INTERNET_EXPLORER against null, which results in a NullPointerException (UserAgent.java:90 and UserAgent.java:102).
The function matches(String) of class UserAgent should check for null values.