Finally got my debug environment up. This is happening in UserOnlineController.vb line 125. In this case the code is checking if a member of the userList is null, but the userList itself is null (and never checked).
If (userList(objUserInfo.UserID.ToString()) Is Nothing) Then
The only solution for this that I see is a check for userList Is Nothing after its created, and if so, return. I'm quite sure how it would get in this state unless the DataCache expired?!?!?
System.NullReferenceException was unhandled by user code
Message="Object reference not set to an instance of an object."
Source="DotNetNuke"
StackTrace:
at DotNetNuke.Entities.Users.UserOnlineController.TrackAuthenticatedUser(HttpContext context) in C:\Downloads\DotNetNuke_4.0.2_Source\Library\Components\Users\UserOnlineController.vb:line 125
at DotNetNuke.Entities.Users.UserOnlineController.TrackUsers() in C:\Downloads\DotNetNuke_4.0.2_Source\Library\Components\Users\UserOnlineController.vb:line 81
at DotNetNuke.HttpModules.UsersOnlineModule.OnAuthorizeRequest(Object s, EventArgs e) in C:\Downloads\DotNetNuke_4.0.2_Source\Library\HttpModules\UsersOnline\UsersOnlineModule.vb:line 64
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)