Exception:未将对象引用设置到对象的实例。

报错信息 1
NullReferenceException: 未将对象引用设置到对象的实例。
StackTrace:
   在 IntelliTools.Domain.Favorite.FavorItem.<>c.<get_ChildIds>b__22_0(FavorItem x)
   在 System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   在 IntelliTools.Domain.Favorite.FavorItem.get_ChildIds()
   在 lambda_method(Closure , Object , Object )
   在 FreeSql.Extensions.EntityUtil.EntityUtilExtensions.MapEntityValue(IFreeSql orm, Type entityType, Object entityFrom, Object entityTo)
   在 FreeSql.DbSet`1.CreateEntityState(TEntity data)
   在 FreeSql.DbSet`1.UpdateRangePriv(IEnumerable`1 data, Boolean isCheck)
   在 FreeSql.DbSet`1.Update(TEntity data)
   在 FreeSql.BaseRepository`1.Update(TEntity entity)
   在 IntelliTools.Domain.Favorite.FavorItemDatabase.Update(FavorItem item)
   在 System.Collections.Generic.List`1.ForEach(Action`1 action)
   在 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)

版本:1.43.27 2025-08-05 11:47 Microsoft Windows NT 10.0.19045.0