Migrate to new sync error codes #1602
Results Code Coverage ❌
❌ TestResults.Linux.xml
5710 tests were completed in 915s with 5631 passed, 65 failed and 14 skipped.
❌ Realm.Tests.dll.Realms.Tests.Sync.AsymmetricObjectTests.
Realms.Tests.Sync.AsymmetricObjectTests
❌ AccessAsymmetricObjAfterAddedToRealm_Throws
System.ArgumentException : The class BasicAsymmetricObject is not in the limited set of classes for this realm (Parameter 'objectType')
✔️ AddAsymmetricObjNotInSchema_Throws
✔️ AddCollection_WithSomeObjectsAlreadyAdded_Throws
❌ AddCollectionOfAsymmetricObjs
Expected: No Exception to be thrown
But was: <System.ArgumentException: The class BasicAsymmetricObject is not in the limited set of classes for this realm (Parameter 'objectType')
at Realms.Helpers.Argument.Ensure(Boolean condition, String message, String paramName)
at Realms.Realm.AddInternal[T](T obj, Type objectType, Boolean update)
at Realms.Realm.Add[T](IEnumerable`1 objs) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 663
at Realms.Tests.Sync.AsymmetricObjectTests.<>c__DisplayClass3_0.<AddCollectionOfAsymmetricObjs>b__3() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 121
at Realms.Realm.<>c__DisplayClass67_0.<Write>b__0()
at Realms.Realm.Write[T](Func`1 function) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 825
at Realms.Realm.Write(Action action)
at Realms.Tests.Sync.AsymmetricObjectTests.<>c__DisplayClass3_0.<AddCollectionOfAsymmetricObjs>b__1() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 119
at InvokeStub_TestDelegate.Invoke(Object, Object, IntPtr*)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
--- End of stack trace from previous location ---
at NUnit.Framework.Internal.ExceptionHelper.Rethrow(Exception exception)
at NUnit.Framework.Internal.Reflect.DynamicInvokeWithTransparentExceptions(Delegate delegate)
at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
❌ AddHugeAsymmetricObj
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ AddSameAsymmetricObjTwice_Throws
System.ArgumentException : The class BasicAsymmetricObject is not in the limited set of classes for this realm (Parameter 'objectType')
✔️ AsymmetricObjectInLocalRealm_Throws
✔️ AsymmetricObjectInPbs_Throws
❌ EmbeddedObject_WhenParentAccessed_ReturnsParent
System.ArgumentException : The class AsymmetricObjectWithEmbeddedRecursiveObject is not in the limited set of classes for this realm (Parameter 'objectType')
❌ EmbeddedObject_WhenParentAccessedInDictionary_ReturnsParent
System.ArgumentException : The class AsymmetricObjectWithEmbeddedDictionaryObject is not in the limited set of classes for this realm (Parameter 'objectType')
❌ EmbeddedObject_WhenParentAccessedInList_ReturnsParent
System.ArgumentException : The class AsymmetricObjectWithEmbeddedListObject is not in the limited set of classes for this realm (Parameter 'objectType')
✔️ EmbeddedObjectUnmanaged_WhenParentAccessed_ReturnsNull
❌ MixAddingObjectAsymmetricAndNot
System.AggregateException : Exception occurred in a Realm.PopulateInitialSubscriptions callback. See inner exception for more details. (The class PrimaryKeyInt32Object is not in the limited set of classes for this realm (Parameter 'T'))
----> System.ArgumentException : The class PrimaryKeyInt32Object is not in the limited set of classes for this realm (Parameter 'T')
❌ NonEmbeddedObject_WhenParentAccessed_Throws
System.ArgumentException : The class BasicAsymmetricObject is not in the limited set of classes for this realm (Parameter 'objectType')
❌ RealmValueDictionaryWithAsymmetricObject_WhenAddedToRealm_Throws
System.AggregateException : Exception occurred in a Realm.PopulateInitialSubscriptions callback. See inner exception for more details. (The class RealmValueObject is not in the limited set of classes for this realm (Parameter 'T'))
----> System.ArgumentException : The class RealmValueObject is not in the limited set of classes for this realm (Parameter 'T')
❌ RealmValueDictionaryWithAsymmetricObject_WhenModifiedInRealm_Throws
System.AggregateException : Exception occurred in a Realm.PopulateInitialSubscriptions callback. See inner exception for more details. (The class RealmValueObject is not in the limited set of classes for this realm (Parameter 'T'))
----> System.ArgumentException : The class RealmValueObject is not in the limited set of classes for this realm (Parameter 'T')
❌ RealmValueListWithAsymmetricObject_WhenAddedToRealm_Throws
System.AggregateException : Exception occurred in a Realm.PopulateInitialSubscriptions callback. See inner exception for more details. (The class RealmValueObject is not in the limited set of classes for this realm (Parameter 'T'))
----> System.ArgumentException : The class RealmValueObject is not in the limited set of classes for this realm (Parameter 'T')
❌ RealmValueListWithAsymmetricObject_WhenModifiedInRealm_Throws
System.AggregateException : Exception occurred in a Realm.PopulateInitialSubscriptions callback. See inner exception for more details. (The class RealmValueObject is not in the limited set of classes for this realm (Parameter 'T'))
----> System.ArgumentException : The class RealmValueObject is not in the limited set of classes for this realm (Parameter 'T')
❌ RealmValuePropertyWithAsymmetricObject_WhenAddedToRealm_Throws
System.AggregateException : Exception occurred in a Realm.PopulateInitialSubscriptions callback. See inner exception for more details. (The class RealmValueObject is not in the limited set of classes for this realm (Parameter 'T'))
----> System.ArgumentException : The class RealmValueObject is not in the limited set of classes for this realm (Parameter 'T')
❌ RealmValuePropertyWithAsymmetricObject_WhenModifiedInRealm_Throws
System.AggregateException : Exception occurred in a Realm.PopulateInitialSubscriptions callback. See inner exception for more details. (The class RealmValueObject is not in the limited set of classes for this realm (Parameter 'T'))
----> System.ArgumentException : The class RealmValueObject is not in the limited set of classes for this realm (Parameter 'T')
❌ RealmValueSetWithAsymmetricObject_WhenAddedToRealm_Throws
System.AggregateException : Exception occurred in a Realm.PopulateInitialSubscriptions callback. See inner exception for more details. (The class RealmValueObject is not in the limited set of classes for this realm (Parameter 'T'))
----> System.ArgumentException : The class RealmValueObject is not in the limited set of classes for this realm (Parameter 'T')
❌ RealmValueSetWithAsymmetricObject_WhenModifiedInRealm_Throws
System.AggregateException : Exception occurred in a Realm.PopulateInitialSubscriptions callback. See inner exception for more details. (The class RealmValueObject is not in the limited set of classes for this realm (Parameter 'T'))
----> System.ArgumentException : The class RealmValueObject is not in the limited set of classes for this realm (Parameter 'T')
❌ Realm.Tests.dll.Realms.Tests.Sync.AsymmetricObjectTests.DynamicAccess.
Realms.Tests.Sync.AsymmetricObjectTests
❌ DynamicAccess(True)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'className')
❌ DynamicAccess(False)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'className')
❌ Realm.Tests.dll.Realms.Tests.Sync.AsymmetricObjectTests.SetAndRemotelyReadValue.
Realms.Tests.Sync.AsymmetricObjectTests
❌ SetAndRemotelyReadValue("CharProperty",'0')
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("ByteProperty",100)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("Int16Property",100)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("Int32Property",100)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("Int64Property",100L)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("SingleProperty",123.123f)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("DoubleProperty",123.123d)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("BooleanProperty",True)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("ByteArrayProperty",[222, 173, 190, 239])
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("ByteArrayProperty",[])
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("StringProperty","hello")
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("DecimalProperty",123.456m)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("DecimalProperty",decimal.MinValue)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("DecimalProperty",decimal.MaxValue)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("DecimalProperty",1m)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("DecimalProperty",-1m)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("DecimalProperty",0m)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("Decimal128Property",564.42343424322996)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("Decimal128Property",-79228162514264337593543950335)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("Decimal128Property",79228162514264337593543950335)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("Decimal128Property",-9.999999999999999999999999999999999E+6144)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("Decimal128Property",9.999999999999999999999999999999999E+6144)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("Decimal128Property",0)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("ObjectIdProperty",000000000000000000000000)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("ObjectIdProperty",5f63e882536de46d71877979)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("GuidProperty",00000000-0000-0000-0000-000000000000)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("GuidProperty",c4ec8cef-d62a-405e-83bb-b0a3d8dabb36)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("NullableCharProperty",'0')
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("NullableByteProperty",100)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("NullableInt16Property",100)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("NullableInt32Property",100)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("NullableInt64Property",100L)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("NullableSingleProperty",123.123f)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("NullableDoubleProperty",123.123d)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("NullableBooleanProperty",True)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("NullableDecimalProperty",123.456m)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("NullableDecimal128Property",123.456)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("ByteArrayProperty",[222, 173, 190, 239])
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("ByteArrayProperty",[])
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("StringProperty","hello")
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("StringProperty","")
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("NullableObjectIdProperty",5f63e882536de46d71877979)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ SetAndRemotelyReadValue("NullableGuidProperty",c4ec8cef-d62a-405e-83bb-b0a3d8dabb36)
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
❌ Realm.Tests.dll.Realms.Tests.Sync.FlexibleSyncTests.Results_Subscribe_Always_WaitsForChanges.
Realms.Tests.Sync.FlexibleSyncTests
✔️ Results_Subscribe_Always_WaitsForChanges("abc")
❌ Results_Subscribe_Always_WaitsForChanges(null)
Expected: 2
But was: 1
❌ Realm.Tests.dll.Realms.Tests.Sync.FlexibleSyncTests.Results_Subscribe_FirstTimeOnly_DoesntWaitForChanges.
Realms.Tests.Sync.FlexibleSyncTests
❌ Results_Subscribe_FirstTimeOnly_DoesntWaitForChanges("abc")
Expected: 1
But was: 2
✔️ Results_Subscribe_FirstTimeOnly_DoesntWaitForChanges(null)
❌ Realm.Tests.dll.Realms.Tests.Sync.SessionTests.Session_AutomaticRecoveryFallsbackToDiscardLocal.
Realms.Tests.Sync.SessionTests
✔️ Session_AutomaticRecoveryFallsbackToDiscardLocal("pbs-str")
❌ Session_AutomaticRecoveryFallsbackToDiscardLocal("flx")
Realms.Exceptions.RealmException : Cannot write to class ObjectWithPartitionValue when no flexible sync subscription has been created.
Annotations
Check failure on line -1 in No path available
github-actions / Results Code Coverage
Realm.Tests.dll.Realms.Tests.Sync.AsymmetricObjectTests. ► Realms.Tests.Sync.AsymmetricObjectTests ► AccessAsymmetricObjAfterAddedToRealm_Throws
Failed test found in:
TestResults.Linux.xml
Error:
System.ArgumentException : The class BasicAsymmetricObject is not in the limited set of classes for this realm (Parameter 'objectType')
Raw output
at Realms.Helpers.Argument.Ensure(Boolean condition, String message, String paramName)
at Realms.Realm.AddInternal[T](T obj, Type objectType, Boolean update)
at Realms.Realm.Add[T](T obj) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 626
at Realms.Tests.Sync.AsymmetricObjectTests.<>c__DisplayClass6_0.<AccessAsymmetricObjAfterAddedToRealm_Throws>b__1() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 212
at Realms.Realm.<>c__DisplayClass67_0.<Write>b__0()
at Realms.Realm.Write[T](Func`1 function) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 825
at Realms.Realm.Write(Action action)
at Realms.Tests.Sync.AsymmetricObjectTests.<AccessAsymmetricObjAfterAddedToRealm_Throws>b__6_0() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 210
at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 70
at Realms.Tests.TestHelpers.<>c__DisplayClass31_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 266
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncTestHelpers.cs:line 87
at Realms.Tests.Sync.AsymmetricObjectTests.AccessAsymmetricObjAfterAddedToRealm_Throws() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 200
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check failure on line -1 in No path available
github-actions / Results Code Coverage
Realm.Tests.dll.Realms.Tests.Sync.AsymmetricObjectTests. ► Realms.Tests.Sync.AsymmetricObjectTests ► AddCollectionOfAsymmetricObjs
Failed test found in:
TestResults.Linux.xml
Error:
Expected: No Exception to be thrown
But was: <System.ArgumentException: The class BasicAsymmetricObject is not in the limited set of classes for this realm (Parameter 'objectType')
at Realms.Helpers.Argument.Ensure(Boolean condition, String message, String paramName)
at Realms.Realm.AddInternal[T](T obj, Type objectType, Boolean update)
at Realms.Realm.Add[T](IEnumerable`1 objs) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 663
at Realms.Tests.Sync.AsymmetricObjectTests.<>c__DisplayClass3_0.<AddCollectionOfAsymmetricObjs>b__3() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 121
at Realms.Realm.<>c__DisplayClass67_0.<Write>b__0()
at Realms.Realm.Write[T](Func`1 function) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 825
at Realms.Realm.Write(Action action)
at Realms.Tests.Sync.AsymmetricObjectTests.<>c__DisplayClass3_0.<AddCollectionOfAsymmetricObjs>b__1() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 119
at InvokeStub_TestDelegate.Invoke(Object, Object, IntPtr*)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
--- End of stack trace from previous location ---
at NUnit.Framework.Internal.ExceptionHelper.Rethrow(Exception exception)
at NUnit.Framework.Internal.Reflect.DynamicInvokeWithTransparentExceptions(Delegate delegate)
at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
Raw output
at Realms.Tests.Sync.AsymmetricObjectTests.<AddCollectionOfAsymmetricObjs>b__3_0() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 117
at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 70
at Realms.Tests.TestHelpers.<>c__DisplayClass31_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 266
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
Check failure on line -1 in No path available
github-actions / Results Code Coverage
Realm.Tests.dll.Realms.Tests.Sync.AsymmetricObjectTests. ► Realms.Tests.Sync.AsymmetricObjectTests ► AddHugeAsymmetricObj
Failed test found in:
TestResults.Linux.xml
Error:
System.ArgumentException : The class AsymmetricObjectWithAllTypes is not in the limited set of classes for this realm (Parameter 'objectType')
Raw output
at Realms.Helpers.Argument.Ensure(Boolean condition, String message, String paramName)
at Realms.Realm.AddInternal[T](T obj, Type objectType, Boolean update)
at Realms.Realm.Add[T](T obj) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 626
at Realms.Tests.Sync.AsymmetricObjectTests.<>c__DisplayClass5_0.<AddHugeAsymmetricObj>b__1() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 187
at Realms.Realm.<>c__DisplayClass67_0.<Write>b__0()
at Realms.Realm.Write[T](Func`1 function) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 825
at Realms.Realm.Write(Action action)
at Realms.Tests.Sync.AsymmetricObjectTests.<AddHugeAsymmetricObj>b__5_0() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 183
at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 70
at Realms.Tests.TestHelpers.<>c__DisplayClass31_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 266
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncTestHelpers.cs:line 87
at Realms.Tests.Sync.AsymmetricObjectTests.AddHugeAsymmetricObj() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 176
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check failure on line -1 in No path available
github-actions / Results Code Coverage
Realm.Tests.dll.Realms.Tests.Sync.AsymmetricObjectTests. ► Realms.Tests.Sync.AsymmetricObjectTests ► AddSameAsymmetricObjTwice_Throws
Failed test found in:
TestResults.Linux.xml
Error:
System.ArgumentException : The class BasicAsymmetricObject is not in the limited set of classes for this realm (Parameter 'objectType')
Raw output
at Realms.Helpers.Argument.Ensure(Boolean condition, String message, String paramName)
at Realms.Realm.AddInternal[T](T obj, Type objectType, Boolean update)
at Realms.Realm.Add[T](T obj) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 626
at Realms.Tests.Sync.AsymmetricObjectTests.<>c__DisplayClass7_0.<AddSameAsymmetricObjTwice_Throws>b__1() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 237
at Realms.Realm.<>c__DisplayClass67_0.<Write>b__0()
at Realms.Realm.Write[T](Func`1 function) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 825
at Realms.Realm.Write(Action action)
at Realms.Tests.Sync.AsymmetricObjectTests.<AddSameAsymmetricObjTwice_Throws>b__7_0() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 235
at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 70
at Realms.Tests.TestHelpers.<>c__DisplayClass31_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 266
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncTestHelpers.cs:line 87
at Realms.Tests.Sync.AsymmetricObjectTests.AddSameAsymmetricObjTwice_Throws() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 226
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check failure on line -1 in No path available
github-actions / Results Code Coverage
Realm.Tests.dll.Realms.Tests.Sync.AsymmetricObjectTests. ► Realms.Tests.Sync.AsymmetricObjectTests ► EmbeddedObject_WhenParentAccessed_ReturnsParent
Failed test found in:
TestResults.Linux.xml
Error:
System.ArgumentException : The class AsymmetricObjectWithEmbeddedRecursiveObject is not in the limited set of classes for this realm (Parameter 'objectType')
Raw output
at Realms.Helpers.Argument.Ensure(Boolean condition, String message, String paramName)
at Realms.Realm.AddInternal[T](T obj, Type objectType, Boolean update)
at Realms.Realm.Add[T](T obj) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 626
at Realms.Tests.Sync.AsymmetricObjectTests.<>c__DisplayClass12_0.<EmbeddedObject_WhenParentAccessed_ReturnsParent>b__1() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 351
at Realms.Realm.<>c__DisplayClass67_0.<Write>b__0()
at Realms.Realm.Write[T](Func`1 function) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 825
at Realms.Realm.Write(Action action)
at Realms.Tests.Sync.AsymmetricObjectTests.<EmbeddedObject_WhenParentAccessed_ReturnsParent>b__12_0() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 349
at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 70
at Realms.Tests.TestHelpers.<>c__DisplayClass31_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 266
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncTestHelpers.cs:line 87
at Realms.Tests.Sync.AsymmetricObjectTests.EmbeddedObject_WhenParentAccessed_ReturnsParent() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 334
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check failure on line -1 in No path available
github-actions / Results Code Coverage
Realm.Tests.dll.Realms.Tests.Sync.AsymmetricObjectTests. ► Realms.Tests.Sync.AsymmetricObjectTests ► EmbeddedObject_WhenParentAccessedInDictionary_ReturnsParent
Failed test found in:
TestResults.Linux.xml
Error:
System.ArgumentException : The class AsymmetricObjectWithEmbeddedDictionaryObject is not in the limited set of classes for this realm (Parameter 'objectType')
Raw output
at Realms.Helpers.Argument.Ensure(Boolean condition, String message, String paramName)
at Realms.Realm.AddInternal[T](T obj, Type objectType, Boolean update)
at Realms.Realm.Add[T](T obj) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 626
at Realms.Tests.Sync.AsymmetricObjectTests.<>c__DisplayClass14_0.<EmbeddedObject_WhenParentAccessedInDictionary_ReturnsParent>b__1() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 395
at Realms.Realm.<>c__DisplayClass67_0.<Write>b__0()
at Realms.Realm.Write[T](Func`1 function) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 825
at Realms.Realm.Write(Action action)
at Realms.Tests.Sync.AsymmetricObjectTests.<EmbeddedObject_WhenParentAccessedInDictionary_ReturnsParent>b__14_0() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 393
at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 70
at Realms.Tests.TestHelpers.<>c__DisplayClass31_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 266
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncTestHelpers.cs:line 87
at Realms.Tests.Sync.AsymmetricObjectTests.EmbeddedObject_WhenParentAccessedInDictionary_ReturnsParent() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 386
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check failure on line -1 in No path available
github-actions / Results Code Coverage
Realm.Tests.dll.Realms.Tests.Sync.AsymmetricObjectTests. ► Realms.Tests.Sync.AsymmetricObjectTests ► EmbeddedObject_WhenParentAccessedInList_ReturnsParent
Failed test found in:
TestResults.Linux.xml
Error:
System.ArgumentException : The class AsymmetricObjectWithEmbeddedListObject is not in the limited set of classes for this realm (Parameter 'objectType')
Raw output
at Realms.Helpers.Argument.Ensure(Boolean condition, String message, String paramName)
at Realms.Realm.AddInternal[T](T obj, Type objectType, Boolean update)
at Realms.Realm.Add[T](T obj) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 626
at Realms.Tests.Sync.AsymmetricObjectTests.<>c__DisplayClass13_0.<EmbeddedObject_WhenParentAccessedInList_ReturnsParent>b__1() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 376
at Realms.Realm.<>c__DisplayClass67_0.<Write>b__0()
at Realms.Realm.Write[T](Func`1 function) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 825
at Realms.Realm.Write(Action action)
at Realms.Tests.Sync.AsymmetricObjectTests.<EmbeddedObject_WhenParentAccessedInList_ReturnsParent>b__13_0() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 374
at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 70
at Realms.Tests.TestHelpers.<>c__DisplayClass31_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 266
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncTestHelpers.cs:line 87
at Realms.Tests.Sync.AsymmetricObjectTests.EmbeddedObject_WhenParentAccessedInList_ReturnsParent() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 367
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check failure on line -1 in No path available
github-actions / Results Code Coverage
Realm.Tests.dll.Realms.Tests.Sync.AsymmetricObjectTests. ► Realms.Tests.Sync.AsymmetricObjectTests ► MixAddingObjectAsymmetricAndNot
Failed test found in:
TestResults.Linux.xml
Error:
System.AggregateException : Exception occurred in a Realm.PopulateInitialSubscriptions callback. See inner exception for more details. (The class PrimaryKeyInt32Object is not in the limited set of classes for this realm (Parameter 'T'))
----> System.ArgumentException : The class PrimaryKeyInt32Object is not in the limited set of classes for this realm (Parameter 'T')
Raw output
at Realms.Sync.FlexibleSyncConfiguration.InvokeInitialSubscriptions(InitialDataTracker tracker, Realm realm) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Configurations/FlexibleSyncConfiguration.cs:line 165
at Realms.Sync.FlexibleSyncConfiguration.CreateRealmAsync(CancellationToken cancellationToken) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Configurations/FlexibleSyncConfiguration.cs:line 93
at Realms.Tests.RealmTest.GetRealmAsync(RealmConfigurationBase config, Int32 timeout, Nullable`1 cancellationToken) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/RealmTest.cs:line 159
at Realms.Tests.Sync.SyncTestBase.GetRealmAsync(SyncConfigurationBase config, Boolean waitForSync, Int32 timeout, CancellationToken cancellationToken) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncTestBase.cs:line 212
at Realms.Tests.Sync.AsymmetricObjectTests.<MixAddingObjectAsymmetricAndNot>b__9_0() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 288
at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 70
at Realms.Tests.TestHelpers.<>c__DisplayClass31_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 266
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncTestHelpers.cs:line 87
at Realms.Tests.Sync.AsymmetricObjectTests.MixAddingObjectAsymmetricAndNot() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 276
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
--ArgumentException
at Realms.Helpers.Argument.Ensure(Boolean condition, String message, String paramName)
at Realms.Realm.All[T]()
at Realms.Tests.Sync.AsymmetricObjectTests.<>c__DisplayClass9_0.<MixAddingObjectAsymmetricAndNot>b__1(Realm realm) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 284
at Realms.Sync.FlexibleSyncConfiguration.<>c__DisplayClass9_0.<InvokeInitialSubscriptions>b__0() in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Configurations/FlexibleSyncConfiguration.cs:line 158
at Realms.Sync.SubscriptionSet.Update(Action action) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Sync/FlexibleSync/SubscriptionSet.cs:line 166
at Realms.Sync.FlexibleSyncConfiguration.InvokeInitialSubscriptions(InitialDataTracker tracker, Realm realm) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Configurations/FlexibleSyncConfiguration.cs:line 150
Check failure on line -1 in No path available
github-actions / Results Code Coverage
Realm.Tests.dll.Realms.Tests.Sync.AsymmetricObjectTests. ► Realms.Tests.Sync.AsymmetricObjectTests ► NonEmbeddedObject_WhenParentAccessed_Throws
Failed test found in:
TestResults.Linux.xml
Error:
System.ArgumentException : The class BasicAsymmetricObject is not in the limited set of classes for this realm (Parameter 'objectType')
Raw output
at Realms.Helpers.Argument.Ensure(Boolean condition, String message, String paramName)
at Realms.Realm.AddInternal[T](T obj, Type objectType, Boolean update)
at Realms.Realm.Add[T](T obj) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 626
at Realms.Tests.Sync.AsymmetricObjectTests.<>c__DisplayClass16_0.<NonEmbeddedObject_WhenParentAccessed_Throws>b__1() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 439
at Realms.Realm.<>c__DisplayClass67_0.<Write>b__0()
at Realms.Realm.Write[T](Func`1 function) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 825
at Realms.Realm.Write(Action action)
at Realms.Tests.Sync.AsymmetricObjectTests.<NonEmbeddedObject_WhenParentAccessed_Throws>b__16_0() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 437
at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 70
at Realms.Tests.TestHelpers.<>c__DisplayClass31_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 266
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncTestHelpers.cs:line 87
at Realms.Tests.Sync.AsymmetricObjectTests.NonEmbeddedObject_WhenParentAccessed_Throws() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 428
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check failure on line -1 in No path available
github-actions / Results Code Coverage
Realm.Tests.dll.Realms.Tests.Sync.AsymmetricObjectTests. ► Realms.Tests.Sync.AsymmetricObjectTests ► RealmValueDictionaryWithAsymmetricObject_WhenAddedToRealm_Throws
Failed test found in:
TestResults.Linux.xml
Error:
System.AggregateException : Exception occurred in a Realm.PopulateInitialSubscriptions callback. See inner exception for more details. (The class RealmValueObject is not in the limited set of classes for this realm (Parameter 'T'))
----> System.ArgumentException : The class RealmValueObject is not in the limited set of classes for this realm (Parameter 'T')
Raw output
at Realms.Sync.FlexibleSyncConfiguration.InvokeInitialSubscriptions(InitialDataTracker tracker, Realm realm) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Configurations/FlexibleSyncConfiguration.cs:line 165
at Realms.Sync.FlexibleSyncConfiguration.CreateRealmAsync(CancellationToken cancellationToken) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Configurations/FlexibleSyncConfiguration.cs:line 93
at Realms.Tests.RealmTest.GetRealmAsync(RealmConfigurationBase config, Int32 timeout, Nullable`1 cancellationToken) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/RealmTest.cs:line 172
at Realms.Tests.Sync.SyncTestBase.GetRealmAsync(SyncConfigurationBase config, Boolean waitForSync, Int32 timeout, CancellationToken cancellationToken) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncTestBase.cs:line 212
at Realms.Tests.Sync.AsymmetricObjectTests.GetRealmWithRealmValueSchemaAsync() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 679
at Realms.Tests.Sync.AsymmetricObjectTests.<RealmValueDictionaryWithAsymmetricObject_WhenAddedToRealm_Throws>b__20_0() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 511
at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 70
at Realms.Tests.TestHelpers.<>c__DisplayClass31_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 266
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncTestHelpers.cs:line 87
at Realms.Tests.Sync.AsymmetricObjectTests.RealmValueDictionaryWithAsymmetricObject_WhenAddedToRealm_Throws() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 509
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
--ArgumentException
at Realms.Helpers.Argument.Ensure(Boolean condition, String message, String paramName)
at Realms.Realm.All[T]()
at Realms.Tests.Sync.AsymmetricObjectTests.<>c.<GetRealmWithRealmValueSchemaAsync>b__27_0(Realm realm) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 675
at Realms.Sync.FlexibleSyncConfiguration.<>c__DisplayClass9_0.<InvokeInitialSubscriptions>b__0() in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Configurations/FlexibleSyncConfiguration.cs:line 158
at Realms.Sync.SubscriptionSet.Update(Action action) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Sync/FlexibleSync/SubscriptionSet.cs:line 166
at Realms.Sync.FlexibleSyncConfiguration.InvokeInitialSubscriptions(InitialDataTracker tracker, Realm realm) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Configurations/FlexibleSyncConfiguration.cs:line 150
Check failure on line -1 in No path available
github-actions / Results Code Coverage
Realm.Tests.dll.Realms.Tests.Sync.AsymmetricObjectTests. ► Realms.Tests.Sync.AsymmetricObjectTests ► RealmValueDictionaryWithAsymmetricObject_WhenModifiedInRealm_Throws
Failed test found in:
TestResults.Linux.xml
Error:
System.AggregateException : Exception occurred in a Realm.PopulateInitialSubscriptions callback. See inner exception for more details. (The class RealmValueObject is not in the limited set of classes for this realm (Parameter 'T'))
----> System.ArgumentException : The class RealmValueObject is not in the limited set of classes for this realm (Parameter 'T')
Raw output
at Realms.Sync.FlexibleSyncConfiguration.InvokeInitialSubscriptions(InitialDataTracker tracker, Realm realm) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Configurations/FlexibleSyncConfiguration.cs:line 165
at Realms.Sync.FlexibleSyncConfiguration.CreateRealmAsync(CancellationToken cancellationToken) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Configurations/FlexibleSyncConfiguration.cs:line 93
at Realms.Tests.RealmTest.GetRealmAsync(RealmConfigurationBase config, Int32 timeout, Nullable`1 cancellationToken) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/RealmTest.cs:line 172
at Realms.Tests.Sync.SyncTestBase.GetRealmAsync(SyncConfigurationBase config, Boolean waitForSync, Int32 timeout, CancellationToken cancellationToken) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncTestBase.cs:line 219
at Realms.Tests.Sync.AsymmetricObjectTests.GetRealmWithRealmValueSchemaAsync() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 679
at Realms.Tests.Sync.AsymmetricObjectTests.<RealmValueDictionaryWithAsymmetricObject_WhenModifiedInRealm_Throws>b__24_0() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 583
at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 70
at Realms.Tests.TestHelpers.<>c__DisplayClass31_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 266
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncTestHelpers.cs:line 87
at Realms.Tests.Sync.AsymmetricObjectTests.RealmValueDictionaryWithAsymmetricObject_WhenModifiedInRealm_Throws() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 581
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
--ArgumentException
at Realms.Helpers.Argument.Ensure(Boolean condition, String message, String paramName)
at Realms.Realm.All[T]()
at Realms.Tests.Sync.AsymmetricObjectTests.<>c.<GetRealmWithRealmValueSchemaAsync>b__27_0(Realm realm) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/AsymmetricObjectTests.cs:line 675
at Realms.Sync.FlexibleSyncConfiguration.<>c__DisplayClass9_0.<InvokeInitialSubscriptions>b__0() in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Configurations/FlexibleSyncConfiguration.cs:line 158
at Realms.Sync.SubscriptionSet.Update(Action action) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Sync/FlexibleSync/SubscriptionSet.cs:line 166
at Realms.Sync.FlexibleSyncConfiguration.InvokeInitialSubscriptions(InitialDataTracker tracker, Realm realm) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Configurations/FlexibleSyncConfiguration.cs:line 150