Niemand rašė:
Ingaleks rašė:
Labas vakaras, vedžiau pirkimuose prekes ir pradėjo mest klaidą "Value cannot be null.Parameter name: goodsSummary" neleidžia nei ištrint nei koreguot nieko. Gal kas pagelbės :) ačiū iš karto :)
Atsiųskit visą klaidos teksta.
Neleidžia nieko daryti tik su viena sąskaita, ten buvo pajamavimas su daug pozicijų, gal yra viršyta pozicijų skaičius?
Klaidos duomenys:
Klaidos tekstas:
Exception has been thrown by the target of an invocation.
Klaidos šaltinis(Ex.Source):
mscorlib
Klaidos metodas (Ex.TargetSite):
_InvokeMethodFast
Klaidos stekas:
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at AccControlsWinForms.MethodInvoker`1.Invoke(T instance, String methodName, Object[] methodParams)
at AccControlsWinForms.CommonMethods.InvokeMethod[T](T instance, String methodName, Object[] params)
at AccDataBindingsWinForms.CslaActionExtenderQueryObject.InvokeQuery[T](T instance, String methodName, Boolean allowCancel, QueryObjectFetched callBackDelegate, Object[] params)
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
DataPortal.Fetch failed (System.ArgumentNullException: Value cannot be null.
Parameter name: goodsSummary
at ApskaitaObjects.Goods.OperationalLimitList.Fetch(GoodsSummary goodsSummary, GoodsOperationType operationType, Int32 operationID, DateTime operationDate, Int32 warehouseID, IChronologicValidator parentValidator, DataTable dataSource)
at ApskaitaObjects.Goods.OperationalLimitList..ctor(GoodsSummary goodsSummary, GoodsOperationType operationType, Int32 operationID, DateTime operationDate, Int32 warehouseID, IChronologicValidator parentValidator, DataTable dataSource)
at ApskaitaObjects.Goods.OperationalLimitList.GetOperationalLimitList(GoodsSummary goodsSummary, GoodsOperationType operationType, Int32 operationID, DateTime operationDate, Int32 warehouseID, IChronologicValidator parentValidator, DataTable dataSource)
at ApskaitaObjects.Goods.GoodsOperationAcquisition.Fetch(OperationPersistenceObject obj, DataTable limitationsDataSource, IChronologicValidator parentValidator)
at ApskaitaObjects.Goods.GoodsOperationAcquisition.Fetch(Int32 nID, IChronologicValidator parentValidator)
at ApskaitaObjects.Goods.GoodsOperationAcquisition..ctor(Int32 nID, IChronologicValidator parentValidator, Boolean createNew)
at ApskaitaObjects.Documents.InvoiceAdapters.GoodsAcquisitionInvoiceAdapter.Fetch(Int32 attachedObjectId, IChronologicValidator parentChronologyValidator, Boolean forInvoiceMade)
at ApskaitaObjects.Documents.InvoiceAdapters.GoodsAcquisitionInvoiceAdapter..ctor(Int32 attachedObjectId, IChronologicValidator parentChronologyValidator, Boolean forInvoiceMade)
at ApskaitaObjects.Documents.InvoiceAdapters.InvoiceAdapterFactory.GetInvoiceAdapter(InvoiceAdapterType adapterType, Int32 operationID, IChronologicValidator parentValidator, Boolean forInvoiceMade)
at ApskaitaObjects.Documents.InvoiceReceivedItem.Fetch(DataRow dr, Double invoiceCurrencyRate, SimpleChronologicValidator baseChronologyValidator)
at ApskaitaObjects.Documents.InvoiceReceivedItem..ctor(DataRow dr, Double invoiceCurrencyRate, SimpleChronologicValidator baseChronologyValidator)
at ApskaitaObjects.Documents.InvoiceReceivedItemList.Fetch(InvoiceReceived parentInvoice, SimpleChronologicValidator baseChronologyValidator)
at ApskaitaObjects.Documents.InvoiceReceivedItemList..ctor(InvoiceReceived parentInvoice, SimpleChronologicValidator baseChronologyValidator)
at ApskaitaObjects.Documents.InvoiceReceived.DataPortal_Fetch(Criteria criteria))
Klaidos šaltinis(Ex.Source):
Csla
Klaidos metodas (Ex.TargetSite):
Fetch
Klaidos stekas:
at ApskaitaObjects.Goods.OperationalLimitList.Fetch(GoodsSummary goodsSummary, GoodsOperationType operationType, Int32 operationID, DateTime operationDate, Int32 warehouseID, IChronologicValidator parentValidator, DataTable dataSource)
at ApskaitaObjects.Goods.OperationalLimitList..ctor(GoodsSummary goodsSummary, GoodsOperationType operationType, Int32 operationID, DateTime operationDate, Int32 warehouseID, IChronologicValidator parentValidator, DataTable dataSource)
at ApskaitaObjects.Goods.OperationalLimitList.GetOperationalLimitList(GoodsSummary goodsSummary, GoodsOperationType operationType, Int32 operationID, DateTime operationDate, Int32 warehouseID, IChronologicValidator parentValidator, DataTable dataSource)
at ApskaitaObjects.Goods.GoodsOperationAcquisition.Fetch(OperationPersistenceObject obj, DataTable limitationsDataSource, IChronologicValidator parentValidator)
at ApskaitaObjects.Goods.GoodsOperationAcquisition.Fetch(Int32 nID, IChronologicValidator parentValidator)
at ApskaitaObjects.Goods.GoodsOperationAcquisition..ctor(Int32 nID, IChronologicValidator parentValidator, Boolean createNew)
at ApskaitaObjects.Documents.InvoiceAdapters.GoodsAcquisitionInvoiceAdapter.Fetch(Int32 attachedObjectId, IChronologicValidator parentChronologyValidator, Boolean forInvoiceMade)
at ApskaitaObjects.Documents.InvoiceAdapters.GoodsAcquisitionInvoiceAdapter..ctor(Int32 attachedObjectId, IChronologicValidator parentChronologyValidator, Boolean forInvoiceMade)
at ApskaitaObjects.Documents.InvoiceAdapters.InvoiceAdapterFactory.GetInvoiceAdapter(InvoiceAdapterType adapterType, Int32 operationID, IChronologicValidator parentValidator, Boolean forInvoiceMade)
at ApskaitaObjects.Documents.InvoiceReceivedItem.Fetch(DataRow dr, Double invoiceCurrencyRate, SimpleChronologicValidator baseChronologyValidator)
at ApskaitaObjects.Documents.InvoiceReceivedItem..ctor(DataRow dr, Double invoiceCurrencyRate, SimpleChronologicValidator baseChronologyValidator)
at ApskaitaObjects.Documents.InvoiceReceivedItemList.Fetch(InvoiceReceived parentInvoice, SimpleChronologicValidator baseChronologyValidator)
at ApskaitaObjects.Documents.InvoiceReceivedItemList..ctor(InvoiceReceived parentInvoice, SimpleChronologicValidator baseChronologyValidator)
at ApskaitaObjects.Documents.InvoiceReceived.DataPortal_Fetch(Criteria criteria)
at Csla.MethodCaller.CallMethod(Object obj, MethodInfo info, Object[] parameters)
at Csla.Server.SimpleDataPortal.Fetch(Type objectType, Object criteria, DataPortalContext context)
at Csla.DataPortal.Fetch(Type objectType, Object criteria)
at Csla.DataPortal.Fetch[T](Object criteria)
at ApskaitaObjects.Documents.InvoiceReceived.GetInvoiceReceived(Int32 nID)
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
DataPortal_Fetch method call failed
Klaidos šaltinis(Ex.Source):
Csla
Klaidos metodas (Ex.TargetSite):
CallMethod
Klaidos stekas:
at ApskaitaObjects.Goods.OperationalLimitList.Fetch(GoodsSummary goodsSummary, GoodsOperationType operationType, Int32 operationID, DateTime operationDate, Int32 warehouseID, IChronologicValidator parentValidator, DataTable dataSource)
at ApskaitaObjects.Goods.OperationalLimitList..ctor(GoodsSummary goodsSummary, GoodsOperationType operationType, Int32 operationID, DateTime operationDate, Int32 warehouseID, IChronologicValidator parentValidator, DataTable dataSource)
at ApskaitaObjects.Goods.OperationalLimitList.GetOperationalLimitList(GoodsSummary goodsSummary, GoodsOperationType operationType, Int32 operationID, DateTime operationDate, Int32 warehouseID, IChronologicValidator parentValidator, DataTable dataSource)
at ApskaitaObjects.Goods.GoodsOperationAcquisition.Fetch(OperationPersistenceObject obj, DataTable limitationsDataSource, IChronologicValidator parentValidator)
at ApskaitaObjects.Goods.GoodsOperationAcquisition.Fetch(Int32 nID, IChronologicValidator parentValidator)
at ApskaitaObjects.Goods.GoodsOperationAcquisition..ctor(Int32 nID, IChronologicValidator parentValidator, Boolean createNew)
at ApskaitaObjects.Documents.InvoiceAdapters.GoodsAcquisitionInvoiceAdapter.Fetch(Int32 attachedObjectId, IChronologicValidator parentChronologyValidator, Boolean forInvoiceMade)
at ApskaitaObjects.Documents.InvoiceAdapters.GoodsAcquisitionInvoiceAdapter..ctor(Int32 attachedObjectId, IChronologicValidator parentChronologyValidator, Boolean forInvoiceMade)
at ApskaitaObjects.Documents.InvoiceAdapters.InvoiceAdapterFactory.GetInvoiceAdapter(InvoiceAdapterType adapterType, Int32 operationID, IChronologicValidator parentValidator, Boolean forInvoiceMade)
at ApskaitaObjects.Documents.InvoiceReceivedItem.Fetch(DataRow dr, Double invoiceCurrencyRate, SimpleChronologicValidator baseChronologyValidator)
at ApskaitaObjects.Documents.InvoiceReceivedItem..ctor(DataRow dr, Double invoiceCurrencyRate, SimpleChronologicValidator baseChronologyValidator)
at ApskaitaObjects.Documents.InvoiceReceivedItemList.Fetch(InvoiceReceived parentInvoice, SimpleChronologicValidator baseChronologyValidator)
at ApskaitaObjects.Documents.InvoiceReceivedItemList..ctor(InvoiceReceived parentInvoice, SimpleChronologicValidator baseChronologyValidator)
at ApskaitaObjects.Documents.InvoiceReceived.DataPortal_Fetch(Criteria criteria)
at Csla.MethodCaller.CallMethod(Object obj, MethodInfo info, Object[] parameters)
at Csla.Server.SimpleDataPortal.Fetch(Type objectType, Object criteria, DataPortalContext context)
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
Value cannot be null.
Parameter name: goodsSummary
Klaidos šaltinis(Ex.Source):
ApskaitaObjects
Klaidos metodas (Ex.TargetSite):
Fetch
Klaidos stekas:
at ApskaitaObjects.Goods.OperationalLimitList.Fetch(GoodsSummary goodsSummary, GoodsOperationType operationType, Int32 operationID, DateTime operationDate, Int32 warehouseID, IChronologicValidator parentValidator, DataTable dataSource)
at ApskaitaObjects.Goods.OperationalLimitList..ctor(GoodsSummary goodsSummary, GoodsOperationType operationType, Int32 operationID, DateTime operationDate, Int32 warehouseID, IChronologicValidator parentValidator, DataTable dataSource)
at ApskaitaObjects.Goods.OperationalLimitList.GetOperationalLimitList(GoodsSummary goodsSummary, GoodsOperationType operationType, Int32 operationID, DateTime operationDate, Int32 warehouseID, IChronologicValidator parentValidator, DataTable dataSource)
at ApskaitaObjects.Goods.GoodsOperationAcquisition.Fetch(OperationPersistenceObject obj, DataTable limitationsDataSource, IChronologicValidator parentValidator)
at ApskaitaObjects.Goods.GoodsOperationAcquisition.Fetch(Int32 nID, IChronologicValidator parentValidator)
at ApskaitaObjects.Goods.GoodsOperationAcquisition..ctor(Int32 nID, IChronologicValidator parentValidator, Boolean createNew)
at ApskaitaObjects.Documents.InvoiceAdapters.GoodsAcquisitionInvoiceAdapter.Fetch(Int32 attachedObjectId, IChronologicValidator parentChronologyValidator, Boolean forInvoiceMade)
at ApskaitaObjects.Documents.InvoiceAdapters.GoodsAcquisitionInvoiceAdapter..ctor(Int32 attachedObjectId, IChronologicValidator parentChronologyValidator, Boolean forInvoiceMade)
at ApskaitaObjects.Documents.InvoiceAdapters.InvoiceAdapterFactory.GetInvoiceAdapter(InvoiceAdapterType adapterType, Int32 operationID, IChronologicValidator parentValidator, Boolean forInvoiceMade)
at ApskaitaObjects.Documents.InvoiceReceivedItem.Fetch(DataRow dr, Double invoiceCurrencyRate, SimpleChronologicValidator baseChronologyValidator)
at ApskaitaObjects.Documents.InvoiceReceivedItem..ctor(DataRow dr, Double invoiceCurrencyRate, SimpleChronologicValidator baseChronologyValidator)
at ApskaitaObjects.Documents.InvoiceReceivedItemList.Fetch(InvoiceReceived parentInvoice, SimpleChronologicValidator baseChronologyValidator)
at ApskaitaObjects.Documents.InvoiceReceivedItemList..ctor(InvoiceReceived parentInvoice, SimpleChronologicValidator baseChronologyValidator)
at ApskaitaObjects.Documents.InvoiceReceived.DataPortal_Fetch(Criteria criteria)