Hello.
When I try to send request from It Shop.
I have a problem in ShoppingCartitem
One or more errors occurred.
Value cannot be null.
Parameter name: key
(2018-12-06 15:56:48)
Help, please.
Hello.
When I try to send request from It Shop.
I have a problem in ShoppingCartitem
One or more errors occurred.
Value cannot be null.
Parameter name: key
(2018-12-06 15:56:48)
Help, please.
Hello,
Please specify your version of OneIM, as well as a log file from the web application.
Regards,
Hanno
OneIM 8.0
2018-12-06 15:56:48.3685 ERROR ( WebLog rx5sig3ik4cnouxdfwukafpu) : System.AggregateException: One or more errors occurred. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Concurrent.ConcurrentDictionary`2.TryGetValue(TKey key, TValue& value)
at VI.WebRuntime.ExtensionMethods.GetNameWithOverride(IApplicationInfo appInfo, String objectName)
at VI.WebRuntime.ObjectReferenceData.RegisterComponent(String xmlObjectKey, String componentName)
at VI.WebRuntime.ObjectReferenceData.<RegisterSingleEntityAsync>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VI.WebRuntime.ObjectReferenceData.<BuildObjectAssignmentsAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VI.WebRuntime.ObjectReferenceService.<>c__DisplayClass8_0.<<GetDataAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VI.WebRuntime.ObjectReferenceService.<GetDataAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VI.WebRuntime.ObjectReferenceService.<GetComponentNameAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VI.WebRuntime.ObjectReferenceService.<GetComponentAsync>d__7.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at VI.WebRuntime.Compatibility.SyncExtensions.GetComponent(IObjectReferenceService svc, String xmlObjectKey, String referenceType)
at VI.WebRuntime.VI_StandardWeb.VI_ITShop_ShoppingCart_DetailPane.Container67_Content(CursorControlInfo _cursorInfos, Control _targetContainer6)
at VI.WebRuntime.WebControls.TemplateControlAdapter.InstantiateIn(Control container)
at VI.WebRuntime.WebControls.DelayedLoader.OnGetControl(Control p, ITemplate contentTemplate, Boolean handleExceptions)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
---> (Inner Exception #0) System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Concurrent.ConcurrentDictionary`2.TryGetValue(TKey key, TValue& value)
at VI.WebRuntime.ExtensionMethods.GetNameWithOverride(IApplicationInfo appInfo, String objectName)
at VI.WebRuntime.ObjectReferenceData.RegisterComponent(String xmlObjectKey, String componentName)
at VI.WebRuntime.ObjectReferenceData.<RegisterSingleEntityAsync>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VI.WebRuntime.ObjectReferenceData.<BuildObjectAssignmentsAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VI.WebRuntime.ObjectReferenceService.<>c__DisplayClass8_0.<<GetDataAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VI.WebRuntime.ObjectReferenceService.<GetDataAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VI.WebRuntime.ObjectReferenceService.<GetComponentNameAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VI.WebRuntime.ObjectReferenceService.<GetComponentAsync>d__7.MoveNext()<---
System.AggregateException: One or more errors occurred. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Concurrent.ConcurrentDictionary`2.TryGetValue(TKey key, TValue& value)
at VI.WebRuntime.ExtensionMethods.GetNameWithOverride(IApplicationInfo appInfo, String objectName)
at VI.WebRuntime.ObjectReferenceData.RegisterComponent(String xmlObjectKey, String componentName)
at VI.WebRuntime.ObjectReferenceData.<RegisterSingleEntityAsync>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VI.WebRuntime.ObjectReferenceData.<BuildObjectAssignmentsAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VI.WebRuntime.ObjectReferenceService.<>c__DisplayClass8_0.<<GetDataAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VI.WebRuntime.ObjectReferenceService.<GetDataAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VI.WebRuntime.ObjectReferenceService.<GetComponentNameAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VI.WebRuntime.ObjectReferenceService.<GetComponentAsync>d__7.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at VI.WebRuntime.Compatibility.SyncExtensions.GetComponent(IObjectReferenceService svc, String xmlObjectKey, String referenceType)
at VI.WebRuntime.VI_StandardWeb.VI_ITShop_ShoppingCart_DetailPane.Container67_Content(CursorControlInfo _cursorInfos, Control _targetContainer6)
at VI.WebRuntime.WebControls.TemplateControlAdapter.InstantiateIn(Control container)
at VI.WebRuntime.WebControls.DelayedLoader.OnGetControl(Control p, ITemplate contentTemplate, Boolean handleExceptions)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
---> (Inner Exception #0) System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Concurrent.ConcurrentDictionary`2.TryGetValue(TKey key, TValue& value)
at VI.WebRuntime.ExtensionMethods.GetNameWithOverride(IApplicationInfo appInfo, String objectName)
at VI.WebRuntime.ObjectReferenceData.RegisterComponent(String xmlObjectKey, String componentName)
at VI.WebRuntime.ObjectReferenceData.<RegisterSingleEntityAsync>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VI.WebRuntime.ObjectReferenceData.<BuildObjectAssignmentsAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VI.WebRuntime.ObjectReferenceService.<>c__DisplayClass8_0.<<GetDataAsync>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VI.WebRuntime.ObjectReferenceService.<GetDataAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VI.WebRuntime.ObjectReferenceService.<GetComponentNameAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VI.WebRuntime.ObjectReferenceService.<GetComponentAsync>d__7.MoveNext()<---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at VI.WebRuntime.Compatibility.SyncExtensions.GetComponent(IObjectReferenceService svc, String xmlObjectKey, String referenceType)
at VI.WebRuntime.VI_StandardWeb.VI_ITShop_ShoppingCart_DetailPane.Container67_Content(CursorControlInfo _cursorInfos, Control _targetContainer6)
at VI.WebRuntime.WebControls.TemplateControlAdapter.InstantiateIn(Control container)
at VI.WebRuntime.WebControls.DelayedLoader.OnGetControl(Control p, ITemplate contentTemplate, Boolean handleExceptions)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
I guess you defined an object-dependent reference without an assigned component. Go to Web Designer -> Object-dependent references and check whether your custom objects have assigned components.
Thank you very much. i found my trouble.