Skip to content

Instantly share code, notes, and snippets.

[0x7f4caae3c700:] EXCEPTION handling: System.InvalidCastException: Cannot cast from source type to destination type.
"Threapool worker" tid=0x0x7f4caae3c700 this=0x0x7f4cabc4c000 thread handle 0x40f state : not waiting owns ()
at (wrapper managed-to-native) System.Array.SetValueImpl (System.Array,object,int) <IL 0x0001b, 0xffffffff>
at System.Array.SetValue (object,int) [0x00046] in /home/src/build/mono/mono/mcs/class/corlib/System/Array.cs:621
at System.Reflection.Binder/Default.AdjustArguments (System.Reflection.MethodBase,object[]&) [0x0006a] in /home/src/build/mono/mono/mcs/class/corlib/System.Reflection/Binder.cs:199
at System.Reflection.Binder/Default.BindToMethod (System.Reflection.BindingFlags,System.Reflection.MethodBase[],object[]&,System.Reflection.ParameterModifier[],System.Globalization.CultureInfo,string[],object&) [0x00083] in /home/src/build/mono/mono/mcs/class/corlib/System.Reflection/Binder.cs:175
at System.Activator.CreateInstance (System.Type,System.Reflection.BindingFlags,Syste
"Threapool worker" tid=0x0x7fc4ed204700 this=0x0x7fc4ee014000 thread handle 0x40f state : not waiting owns ()
at (wrapper managed-to-native) System.Array.SetValueImpl (System.Array,object,int) <IL 0x0001b, 0xffffffff>
at System.Array.SetValue (object,int) [0x00046] in /home/src/build/mono/mono/mcs/class/corlib/System/Array.cs:621
at System.Reflection.Binder/Default.AdjustArguments (System.Reflection.MethodBase,object[]&) [0x0006a] in /home/src/build/mono/mono/mcs/class/corlib/System.Reflection/Binder.cs:199
at System.Reflection.Binder/Default.BindToMethod (System.Reflection.BindingFlags,System.Reflection.MethodBase[],object[]&,System.Reflection.ParameterModifier[],System.Globalization.CultureInfo,string[],object&) [0x00083] in /home/src/build/mono/mono/mcs/class/corlib/System.Reflection/Binder.cs:175
at System.Activator.CreateInstance (System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[]) [0x00043] in /home/src/build/mono/mono/mcs/cla
System.InvalidCastException]: Cannot cast from source type to destination type.
at (wrapper managed-to-native) System.Array.SetValueImpl (System.Array,object,int) <IL 0x00015, 0x00061>
at System.Array.SetValue (object,int) [0x00046] in /home/src/build/mono/mono/mcs/class/corlib/System/Array.cs:621
at System.Reflection.Binder/Default.AdjustArguments (System.Reflection.MethodBase,object[]&) [0x0006a] in /home/src/build/mono/mono/mcs/class/corlib/System.Reflection/Binder.cs:199
at System.Reflection.Binder/Default.BindToMethod (System.Reflection.BindingFlags,System.Reflection.MethodBase[],object[]&,System.Reflection.ParameterModifier[],System.Globalization.CultureInfo,string[],object&) [0x00083] in /home/src/build/mono/mono/mcs/class/corlib/System.Reflection/Binder.cs:175
at System.Activator.CreateInstance (System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[]) [0x00043] in /home/src/build/mono/mono/mcs/class/corlib/System/Activator.cs:260
at System
[0x7f5ebed28700:] EXCEPTION handling: System.NullReferenceException: Object reference not set to an instance of an object
"Threapool worker" tid=0x0x7f5ebed28700 this=0x0x7f5ec40dc000 thread handle 0x40f state : not waiting owns ()
at Mono.CSharp.MetadataImporter.ImportType (System.Type,Mono.CSharp.MetadataImporter/DynamicTypeReader) <0x00017>
at Mono.CSharp.MetadataImporter.ImportType (System.Type) [0x00000] in /home/src/build/mono/mono/mcs/mcs/import.cs:1052
at Microsoft.CSharp.RuntimeBinder.DynamicContext.ImportType (System.Type) [0x00010] in /home/src/build/mono/mono/mcs/class/Microsoft.CSharp/Microsoft.CSharp.RuntimeBinder/CSharpBinder.cs:281
at Microsoft.CSharp.RuntimeBinder.CSharpBinder.Bind (Microsoft.CSharp.RuntimeBinder.DynamicContext,System.Type) [0x00000] in /home/src/build/mono/mono/mcs/class/Microsoft.CSharp/Microsoft.CSharp.RuntimeBinder/CSharpBinder.cs:72
at Microsoft.CSharp.RuntimeBinder.CSharpConvertBinder.FallbackConvert (System.Dynamic.DynamicMetaObject,System.Dynamic.DynamicMe