skyronic / TFAddin

The taskforce addin
http://ninjagod.com/taskforce
1 stars 0 forks source link

Null reference exception on TaskForce pad display #2

Open Tak opened 14 years ago

Tak commented 14 years ago

Steps to reproduce: Start with a clean MD trunk install. (Mine is r144454.) Clone and build TaskForce, restart MD. Open a solution. Goto View->Task Force.

Error while executing command: View List. System.NullReferenceException: Object reference not set to an instance of an object at MonoDevelop.TaskForce.Data.NodeData.TriggerUpdate () [0x00006] in /home/user/other/TFAddin.git/MonoDevelop.TaskForce/Data/NodeData.cs:170 at MonoDevelop.TaskForce.Data.NodeData.AddChild (MonoDevelop.TaskForce.Data.NodeData childData) [0x0003e] in /home/user/other/TFAddin.git/MonoDevelop.TaskForce/Data/NodeData.cs:121 at MonoDevelop.TaskForce.BugzillaProvider.BugzillaProviderMain.SeedDataForTesting (System.String seedString) [0x0003b] in /home/user/other/TFAddin.git/MonoDevelop.TaskForce.BugzillaProvider/BugzillaProviderMain.cs:117 at MonoDevelop.TaskForce.BugzillaProvider.BugzillaProviderMain.ConstructBasicProvider (MonoDevelop.TaskForce.Data.ProviderData _providerNode) [0x00032] in /home/user/other/TFAddin.git/MonoDevelop.TaskForce.BugzillaProvider/BugzillaProviderMain.cs:57 at MonoDevelop.TaskForce.Data.TFStore.CreateNewLocalProvider (MonoDevelop.Projects.Solution ActiveSolution) [0x00006] in /home/user/other/TFAddin.git/MonoDevelop.TaskForce/Data/TFStore.cs:84 at MonoDevelop.TaskForce.TaskForceMain.PopulateGui () [0x0013a] in /home/user/other/TFAddin.git/MonoDevelop.TaskForce/TaskForceMain.cs:255 at MonoDevelop.TaskForce.TaskForceMain.OnTaskPadLoaded () [0x00007] in /home/user/other/TFAddin.git/MonoDevelop.TaskForce/TaskForceMain.cs:275 at MonoDevelop.TaskForce.Gui.TaskPad.TaskSolutionPad.Initialize (MonoDevelop.Ide.Gui.Components.NodeBuilder[] builders, MonoDevelop.Ide.Gui.Components.TreePadOption[] options, System.String contextMenuPath) [0x00009] in /home/user/other/TFAddin.git/MonoDevelop.TaskForce/Gui/TaskPad/TaskSolutionPad.cs:55 at MonoDevelop.Ide.Codons.SolutionPadCodon.CreatePad () [0x00093] in /home/user/other/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Codons/SolutionPadCodon.cs:92 at MonoDevelop.Ide.Codons.PadCodon.get_PadContent () [0x0000b] in /home/user/other/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Codons/PadCodon.cs:72 at MonoDevelop.Ide.Gui.PadWindow.CreateContent () [0x0000b] in /home/user/other/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/IPadContainer.cs:157 at MonoDevelop.Ide.Gui.PadWindow.get_Content () [0x00000] in /home/user/other/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/IPadContainer.cs:94 at MonoDevelop.Ide.Gui.PadWindow.set_LastActivePadWindow (IPadWindow value) [0x00006] in /home/user/other/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/IPadContainer.cs:83 at MonoDevelop.Ide.Gui.Pad.BringToFront (Boolean grabFocus) [0x00000] in /home/user/other/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Pad.cs:95 at MonoDevelop.Ide.Commands.ViewListHandler.Run (System.Object dataItem) [0x00015] in /home/user/other/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ViewCommands.cs:117 at MonoDevelop.Components.Commands.ActionCommand.DispatchCommand (System.Object dataItem) [0x0002e] in /home/user/other/monodevelop/main/src/core/MonoDevelop.Components/MonoDevelop.Components.Commands/ActionCommand.cs:89 at MonoDevelop.Components.Commands.CommandManager.DispatchCommand (System.Object commandId, System.Object dataItem, System.Object initialTarget) [0x00285] in /home/user/other/monodevelop/main/src/core/MonoDevelop.Components/MonoDevelop.Components.Commands/CommandManager.cs:565

Tak commented 14 years ago

If I disable the Bugzilla task provider in the addin manager, I don't get the exception, but neither do I get a functional TF pad. Then, on restart, I don't even get the TaskForce menu item in the View menu.