积分 46
注册时间 2022-10-7
积分 46
这个提示出错要怎么解决啊?急急急
[10:56:16]:调用的目标发生了异常。
[10:58:39]:未处理的异常
异常消息: Resolution of the dependency failed, type = "AspenTech.AspenPlus.MMForms.Convergence.Convergence.Bobyqa.MMBobyqa_Result_Manipu_ViewModel+MMScrollArea1_GridData_ItemTemplate", name = "(none)".
Exception occurred while: Setting value for property MMScrollArea1_GridData_ItemTemplate.ResolvedCxsProvider.
Exception is: InvalidOperationException - 可为空的对象必须具有一个值。
-----------------------------------------------
At the time of the exception, the container was:
Resolving AspenTech.AspenPlus.MMForms.Convergence.Convergence.Bobyqa.MMBobyqa_Result_Manipu_ViewModel+MMScrollArea1_GridData_ItemTemplate,(none)
Setting value for property MMScrollArea1_GridData_ItemTemplate.ResolvedCxsProvider
异常源: Microsoft.Practices.Unity
StackTrace: 在 Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides)
在 Microsoft.Practices.Unity.UnityContainer.Resolve(Type t, String name, ResolverOverride[] resolverOverrides)
在 AspenTech.AspenCxs.CxsViewModel.ViewData.CxvVectorPropertyData.ItemContext.get_Value()
在 AspenTech.AspenCxs.CxsViewModel.ViewData.CxvVectorPropertyData.EnsureDataItem(Int32 index)
在 AspenTech.Engineering.GridControls.Bindings.BindingDataTable.ResetRows()
在 AspenTech.Engineering.GridControls.Bindings.BindingDataTable.set_ItemsSource(IEnumerable value)
在 AspenTech.AspenPlus.MMControls.MMScrollAreaMS.InitFields()
在 AspenTech.AspenPlus.MMControls.MMScrollAreaMS.MMScrollAreaMS_Loaded(Object sender, RoutedEventArgs e)
在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
在 System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
在 System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
在 MS.Internal.LoadedOrUnloadedOperation.DoWork()
在 System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
在 System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
在 System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
在 System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
在 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)
[10:58:59]:Exception: Resolution of the dependency failed, type = "AspenTech.AspenPlus.MMForms.Convergence.Convergence.Bobyqa.MMBobyqa_Result_Manipu_ViewModel+MMScrollArea1_GridData_ItemTemplate", name = "(none)".
Exception occurred while: Setting value for property MMScrollArea1_GridData_ItemTemplate.ResolvedCxsProvider.
Exception is: InvalidOperationException - 可为空的对象必须具有一个值。
-----------------------------------------------
At the time of the exception, the container was:
Resolving AspenTech.AspenPlus.MMForms.Convergence.Convergence.Bobyqa.MMBobyqa_Result_Manipu_ViewModel+MMScrollArea1_GridData_ItemTemplate,(none)
Setting value for property MMScrollArea1_GridData_ItemTemplate.ResolvedCxsProvider
在 Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides)
在 Microsoft.Practices.Unity.UnityContainer.Resolve(Type t, String name, ResolverOverride[] resolverOverrides)
在 AspenTech.AspenCxs.CxsViewModel.ViewData.CxvVectorPropertyData.ItemContext.get_Value()
在 AspenTech.AspenCxs.CxsViewModel.ViewData.CxvVectorPropertyData.EnsureDataItem(Int32 index)
在 AspenTech.Engineering.GridControls.Bindings.BindingDataTable.ResetRows()
在 AspenTech.Engineering.GridControls.Bindings.BindingDataTable.set_ItemsSource(IEnumerable value)
在 AspenTech.AspenPlus.MMControls.MMScrollAreaMS.InitFields()
在 AspenTech.AspenPlus.MMControls.MMScrollAreaMS.MMScrollAreaMS_Loaded(Object sender, RoutedEventArgs e)
在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
在 System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
在 System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
在 MS.Internal.LoadedOrUnloadedOperation.DoWork()
在 System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
在 System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
在 System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
在 System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
在 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)
Inner Exception: 可为空的对象必须具有一个值。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 AspenTech.AspenPlus.MMForms.Convergence.Convergence.Bobyqa.MMBobyqa_Result_Manipu_ViewModel.MMScrollArea1_GridData_ItemTemplate.OnUpdateData()
在 AspenTech.AspenCxs.CxsViewModel.CxvViewModel.set_ResolvedCxsProvider(CxsDataProvider value)
在 lambda_method(Closure , IBuilderContext )
在 Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.<>c__DisplayClass1.<GetBuildMethod>b__0(IBuilderContext context)
在 Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
在 Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
在 Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides)
[10:58:59]:AppDomain.UnhandledException: Resolution of the dependency failed, type = "AspenTech.AspenPlus.MMForms.Convergence.Convergence.Bobyqa.MMBobyqa_Result_Manipu_ViewModel+MMScrollArea1_GridData_ItemTemplate", name = "(none)".
Exception occurred while: Setting value for property MMScrollArea1_GridData_ItemTemplate.ResolvedCxsProvider.
Exception is: InvalidOperationException - 可为空的对象必须具有一个值。
-----------------------------------------------
At the time of the exception, the container was:
Resolving AspenTech.AspenPlus.MMForms.Convergence.Convergence.Bobyqa.MMBobyqa_Result_Manipu_ViewModel+MMScrollArea1_GridData_ItemTemplate,(none)
Setting value for property MMScrollArea1_GridData_ItemTemplate.ResolvedCxsProvider
在 Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides)
在 Microsoft.Practices.Unity.UnityContainer.Resolve(Type t, String name, ResolverOverride[] resolverOverrides)
在 AspenTech.AspenCxs.CxsViewModel.ViewData.CxvVectorPropertyData.ItemContext.get_Value()
在 AspenTech.AspenCxs.CxsViewModel.ViewData.CxvVectorPropertyData.EnsureDataItem(Int32 index)
在 AspenTech.Engineering.GridControls.Bindings.BindingDataTable.ResetRows()
在 AspenTech.Engineering.GridControls.Bindings.BindingDataTable.set_ItemsSource(IEnumerable value)
在 AspenTech.AspenPlus.MMControls.MMScrollAreaMS.InitFields()
在 AspenTech.AspenPlus.MMControls.MMScrollAreaMS.MMScrollAreaMS_Loaded(Object sender, RoutedEventArgs e)
在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
在 System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
在 System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
在 MS.Internal.LoadedOrUnloadedOperation.DoWork()
在 System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
在 System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
在 System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
在 System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
在 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)
在 System.Windows.Threading.DispatcherOperation.InvokeImpl()
在 MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Windows.Threading.DispatcherOperation.Invoke()
在 System.Windows.Threading.Dispatcher.ProcessQueue()
在 System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
在 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)
在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
在 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
在 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
在 System.Windows.Application.RunDispatcher(Object ignore)
在 System.Windows.Application.RunInternal(Window window)
在 AspenPlus.App.Main()
复制代码