Exception:对类型“IntelliTools.View.Text.TextActionListControl”的构造函数执行符合指定的绑定约束的调用时引发了异常。“IntelliTools.Domain.Text.TextActionData”的类型初始值设定项引发异常。Error reading JObject from JsonReader. Current JsonReader item is not an object: Null. Path 'Actions[0].Data'.

报错信息

XamlParseException
   在 System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
   在 System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   在 System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   在 System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   在 IntelliTools.View.Setting.ConfigWindow..ctor()
   在 IntelliTools.Domain.Manager.SettingManager.Show(String page)
   在 IntelliTools.Domain.Manager.SettingManager.ShowPage(SettingPage page)
   在 IntelliTools.Domain.Menu.MenuItemWrapper.OnClicked(Object sender, RoutedEventArgs e)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   在 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)

TypeInitializationException
“IntelliTools.Domain.Text.TextActionData”的类型初始值设定项引发异常。
   在 IntelliTools.View.Text.TextActionListViewModel.get_ActionData()
   在 IntelliTools.View.Text.TextActionListViewModel.get_TextActions()
   在 IntelliTools.View.Text.TextActionListViewModel..ctor()
   在 IntelliTools.View.Text.TextActionListControl..ctor()

JsonReaderException
Error reading JObject from JsonReader. Current JsonReader item is not an object: Null. Path 'Actions[0].Data'.
   在 Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)
   在 IntelliTools.Domain.Text.TextActionBaseConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
   在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
   在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
   在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   在 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.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
   在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
   在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
   在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Populate(JsonReader reader, Object target)
   在 Newtonsoft.Json.JsonSerializer.PopulateInternal(JsonReader reader, Object target)
   在 IntelliTools.Utilities.Ext.JsonExtensions.Populate[T](JToken value, T target)
   在 IntelliTools.Utilities.Data.ConfigData.LocalInit()
   在 IntelliTools.Domain.Text.TextActionData..cctor() 

解决方法

暂无解决方案。

相关信息
0 查看
2023-12-11 10:12
Quicker版本
版本 反馈次数