首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >人脸融合,求大神帮忙看下。System.AggregateException?

人脸融合,求大神帮忙看下。System.AggregateException?

提问于 2021-04-25 08:44:32
回答 0关注 0查看 174

具体报错内容见下:

System.AggregateException: One or more errors occurred. ---> System.PlatformNotSupportedException: Operation is not supported on this platform.

at Newtonsoft.Json.Utilities.DynamicReflectionDelegateFactory.CreateDynamicMethod (System.String name, System.Type returnType, System.Type[] parameterTypes, System.Type owner) [0x00018] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.Utilities.DynamicReflectionDelegateFactory.CreateDefaultConstructor[T] (System.Type type) [0x00010] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.Serialization.DefaultContractResolver.GetDefaultCreator (System.Type createdType) [0x00005] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.Serialization.DefaultContractResolver.InitializeContract (Newtonsoft.Json.Serialization.JsonContract contract) [0x00093] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract (System.Type objectType) [0x00030] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract (System.Type objectType) [0x00118] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at System.Collections.Concurrent.ConcurrentDictionary`2[TKey,TValue].GetOrAdd (TKey key, System.Func`2[T,TResult] valueFactory) [0x00034] in <44afb4564e9347cf99a1865351ea8f4a>:0

at Newtonsoft.Json.Utilities.ThreadSafeStore`2[TKey,TValue].Get (TKey key) [0x00000] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract (System.Type type) [0x0000b] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.GetContractSafe (System.Object value) [0x00016] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00028] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.JsonSerializer.SerializeInternal (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00253] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.JsonSerializer.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00000] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.JsonConvert.SerializeObjectInternal (System.Object value, System.Type type, Newtonsoft.Json.JsonSerializer jsonSerializer) [0x00028] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.JsonConvert.SerializeObject (System.Object value, System.Type type, Newtonsoft.Json.Formatting formatting, Newtonsoft.Json.JsonSerializerSettings settings) [0x0000e] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.JsonConvert.SerializeObject (System.Object value, Newtonsoft.Json.Formatting formatting, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at TencentCloud.Common.AbstractClient.BuildRequestPayload (TencentCloud.Common.AbstractModel request) [0x00038] in <87f0e8c9cce744958f2c1c5cb0030291>:0

at TencentCloud.Common.AbstractClient+<RequestV3>d__37.MoveNext () [0x0002a] in <87f0e8c9cce744958f2c1c5cb0030291>:0

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <44afb4564e9347cf99a1865351ea8f4a>:0

at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <44afb4564e9347cf99a1865351ea8f4a>:0

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <44afb4564e9347cf99a1865351ea8f4a>:0

at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <44afb4564e9347cf99a1865351ea8f4a>:0

at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <44afb4564e9347cf99a1865351ea8f4a>:0

at TencentCloud.Common.AbstractClient+<InternalRequest>d__35.MoveNext () [0x001d0] in <87f0e8c9cce744958f2c1c5cb0030291>:0

--- End of inner exception stack trace ---

at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <44afb4564e9347cf99a1865351ea8f4a>:0

at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <44afb4564e9347cf99a1865351ea8f4a>:0

at System.Threading.Tasks.Task.Wait () [0x00000] in <44afb4564e9347cf99a1865351ea8f4a>:0

at TencentCloud.Common.AbstractClient.InternalRequestSync (TencentCloud.Common.AbstractModel request, System.String actionName) [0x0002e] in <87f0e8c9cce744958f2c1c5cb0030291>:0

at TencentCloud.Facefusion.V20181201.FacefusionClient.FaceFusionSync (TencentCloud.Facefusion.V20181201.Models.FaceFusionRequest req) [0x00004] in <87f0e8c9cce744958f2c1c5cb0030291>:0

at TencentCloudExamples.FaceFusion.Main (System.String base64, CameraTakePicture+PhotoType photoType, UnityEngine.UI.Image showImage, System.Action`2[T1,T2] callBack) [0x00110] in <ca78b80947e64d12a12bed1a0b974c06>:0

---> (Inner Exception #0) System.PlatformNotSupportedException: Operation is not supported on this platform.

at Newtonsoft.Json.Utilities.DynamicReflectionDelegateFactory.CreateDynamicMethod (System.String name, System.Type returnType, System.Type[] parameterTypes, System.Type owner) [0x00018] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.Utilities.DynamicReflectionDelegateFactory.CreateDefaultConstructor[T] (System.Type type) [0x00010] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.Serialization.DefaultContractResolver.GetDefaultCreator (System.Type createdType) [0x00005] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.Serialization.DefaultContractResolver.InitializeContract (Newtonsoft.Json.Serialization.JsonContract contract) [0x00093] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract (System.Type objectType) [0x00030] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract (System.Type objectType) [0x00118] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at System.Collections.Concurrent.ConcurrentDictionary`2[TKey,TValue].GetOrAdd (TKey key, System.Func`2[T,TResult] valueFactory) [0x00034] in <44afb4564e9347cf99a1865351ea8f4a>:0

at Newtonsoft.Json.Utilities.ThreadSafeStore`2[TKey,TValue].Get (TKey key) [0x00000] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract (System.Type type) [0x0000b] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.GetContractSafe (System.Object value) [0x00016] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00028] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.JsonSerializer.SerializeInternal (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00253] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.JsonSerializer.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00000] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.JsonConvert.SerializeObjectInternal (System.Object value, System.Type type, Newtonsoft.Json.JsonSerializer jsonSerializer) [0x00028] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.JsonConvert.SerializeObject (System.Object value, System.Type type, Newtonsoft.Json.Formatting formatting, Newtonsoft.Json.JsonSerializerSettings settings) [0x0000e] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at Newtonsoft.Json.JsonConvert.SerializeObject (System.Object value, Newtonsoft.Json.Formatting formatting, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <b1d2c1d6f4dd47bea2964bdd6464f67d>:0

at TencentCloud.Common.AbstractClient.BuildRequestPayload (TencentCloud.Common.AbstractModel request) [0x00038] in <87f0e8c9cce744958f2c1c5cb0030291>:0

at TencentCloud.Common.AbstractClient+<RequestV3>d__37.MoveNext () [0x0002a] in <87f0e8c9cce744958f2c1c5cb0030291>:0

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <44afb4564e9347cf99a1865351ea8f4a>:0

at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <44afb4564e9347cf99a1865351ea8f4a>:0

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <44afb4564e9347cf99a1865351ea8f4a>:0

at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <44afb4564e9347cf99a1865351ea8f4a>:0

at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <44afb4564e9347cf99a1865351ea8f4a>:0

at TencentCloud.Common.AbstractClient+<InternalRequest>d__35.MoveNext () [0x001d0] in <87f0e8c9cce744958f2c1c5cb0030291>:0 <---

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档