After upgrading to RC5 I started getting the error below emailed to me. I've got an external web app that uses the rss feed to display the 3 most recent posts to a given forum. My app still works and when I click on the RSS link in the error message below, I still see the expected RSS comment, so it appears this exception is being handled gracefully. Looks like it might be looking for browser info when there isn't any to be had.
Date and Time: 7/29/2005 9:15:55 AM
Machine Name: EBIBDC
Process User: NT AUTHORITY\NETWORK SERVICE
Remote User:
Remote Address: 127.0.0.1
Remote Host: 127.0.0.1
URL: http://localhost/fyforum/RssFeed.aspx?ForumID=119&TopicID=0&FolderID=0&RssFeed=1
NET Runtime version: 1.1.4322.2032
Application Domain: /LM/w3svc/1/root/fyforum-2-127671344798345254
Assembly Codebase: c:/inetpub/wwwroot/fyforum/bin/InstantASP.Common.DLL
Assembly Full Name: InstantASP.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Assembly Version: 1.0.0.0
Assembly Build Date: 7/29/2005 8:14:42 AM
Exception Type: System.NullReferenceException
Exception Message: Object reference not set to an instance of an object.
Exception Source: InstantASP.Common
Exception Target Site: get_UserAgent
---- Stack Trace ----
InstantASP.Common.HttpUtility.Browser.get_UserAgent()
Browser.vb: line 0060, col 17, IL 0016
InstantASP.Common.HttpContext.Current.get_CurrentSearchEngineSpider()
Current.vb: line 0058, col 17, IL 0001
InstantASP.InstantForum.Business.WhosOn.InsertWhosOn(CurrentlyViewing As EnumTask, CurrentContext As Current)
WhosOn.vb: line 0264, col 13, IL 0023
InstantASP.InstantForum.UI.Skinning.Base.TrackSession(Task As EnumTask)
SkinBase.vb: line 0155, col 13, IL 0001
InstantASP.InstantForum.UI.Controls.RssFeed.Initialize(ctlSkin As Control)
RssFeed.vb: line 0085, col 13, IL 0153
InstantASP.InstantForum.UI.Skinning.Base.CreateChildControls()
SkinBase.vb: line 0109, col 13, IL 0008
System.Web.UI.Control.EnsureChildControls()
(unknown file): N 00100
System.Web.UI.Control.PreRenderRecursiveInternal()
(unknown file): N 00038
System.Web.UI.Control.PreRenderRecursiveInternal()
(unknown file): N 00125
System.Web.UI.Page.ProcessRequestMain()
(unknown file): N 01499
---- Collections ----
QueryString
ForumID 119
TopicID 0
FolderID 0
RssFeed 1
Cookies
ASP.NET_SessionId fnju3s45k01glo55tknzq225
ServerVariables
APPL_MD_PATH /LM/w3svc/1/root/fyforum
APPL_PHYSICAL_PATH c:\inetpub\wwwroot\fyforum\
CONTENT_LENGTH 0
GATEWAY_INTERFACE CGI/1.1
HTTPS off
INSTANCE_ID 1
INSTANCE_META_PATH /LM/W3SVC/1
LOCAL_ADDR 127.0.0.1
PATH_INFO /fyforum/RssFeed.aspx
PATH_TRANSLATED c:\inetpub\wwwroot\fyforum\RssFeed.aspx
QUERY_STRING ForumID=119&TopicID=0&FolderID=0&RssFeed=1
REMOTE_ADDR 127.0.0.1
REMOTE_HOST 127.0.0.1
REMOTE_PORT 4643
REQUEST_METHOD GET
SCRIPT_NAME /fyforum/RssFeed.aspx
SERVER_NAME localhost
SERVER_PORT 80
SERVER_PORT_SECURE 0
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE Microsoft-IIS/6.0
URL /fyforum/RssFeed.aspx
HTTP_HOST localhost