Unit Test failures do not show up and then there is a crash

Since upgrading from MonoDevelop to Xamarin Studio, I have been unable to see output from unit test failures.
The unit tests run but the Test Results window has no contents. The success and failure counts do display in the little status bar. Toggling "Inconclusive Tests" or any of the other filter buttons causes a crash. The exception output is at the bottom.

I am running Xamarin Studio 4.0.8 on Mac OS 10.8.3.
These bugs may be reproduced on other machines by downloading the project from https://github.com/absurdhero/tmotmo .

I made a video of what I described but this forum won't allow me to upload. I can send the quicktime video via email upon request.

P.S. Bugzilla has a note "This is Xamarin's bug tracking system. For product support, please use the support links listed in your Xamarin Account." but there are no support links on my account page.

Traceback:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Argument cannot be null.
Parameter name: namespaceName
at ICSharpCode.NRefactory.TypeSystem.TopLevelTypeName..ctor (System.String namespaceName, System.String name, Int32 typeParameterCount) [0x00037] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory/TypeSystem/TopLevelTypeName.cs:45
at ICSharpCode.NRefactory.TypeSystem.TypeSystemExtensions.GetTypeDefinition (IAssembly assembly, System.String namespaceName, System.String name, Int32 typeParameterCount) [0x00011] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory/TypeSystem/TypeSystemExtensions.cs:549
at MonoDevelop.NUnit.NUnitProjectTestSuite.GetSourceCodeLocation (System.String fixtureTypeNamespace, System.String fixtureTypeName, System.String methodName) [0x00014] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/addins/NUnit/Services/NUnitProjectTestSuite.cs:76
at MonoDevelop.NUnit.NUnitAssemblyTestSuite.GetSourceCodeLocation (MonoDevelop.NUnit.UnitTest test) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/addins/NUnit/Services/NUnitAssemblyTestSuite.cs:104
at MonoDevelop.NUnit.NUnitTestCase.get_SourceCodeLocation () [0x00019] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/addins/NUnit/Services/NUnitTestCase.cs:70
at MonoDevelop.NUnit.TestResultsPad.ShowTestResult (MonoDevelop.NUnit.UnitTest test, MonoDevelop.NUnit.UnitTestResult result) [0x00088] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/addins/NUnit/Gui/TestResultsPad.cs:594
at MonoDevelop.NUnit.TestResultsPad.RefreshList () [0x0006c] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/addins/NUnit/Gui/TestResultsPad.cs:576
at MonoDevelop.NUnit.TestResultsPad.OnShowInconclusiveToggled (System.Object sender, System.EventArgs args) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.8-branch/0a09117d/source/monodevelop/main/src/addins/NUnit/Gui/TestResultsPad.cs:552
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,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) [0x000d5] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Reflection/MonoMethod.cs:226
--- 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) [0x000eb] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Reflection/MonoMethod.cs:234
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System.Reflection/MethodBase.cs:96
at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000bf] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System/Delegate.cs:413
at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00018] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System/MulticastDelegate.cs:70
at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in /private/tmp/source/bockbuild/profiles/mono-2-10/build-root/mono-2.10.12/_build/mono-2.10.12.git/mcs/class/corlib/System/Delegate.cs:387
at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in :0
at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in :0
at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in :0

Posts

  • LluisSanchezLluisSanchez ESXamarin Team Xamurai

    Could you please file a bug report in bugzilla.xamarin.com? thanks!

Sign In or Register to comment.