mooege/mooege — Issue #364: NullReference on QuestProgress
Author: loot
Created: 2011-11-23 23:23:09+00:00
State: open

This happened after speaking to the Captain outside of Town. I was unable to reproduce it with another Toon, so it might be a rare edge-case.

[Fatal] [Program]: Mooege terminating because of unhandled exception. - [Exception] System.NullReferenceException: Object reference not set to an instance of an object.
at Mooege.Core.GS.Objects.GameAttributeMap.BroadcastChangedIfRevealed() in C:\mooege\src\Mooege\Core\GS\Objects\GameAttributeMap.cs:line 133
at Mooege.Core.GS.Actors.InteractiveNPC.UpdateConversationList() in C:\mooege\src\Mooege\Core\GS\Actors\InteractiveNPC.cs:line 97
at Mooege.Core.GS.Actors.InteractiveNPC.quest_OnQuestProgress(Quest quest) in C:\mooege\src\Mooege\Core\GS\Actors\InteractiveNPC.cs:line 60
at Mooege.Core.GS.Games.Quest.QuestProgressDelegate.Invoke(Quest quest)
at Mooege.Core.GS.Games.Quest.StepCompleted(Int32 FollowUpStepID) in C:\mooege\src\Mooege\Core\GS\Games\Quest.cs:line 218
at Mooege.Core.GS.Games.Quest.QuestStep.UpdateCounter(QuestObjective objective) in C:\mooege\src\Mooege\Core\GS\Games\Quest.cs:line 133
at Mooege.Core.GS.Games.Quest.QuestStep.QuestObjective.Notify(QuestStepObjectiveType type, Int32 value) in C:\mooege\src\Mooege\Core\GS\Games\Quest.cs:line 84
at Mooege.Core.GS.Games.Quest.QuestStep.Notify(QuestStepObjectiveType type, Int32 value) in C:\mooege\src\Mooege\Core\GS\Games\Quest.cs:line 173
at Mooege.Core.GS.Games.Quest.Notify(QuestStepObjectiveType type, Int32 value) in C:\mooege\src\Mooege\Core\GS\Games\Quest.cs:line 224
at Mooege.Core.GS.Games.QuestManager.Notify(QuestStepObjectiveType type, Int32 value) in C:\mooege\src\Mooege\Core\GS\Games\QuestManager.cs:line 67
at Mooege.Core.GS.Players.ConversationManager.ConversationEnded(Object sender, EventArgs e) in C:\mooege\src\Mooege\Core\GS\Players\ConversationManager.cs:line 385
at Mooege.Core.GS.Players.Conversation.EndConversation() in C:\mooege\src\Mooege\Core\GS\Players\ConversationManager.cs:line 237
at Mooege.Core.GS.Players.Conversation.PlayNextLine(Boolean interrupt) in C:\mooege\src\Mooege\Core\GS\Players\ConversationManager.cs:line 217
at Mooege.Core.GS.Players.Conversation.Update(Int32 tickCounter) in C:\mooege\src\Mooege\Core\GS\Players\ConversationManager.cs:line 202
at Mooege.Core.GS.Players.ConversationManager.Update(Int32 tickCounter) in C:\mooege\src\Mooege\Core\GS\Players\ConversationManager.cs:line 411
at Mooege.Core.GS.Players.Player.Update(Int32 tickCounter) in C:\mooege\src\Mooege\Core\GS\Players\Player.cs:line 698
at Mooege.Core.GS.Map.World.Update(Int32 tickCounter) in C:\mooege\src\Mooege\Core\GS\Map\World.cs:line 143
at Mooege.Core.GS.Games.Game.Update() in C:\mooege\src\Mooege\Core\GS\Games\Game.cs:line 175
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()