mooege/mooege — Issue #184: Null pointer when inviting a player to your party
Author: dustinconrad
Created: 2011-10-14 07:29:02+00:00
State: open

Steps to reproduce:
1. Login with account1 (client1)
2. Login with account2 (client2)
3. Logout (NOT EXIT) with account1 (client1)
4. Logon with account3 (client1)
5. With account3 (client1) invite account2 to a party

[Debug] [MooNetRouter]: - [Exception] System.NullReferenceException: Object reference not set to an instance of an object.
at Mooege.Core.MooNet.Channels.ChannelInvitationManager.<>c__DisplayClass1.b__0(MooNetClient subscriber) in C:\Users\Dustin\mooege\src\Mooege\Core\MooNet\Channels\ChannelInvitationManager.cs:line 35
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at Mooege.Core.MooNet.Channels.ChannelInvitationManager.HandleInvitation(MooNetClient client, Invitation invitation) in C:\Users\Dustin\mooege\src\Mooege\Core\MooNet\Channels\ChannelInvitationManager.cs:line 35
at Mooege.Core.MooNet.Services.ChannelInvitationService.SendInvitation(IRpcController controller, SendInvitationRequest request, Action`1 done) in C:\Users\Dustin\mooege\src\Mooege\Core\MooNet\Services\ChannelInvitationService.cs:line 114
at bnet.protocol.channel_invitation.ChannelInvitationService.CallMethod(MethodDescriptor method, IRpcController controller, IMessage request, Action`1 done) in C:\Users\Dustin\mooege\src\LibMooNet\bnet\protocol\channel_invitation\ChannelInvitation.cs:line 3718
at Mooege.Net.MooNet.MooNetRouter.Identify(IConnection connection, CodedInputStream stream) in C:\Users\Dustin\mooege\src\Mooege\Net\MooNet\MooNetRouter.cs:line 66