Xamarin工作室 - 突然停止工作

时间:2013-12-02 10:11:35

标签: ios xamarin

今天我重新启动了我的mac,突然Xamarin不再工作了。我试图运行一个简单的项目只有一个Console.WriteLine(“测试”),当我试图在模拟器上运行它(附带调试器)我没有收到任何错误,但应用程序不是开始(它只显示黑屏,就像他在等待什么)。如果我试图在没有附加调试器的情况下运行它,我在控制台中收到此错误:

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at MonoTouch.ObjCRuntime.Class.RegisterMap (Int32 size, MTClassMap* map) [0x00051] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/Class.cs:44 at MonoTouch.ObjCRuntime.Class.Initialize (MonoTouch.ObjCRuntime.InitializationOptions& options) [0x00012] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/Class.cs:31 at MonoTouch.ObjCRuntime.Runtime.Initialize (MonoTouch.ObjCRuntime.InitializationOptions& options) [0x00053] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/Runtime.cs:102 2013-12-01 18:31:37.884 MetroMap[981:80b] Unhandled managed exception: Object reference not set to an instance of an object (System.NullReferenceException) at MonoTouch.ObjCRuntime.Class.RegisterMap (Int32 size, MTClassMap* map) [0x00051] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/Class.cs:44 at MonoTouch.ObjCRuntime.Class.Initialize (MonoTouch.ObjCRuntime.InitializationOptions& options) [0x00012] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/Class.cs:31 at MonoTouch.ObjCRuntime.Runtime.Initialize (MonoTouch.ObjCRuntime.InitializationOptions& options) [0x00053] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/Runtime.cs:102 mono-rt: Stacktrace:

mono-rt: Native stacktrace:

mono-rt: 0 MetroMap 0x000b4d5d mono_handle_native_sigsegv + 349

mono-rt: 1 MetroMap 0x000bfd2a sigabrt_signal_handler + 122

mono-rt: 2 libsystem_platform.dylib 0x05408deb _sigtramp + 43

mono-rt: 3 ??? 0xffffffff 0x0 + 4294967295

mono-rt: 4 libsystem_sim_c.dylib 0x05125e12 abort + 127

mono-rt: 5 MetroMap 0x00232023 monotouch_unhandled_exception_handler + 291

mono-rt: 6 MetroMap 0x000b558b mono_invoke_unhandled_exception_hook + 91

mono-rt: 7 MetroMap 0x000b45a9 mono_handle_exception_internal + 3817

mono-rt: 8 MetroMap 0x000b36b9 mono_handle_exception + 41

mono-rt: 9 MetroMap 0x0005a084 altstack_handle_and_restore + 148

mono-rt: 10 ??? 0x0f7da7e4 0x0 + 259893220

mono-rt: 11 ??? 0x0f7da744 0x0 + 259893060

mono-rt: 12 ??? 0x0f7d89e0 0x0 + 259885536

mono-rt: 13 ??? 0x0f7d8acf 0x0 + 259885775

mono-rt: 14 MetroMap 0x000e4686 mono_jit_runtime_invoke + 790

mono-rt: 15 MetroMap 0x0017ea9f mono_runtime_invoke + 127

mono-rt: 16 MetroMap 0x00222d80 monotouch_init + 1312

mono-rt: 17 MetroMap 0x0021bc22 main + 1970

mono-rt: 18 MetroMap 0x000032d5 start + 53

mono-rt:
Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries

used by your application.

此外,它无法在设备上运行。

我试图清除Xamarin缓存(users / myuser / library / xamarin和xamarin studio)。我也试图清除模拟器。

如果我想在xCode中创建一个示例项目,一切正常,所以问题肯定在Xamarin中。我试图在稳定/ beta / alpha中切换频道,我也有同样的问题......

有什么想法吗?

1 个答案:

答案 0 :(得分:0)

这里有同样的问题。 同样的项目在我的笔记本电脑上工作,但不在我的台式电脑上。 尝试重新安装Xamarin