Error in WURFL.Matchers.NokiaMatcher.CanMatch

Marcus
Posts: 2
Joined: Wed Jan 18, 2012 11:42 am

Error in WURFL.Matchers.NokiaMatcher.CanMatch

Postby Marcus » Wed Jan 18, 2012 11:44 am

I am occasionally seeing the following error in my web site's error log:

System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at WURFL.Matchers.NokiaMatcher.CanMatch(WURFLRequest request)
at WURFL.Matchers.MatchersChain.Match(WURFLRequest wurflRequest)
at WURFL.DeviceRepository.GetDeviceByRequest(WURFLRequest request)
at WURFL.WURFLManager.GetDeviceForRequest(WURFLRequest wurflRequest)
at WURFL.WURFLManager.GetDeviceForRequest(HttpRequest httpRequest)

Any ideas?

kamermans
Posts: 393
Joined: Mon Jun 06, 2011 9:50 am

Re: Error in WURFL.Matchers.NokiaMatcher.CanMatch

Postby kamermans » Wed Jan 18, 2012 11:50 am

Do you have the User Agent from this request?

Do all the errors stem from the NokiaMatcher, as seen on line 2?
Thanks,

Steve Kamerman
ScientiaMobile

Make sure you check out our WURFL Cloud, WURFL InSight and WURFL InFuze products!

Marcus
Posts: 2
Joined: Wed Jan 18, 2012 11:42 am

Re: Error in WURFL.Matchers.NokiaMatcher.CanMatch

Postby Marcus » Wed Jan 18, 2012 12:01 pm

It is always the Nokia matcher.

I have taken a look at our IIS log to match up the entries there with our application log. Here are some of the requests:


2012-01-18 00:32:39 10.101.5.102 GET /courts/practicedirections/display.aspx url=http://www.copapedrodevaldivia.cl/webal ... utos/a.txt? 80 - 200.98.142.97 - 302 0 0

2012-01-18 06:48:24 10.101.5.102 GET /default.aspx - 80 - 62.105.97.101 - 302 0 0

2012-01-18 06:48:41 10.101.5.102 GET /ServerError.aspx aspxerrorpath=/default.aspx 80 - 62.105.97.101 - 500 0 0

2012-01-18 11:25:20 10.101.5.102 GET /Images/SearchNow_Clicked.png - 80 - 212.9.29.136 - 200 0 0

So in each case, there is no user agent in the request. Presumably these requests are being generated by a bot.

kamermans
Posts: 393
Joined: Mon Jun 06, 2011 9:50 am

Re: Error in WURFL.Matchers.NokiaMatcher.CanMatch

Postby kamermans » Wed Jan 18, 2012 1:05 pm

I see. We should be able to reproduce this and get it fixed ASAP. I have certainly seen traffic in the wild where there is no User-Agent field in the HTTP Request at all, and this might be what's causing the NullReferenceException.
Thanks,

Steve Kamerman
ScientiaMobile

Make sure you check out our WURFL Cloud, WURFL InSight and WURFL InFuze products!

oliviar
Posts: 1
Joined: Tue Jun 12, 2012 8:42 am

Re: Error in WURFL.Matchers.NokiaMatcher.CanMatch

Postby oliviar » Tue Jun 12, 2012 8:50 am

I am seeing these types of error messages too, mainly from the NokiaMatcher.

kamermans
Posts: 393
Joined: Mon Jun 06, 2011 9:50 am

Re: Error in WURFL.Matchers.NokiaMatcher.CanMatch

Postby kamermans » Tue Jun 12, 2012 9:15 am

Hi,

I'll have the .NET team look into the problem to see if it still exists. Meanwhile, can you tell me which version of the DLL you are using?
Thanks,

Steve Kamerman
ScientiaMobile

Make sure you check out our WURFL Cloud, WURFL InSight and WURFL InFuze products!


Who is online

Users browsing this forum: No registered users and 8 guests