Hi
I have been faced the above error message "something's gone wrong and AccountRight needs to close" since the 27th of this month till now. Its urgent now in my situation so could please guide me to the best solution of the solve this problem.
Regards
Kiat
AccountRight Application Error Report
=====================================
Application Version: 2015.1.17.580
Application File Version: 2015.1.17.580
Time: Friday, March 31, 2017 4:26:27 PM
Code:
System.InvalidOperationException
Message:
The null value cannot be assigned to a member with type System.Decimal which is a non-nullable value type.
Stack Trace
----------------------------------
1 : (System.InvalidOperationException)
The null value cannot be assigned to a member with type System.Decimal which is a non-nullable value type.
at Read_CardLookupInternalMappingClass(ObjectMaterializer`1 )
at System.Data.Linq.SqlClient.ObjectReaderCompiler.ObjectReader`2.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at MYOB.Huxley.Services.Presentation.Services.PresentationLookupRepository.GetAllCardLookups(LookupRangeFilter rangeFilter)
at MYOB.Huxley.Services.Presentation.Services.PresentationLookupService.GetAllLookups(SetType setType, LookupRangeFilter rangeFilter)
at MYOB.Huxley.ApplicationServices.Core.ObjectContainerServiceBase`2.SetLookupValuesDelta(CompositeObjectBase`1 composite, SetType setType, IRowVersionSummary versionSummary, IObjectSetVersion clientSet)
at MYOB.Huxley.ApplicationServices.Core.ObjectContainerServiceBase`2.SetLookupValuesWithDeltaQuery(CompositeObjectBase`1 composite, SetType setType)
at MYOB.Huxley.ApplicationServices.Core.ObjectContainerServiceBase`2.SetLookupValues(CompositeObjectBase`1 composite, SetType setType)
at MYOB.Huxley.ApplicationServices.Container.SaleEventContainerService.SetupCompositeObject(CompositeObjectBase`1 composite)
at MYOB.Huxley.ApplicationServices.Core.ObjectContainerServiceBase`2.GetCompositeObject(IEnumerable`1 objectSetVersions)
at MYOB.Huxley.ApplicationServices.Core.ObjectContainerBusinessServiceBase`2.GetCompositeObjectNewContainer(IEnumerable`1 objectSetVersions)
at MYOB.Huxley.ApplicationServices.Container.SaleEventContainerService.GetCompositeObjectNewSaleEventContainer(IEnumerable`1 objectSetVersions, ISaleEventResetParameters resetParameters)
at MYOB.Huxley.ApplicationServices.Container.SaleContainerService.GetCompositeObjectNewSaleEventContainer(IEnumerable`1 objectSetVersions, ISaleEventResetParameters resetParameters)
at MYOB.Huxley.UI.Decorators.Services.DecoratorServiceMYOBHuxleyApplicationServicesContainerAPIISaleContainerService.MYOB.Huxley.ApplicationServices.Container.API.ISaleContainerService.GetCompositeObjectNewSaleEventContainer(IEnumerable`1 objectSetVersions, ISaleEventResetParameters resetParameters)
at MYOB.Huxley.UI.Model.Context.EnterSaleContext.<>c__DisplayClass8.<GetCompositeObjectNewSaleEventContainer>b__6()
at MYOB.Huxley.UI.Model.Context.Base.UIContextContainer`2.InvokeContainerGet(Func`1 getFunction, Boolean force)
at MYOB.Huxley.UI.Model.Context.EnterSaleContext.GetCompositeObjectNewSaleEventContainer(ISaleEventResetParameters resetParameters)
at MYOB.Huxley.UI.Controllers.Sales.EnterSalesInvoiceController.GetNewItem()
at MYOB.Huxley.UI.Controllers.Base.BaseControllerBusinessObject`5.get_DataRecord()
at MYOB.Huxley.UI.Controllers.Sales.EnterSalesInvoiceController.GetCurrentLayoutType()
at MYOB.Huxley.UI.Forms.Sales.EnterSalesBase.SetupContainer()
at MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.InitializeContainer(IUIViewPresenter uiPresenter, IController parentController, IUIContext context, EntityInfo eInfo)
at MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.InitialiseChildren(Control container, IUIViewPresenter uiPresenter, IController controller, IUIContext context, EntityInfo eInfo)
at MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.InitializeContainer(IUIViewPresenter uiPresenter, IController parentController, IUIContext context, EntityInfo eInfo)
at MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.DynamicContainerLoad(String resourceId, String name, IController controller, IUIContext context, EntityInfo eInfo)
at MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.DynamicContainerLoad(String resourceId, IUIContext context, EntityInfo eInfo)
at MYOB.Huxley.UI.Forms.BaseForms.BaseViewForm.InitializeForm(UIViewType ViewType, IUIViewPresenter uiViewPresenter, String containerResourceID, IUICompanyFile companyFile, EntityInfo eInfo, Boolean showAsModal, BeginNotificationRefreshMethod refreshMethod)
at MYOB.Huxley.UI.Framework.Presenter.UIViewFactory.GetForm(UIViewType viewType, EntityInfo eInfo, IUIViewPresenter presenter, Boolean showAsModal, BeginNotificationRefreshMethod refreshMethod)
at MYOB.Huxley.UI.Framework.Presenter.UIViewFactory.Show(IUIViewPresenter presenter, UIViewType viewType, Boolean showDialog, EntityInfo eInfo, IUIContext context, Boolean visible, BeginNotificationRefreshMethod refreshMethod)
at MYOB.Huxley.UI.Framework.Presenter.UIViewPresenter.ShowUIView(UIViewType uiViewType, EntityInfo entityInfo, BeginNotificationRefreshMethod refreshMethod)
at MYOB.Huxley.UI.Framework.Presenter.UIViewPresenter.ShowUIView(UIViewType uiViewType, EntityInfo entityInfo)
at MYOB.Huxley.UI.Forms.CommandCentre.CommandCentreSales.staEnterSales_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e)
at DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
at DevExpress.XtraEditors.BaseControl.WndProc(Message& msg)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
----------------------------------
----------------------------------