[Bug 427554] [NEW] When nunit started in debug mode, show source gives exception
Adriaan van Kekem
adriaanvk at gmail.com
Thu Sep 10 21:13:37 UTC 2009
Public bug reported:
Binary package hint: monodevelop
start nunit test in debug mode
choose show source in the context menu of the unit test. Giving exception below:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at MonoDevelop.NUnit.NUnitProjectTestSuite.GetSourceCodeLocation (System.String fullClassName, System.String methodName) [0x00000] in /opt/monodevelop/monodevelop/main/src/addins/NUnit/Services/NUnitProjectTestSuite.cs:74
at MonoDevelop.NUnit.NUnitAssemblyTestSuite.GetSourceCodeLocation (MonoDevelop.NUnit.UnitTest test) [0x00012] in /opt/monodevelop/monodevelop/main/src/addins/NUnit/Services/NUnitAssemblyTestSuite.cs:86
at MonoDevelop.NUnit.NUnitTestCase.get_SourceCodeLocation () [0x00019] in /opt/monodevelop/monodevelop/main/src/addins/NUnit/Services/NUnitTestCase.cs:71
at MonoDevelop.NUnit.TestNodeCommandHandler.OnUpdateRunTest (MonoDevelop.Components.Commands.CommandInfo info) [0x00011] in /opt/monodevelop/monodevelop/main/src/addins/NUnit/Gui/TestNodeBuilder.cs:183
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000]
at MonoDevelop.Components.Commands.DefaultCommandHandler.CommandUpdate (System.Object target, MonoDevelop.Components.Commands.CommandInfo info) [0x00012] in /opt/monodevelop/monodevelop/main/src/core/MonoDevelop.Components/MonoDevelop.Components.Commands/CommandManager.cs:1225
at MonoDevelop.Components.Commands.CustomCommandUpdaterAttribute.CommandUpdate (System.Object target, MonoDevelop.Components.Commands.CommandInfo cinfo) [0x00000] in /opt/monodevelop/monodevelop/main/src/core/MonoDevelop.Components/MonoDevelop.Components.Commands/CustomCommandUpdaterAttribute.cs:70
at MonoDevelop.Ide.Gui.Components.MultiSelectionNodeHandlerAttribute.CommandUpdate (System.Object target, MonoDevelop.Components.Commands.CommandInfo cinfo) [0x00000] in /opt/monodevelop/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/NodeCommandHandler.cs:283
at MonoDevelop.Components.Commands.CustomCommandUpdaterAttribute.MonoDevelop.Components.Commands.ICommandUpdateHandler.CommandUpdate (System.Object target, MonoDevelop.Components.Commands.CommandInfo cinfo) [0x00000] in /opt/monodevelop/monodevelop/main/src/core/MonoDevelop.Components/MonoDevelop.Components.Commands/CustomCommandUpdaterAttribute.cs:42
at MonoDevelop.Components.Commands.CommandUpdaterInfo.Run (System.Object cmdTarget, MonoDevelop.Components.Commands.CommandInfo info) [0x00017] in /opt/monodevelop/monodevelop/main/src/core/MonoDevelop.Components/MonoDevelop.Components.Commands/CommandManager.cs:1192
at MonoDevelop.Components.Commands.CommandManager.GetCommandInfo (System.Object commandId, System.Object initialTarget) [0x000af] in /opt/monodevelop/monodevelop/main/src/core/MonoDevelop.Components/MonoDevelop.Components.Commands/CommandManager.cs:611
** Affects: monodevelop (Ubuntu)
Importance: Undecided
Status: New
--
When nunit started in debug mode, show source gives exception
https://bugs.launchpad.net/bugs/427554
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list