System.NullReferenceException : Object reference not set to an instance of an object
at System.Data.SqlClient.SqlParameter.set_Value (System.Object value) <0x763708cd20 + 0x0004c> in <7b546157567a403bad73e2a4238d041e>:0
at System.Data.SqlClient.SqlParameter..ctor (System.String parameterName, System.Data.SqlDbType dbType, System.Int32 size, System.Data.ParameterDirection direction, System.Byte precision, System.Byte scale, System.String sourceColumn, System.Data.DataRowVersion sourceVersion, System.Boolean sourceColumnNullMapping, System.Object value, System.String xmlSchemaCollectionDatabase, System.String xmlSchemaCollectionOwningSchema, System.String xmlSchemaCollectionName) <0x763708b7f4 + 0x00133> in <7b546157567a403bad73e2a4238d041e>:0
at (wrapper remoting-invoke-with-check) System.Data.SqlClient.SqlParameter..ctor(string,System.Data.SqlDbType,int,System.Data.ParameterDirection,byte,byte,string,System.Data.DataRowVersion,bool,object,string,string,string)
at MonoTests.System.Data.SqlClient.SqlParameterTest.Constructor7 () <0x7636c3b1a8 + 0x000b3> in <7a9a7aabf2b04126b651ba32a599a0a1>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) <0x7638ed4800 + 0x00093> in <0981d6c38e4b427ab133461cb4d9b459>:0
The
MonoTests.System.Data.SqlClient.SqlParameterTest.Constructor7test is throwing an NRE when running on recent devices when AOT and LLVM are enabled.Steps to Reproduce
Details
Link to .apk file - https://microsoft-my.sharepoint.com/:u:/p/pecolli/EYrN-tuwhJFJmkrnwj5vAgIBzEQFPGZkCUcmSkNMJUYMUg?e=LBt3gv
Link to obj output - https://microsoft-my.sharepoint.com/:u:/p/pecolli/EXGoMM2LZURMhg8mPY8IUyoBgDudDiDsjXrLA86zaPjHSQ?e=3YL4a8
Version Information
Windows 10 w/ VS 15.7
Xamarin.Android SDK 8.3.0.5 (HEAD/1a8ed5388)
Log File