Azure移动服务组件的问题

时间:2014-09-11 16:11:30

标签: mono xamarin azure-mobile-services

我们遇到了WindowsAzure.Mobile组件的奇怪问题。从服务器检索数据时,它一直给出一个奇怪的异常,这是以前从未做过的。我们使用该组件的项目也使用它来登录Google& Facebook和那也一直在抛出奇怪的例外。将Xamarin.Studio更新为新版本后,此行为开始显现。

WindowsAzure.Mobile身份验证错误:

enter image description here

WindowsAzure.Mobile获取错误:

System.ArgumentOutOfRangeException:参数超出范围。在System.DateTime.op_Subtraction(DateTime d,TimeSpan t)[0x00000] in:0中的Android.Runtime.AndroidCurrentSystemTimeZone.IsAmbiguousTime(DateTime time)[0x0001d] in / Users / builder / data / lanes / 1131 / 62e09eb0 / source / monodroid / src / Mono.Android / src / Runtime / AndroidCurrentSystemTimeZone.cs:113位于/ Users / builder / data / lanes / 1131 / 62e09eb0 / source / monodroid /中的Android.Runtime.AndroidCurrentSystemTimeZone.GetUtcOffset(DateTime time)[0x00049] src / Mono.Android / src / Runtime / AndroidCurrentSystemTimeZone.cs:100 at System.TimeZone.ToLocalTime(DateTime time)[0x00000] in:0 at System.DateTime.ToLocalTime()[0x00000] in:0 at Microsoft.WindowsAzure。 MobileServices.MobileServiceIsoDateTimeConverter.ReadJson(Newtonsoft.Json.JsonReader reader,System.Type objectType,System.Object existingValue,Newtonsoft.Json.JsonSerializer serializer)[0x00000] in:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(Newtonsoft.Json) .JsonConverter转换器,Newtonsoft.Json.JsonReader reader,System.Type objectType,System.Object existingValue)[0x00000] in:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(Newtonsoft.Json.JsonReader reader,System.Type objectType,Boolean checkAdditionalContent)[0x00000] in:0 ---抛出异常的前一个位置的堆栈跟踪结束---在System.Runtime.CompilerServices.TaskAwaiter1的System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()[0x00000]中:0 [System.Collections.Generic。 List1 [Dvit.Apps.OpenBiz.Pcl.Models.SysType]]。GetResult()[0x00000] in:0 at Dvit.Apps.OpenBiz.Pcl.Services.AzureService + d__35`1 [Dvit.Apps.OpenBiz.Pcl。 Models.SysType] .MoveNext()[0x0006a]在c:\ Code \ Dvit \ Dvit.Apps.Bizzumi.Android \ Main \ Source \ Dvit.Apps.OpenBiz.Pcl \ Services \ AzureService.cs:390

是否有人遇到过同样类型的问题?我们还没有找到任何解决方案。

1 个答案:

答案 0 :(得分:0)

使用CEST(中欧夏令时)作为时区似乎是一个错误。如果我将时区从我调试的设备切换到CEST以外的其他地方,它将不再崩溃。我们在bugzilla上为想要关注的人开了一个帖子:https://bugzilla.xamarin.com/show_bug.cgi?id=22955