【异常报告】 1.25.5 不支持的格式转换,目标类型:Dict 源对象:System.String {""}

异常报告 · 1490 次浏览
HumbleCoder 创建于 2021-07-10 13:54

InvalidCastException
   在 Quicker.Domain.Actions.X.Variables.VariableHelper.ConvertToType(VarType type, Object value)
   在 Quicker.Domain.Actions.X.Variables.VariableHelper.ConvertVarDefaultValue(VarType varType, String defaultValueStr)
   在 Quicker.View.CodeEditorWindow.<>c.NwWsNldkIxP(ExpressionInputParam x)
   在 System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
   在 Quicker.View.CodeEditorWindow.mJevhcYjql(Object  )
   在 Quicker.Utilities.UI.DebounceDispatcher.<>c__DisplayClass5_0.a0HXYpTqsgm(Object s, EventArgs e)
   在 System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

JsonReaderException
Unterminated string. Expected delimiter: ". Path '', line 1, position 4.
   在 Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer(Char quote)
   在 Newtonsoft.Json.JsonTextReader.ParseProperty()
   在 Newtonsoft.Json.JsonReader.ReadAndAssert()
   在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   在 Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   在 Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   在 Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   在 Quicker.Domain.Actions.X.Variables.VariableHelper.ConvertToDict(Object value)
   在 Quicker.Domain.Actions.X.Variables.VariableHelper.ConvertToType(VarType type, Object value)

还没来得及输入完就报错了,手快一点输入合法就可以

HumbleCoder 最后更新于 2021/7/10

回复内容
CL 2021-07-11 09:39
#1

感谢反馈,等加个捕捉。

回复主贴