Forum Discussion

RG6's avatar
RG6
User
2 years ago
Solved

System crashing when entering stock purchases

Entering stock purchase and 

1 : System.NullReferenceException error comes up.

 

I have rebooted computer, shut down computer, and nothing seems to work

 

 

AccountRight Application Error Report

=====================================

Application Version: 2023.2.24.7960

Application File Version: 2023.2.24.7960 Incident Id: b22bec6c-67b6-45f5-a23c-b6e46257b1de

Time: Monday, 20 March 2023 2:12:19 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!0x0600572c!System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +0x27

   at mscorlib!0x06005737!System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +0x1b3

   at Huxley.Service.Gateway!0x06001a26!MYOB.Huxley.Service.Gateway.API.IGatewayService.Dispatch(String name, Object[] arguments)

   at Huxley.Service.Proxy!0x06001545!MYOB.Huxley.Service.Proxy.Services.ProxyPurchaseEventService.Validate(Object entity, IEnumerable`1 propertyNames) +0x0

   at Huxley.UI.Decorators!0x06002696!MYOB.Huxley.UI.Decorators.Services.DecoratorServiceMYOBHuxleyAPIServicesAccountingIIntPurchaseEventService.MYOB.Huxley.API.Services.Core.IValidator.Validate(Object entity, IEnumerable`1 propertyNames) +0x52

   at Huxley.UI.Model!0x06002914!MYOB.Huxley.UI.Model.Facades.Base.UIObject`1.GetValidationResults(Object businessObject, IEnumerable`1 propertyNames, Boolean shouldRunInBackground) +0x0

   at Huxley.UI.Model!0x06002912!MYOB.Huxley.UI.Model.Facades.Base.UIObject`1.ProduceUIValidationResults(IEnumerable`1 businessObjectPropertyMappings, Boolean shouldRunInBackground) +0x156

   at Huxley.UI.Model!0x0600290e!MYOB.Huxley.UI.Model.Facades.Base.UIObject`1.ProcessValidationForPropertyMapping(IEnumerable`1 busObjPropMaps, Boolean shouldRunInBackground) +0x2d

   at Huxley.UI.Model!0x0600290d!MYOB.Huxley.UI.Model.Facades.Base.UIObject`1.ValidateUIModel(IEnumerable`1 propertyName, Boolean shouldRunInBackground) +0xac

   at Huxley.UI.Model!0x0600290a!MYOB.Huxley.UI.Model.Facades.Base.UIObject`1.ValidationResults(IEnumerable`1 propertyNames, Boolean shouldRunInBackground) +0x7

   at Huxley.UI.Model!0x06002908!MYOB.Huxley.UI.Model.Facades.Base.UIObject`1.ValidationResultsNoThread(IList`1 propertyNames) +0x7

   at Huxley.UI.Controls!0x06000517!MYOB.Huxley.UI.Controls.External.ExtGridView.worker_DoWork(Object sender, DoWorkEventArgs e) +0x41

   at System!0x0600314c!System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) +0x19

   at System!0x0600315c!System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument) +0xe ==========

MODULE: Huxley.Service.Gateway => Huxley.Service.Gateway, Version=2023.2.24.7960, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:0c962201d04c4363b68b5cc958553a80; A:1

MODULE: Huxley.Service.Proxy => Huxley.Service.Proxy, Version=2023.2.24.7960, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:2401b74db22f43bbad3d2ccd5df85d4f; A:1

MODULE: Huxley.UI.Controls => Huxley.UI.Controls, Version=2023.2.24.7960, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:36ddbb440e1c46dd875699faa3c0e83f; A:1

MODULE: Huxley.UI.Decorators => Huxley.UI.Decorators, Version=2023.2.24.7960, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:a3f9903e018e499991d6085c93c1b2d0; A:1

MODULE: Huxley.UI.Model => Huxley.UI.Model, Version=2023.2.24.7960, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:e7736018ff2a46c7ad7d72fc2eb68ca0; A:1

MODULE: mscorlib => mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:e802975d87a14ffa8a6a0836952ea231; A:2

MODULE: System => System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:9356c0a4d80e4e679da8d57f9dae1dd9; A:2

  • Hi RG6 

     

    Likely cause is a missing setting or file corruption, so restarting etc won't resolve. It if happens on a specific Item, then check all settings for that item, for example that there are linked accounts for I Buy I Sell etc, there are tax codes linked, the tax codes have linked accounts etc.

     

    It is is happening for a specific customer/supplier, check all settings on their cards for anything missing.

     

    It if happening on all items, then likely cause is file corruption and you will need MYOB to look at the file and repair.

     

    NullReferenceException happens when MYOB needs a field or a link that doesn't exist, such as a tax code.

     

    Regards

    Gavin

2 Replies

Replies have been turned off for this discussion
  • Trying to enter purchase (inventory) error contiualy comes up

     

    Was working fine last week

     

    • gavin12345's avatar
      gavin12345
      Ultimate User

      Hi RG6 

       

      Likely cause is a missing setting or file corruption, so restarting etc won't resolve. It if happens on a specific Item, then check all settings for that item, for example that there are linked accounts for I Buy I Sell etc, there are tax codes linked, the tax codes have linked accounts etc.

       

      It is is happening for a specific customer/supplier, check all settings on their cards for anything missing.

       

      It if happening on all items, then likely cause is file corruption and you will need MYOB to look at the file and repair.

       

      NullReferenceException happens when MYOB needs a field or a link that doesn't exist, such as a tax code.

       

      Regards

      Gavin