orefalo/play-useragentcheck — pull request #6 by Metrex (2012-04-20 15:41:04+00:00)
Title: If no user-agent was given e.g. in a Play GET()-Test than an error occur...

Similar to Metrex:patch-1 if no user-agent is given the following error-message apprears:

Caused by: java.lang.NullPointerException
at play.modules.useragentcheck.UserAgentCheckPlugin.beforeActionInvocation(UserAgentCheckPlugin.java:62)
at play.plugins.PluginCollection.beforeActionInvocation(PluginCollection.java:594)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:134)
... 8 more