System.NullReferenceException
I get the following error when I convert a purchase order to a bill. It happens to only 1 particular purchase order. Other purchase order can be converted to bill. Please assist.
AccountRight Application Error Report
=====================================
Application Version: 2024.7.1.14
Application File Version: 2024.7.1.14
Incident Id: fb142f14-d092-4bd8-91ec-4219568466d6
Time: Monday, 9 September 2024 3:13:53 pm
Code:
System.NullReferenceException
Message:
Object reference not set to an instance of an object.
Stack Trace
----------------------------------------
1 : System.NullReferenceException
----------------------------------------
System.NullReferenceException: Object reference not set to an instance of an object.
at mscorlib!0x06005849!System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +0x27
at mscorlib!0x06005854!System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +0x1b3
at Huxley.Service.Gateway!0x06001a33!MYOB.Huxley.Service.Gateway.API.IGatewayService.Dispatch(String name, Object[] arguments)
at Huxley.Service.Proxy!0x06001558!MYOB.Huxley.Service.Proxy.Services.ProxyPurchaseEventService.Validate(Object entity, IEnumerable`1 propertyNames) +0x0
at Huxley.UI.Decorators!0x060026a8!MYOB.Huxley.UI.Decorators.Services.DecoratorServiceMYOBHuxleyAPIServicesAccountingIIntPurchaseEventService.MYOB.Huxley.API.Services.Core.IValidator.Validate(Object entity, IEnumerable`1 propertyNames) +0x52
at Huxley.UI.Model!0x060029d2!MYOB.Huxley.UI.Model.Facades.Base.UIObject`1.GetValidationResults(Object businessObject, IEnumerable`1 propertyNames, Boolean shouldRunInBackground) +0x0
at Huxley.UI.Model!0x060029d0!MYOB.Huxley.UI.Model.Facades.Base.UIObject`1.ProduceUIValidationResults(IEnumerable`1 businessObjectPropertyMappings, Boolean shouldRunInBackground) +0x156
at Huxley.UI.Model!0x060029cc!MYOB.Huxley.UI.Model.Facades.Base.UIObject`1.ProcessValidationForPropertyMapping(IEnumerable`1 busObjPropMaps, Boolean shouldRunInBackground) +0x2d
at Huxley.UI.Model!0x060029cb!MYOB.Huxley.UI.Model.Facades.Base.UIObject`1.ValidateUIModel(IEnumerable`1 propertyName, Boolean shouldRunInBackground) +0xac
at Huxley.UI.Model!0x060029c8!MYOB.Huxley.UI.Model.Facades.Base.UIObject`1.ValidationResults(IEnumerable`1 propertyNames, Boolean shouldRunInBackground) +0x7
at Huxley.UI.Model!0x060029c6!MYOB.Huxley.UI.Model.Facades.Base.UIObject`1.ValidationResultsNoThread(IList`1 propertyNames) +0x7
at Huxley.UI.Controls!0x06000518!MYOB.Huxley.UI.Controls.External.ExtGridView.worker_DoWork(Object sender, DoWorkEventArgs e) +0x41
at System!0x0600314d!System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) +0x19
at System!0x0600315d!System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument) +0xe
==========
MODULE: Huxley.Service.Gateway => Huxley.Service.Gateway, Version=2024.7.1.14, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:93c602ab23e248e78744f582918a4b2e; A:1
MODULE: Huxley.Service.Proxy => Huxley.Service.Proxy, Version=2024.7.1.14, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:7b88c8a2eef24bbc822fd708d22c62fc; A:1
MODULE: Huxley.UI.Controls => Huxley.UI.Controls, Version=2024.7.1.14, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:1074a956c7f64346a419e881e14a9d49; A:1
MODULE: Huxley.UI.Decorators => Huxley.UI.Decorators, Version=2024.7.1.14, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:ddb0b6111ee344fe96067f996c1b7ccd; A:1
MODULE: Huxley.UI.Model => Huxley.UI.Model, Version=2024.7.1.14, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:82dba2cb5aa745e9add586778ebd4eed; A:1
MODULE: mscorlib => mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:56eb4a4fc9654b8db809abe09216e8b8; A:2
MODULE: System => System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:ee5a8f0b7e6a4090aeb9617e93f5db24; A:2
----------------------------------------