Forum Discussion

Harold_M's avatar
Harold_M
Experienced User
5 years ago

System.NullReferenceException

Hi All

 

Was hoping someone could help.

 

Just today consistenly our accountant/book keeper occassionally gets a "System.NullReferenceException" when trying to create an invoice on the Sales screen.

 

The only solution that has worked is restarting Account Right.  After which this will allow the user to process the invoice that raised the issue and continue.  Sporadically it will happen again.

 

I have attached the error log of one such instance to this post.

 

Uncertain why this is happening or how to fix, any guidance that can be provided would be most helpful.

 

Sincerely
Harold

 

 

 

 

  • Komal_S's avatar
    Komal_S
    5 years ago

    Hi Harold_M 


    Thank you for providing additional details. Can you please try disabling the preference for automatically emailing the invoices before trying to record the invoice? This can be done by going to Setup>>Preferences>>Sales>>>untick Automatically Email sales when they are recorded. 

     

    This is because some users having similar issues with recurring transactions have been able to get around the situation by disabling the preference, and as you mentioned it's working on some computers and not on others, it can be worthwhile giving this a try. 

  • Hi Harold_M 


    Can you please confirm if it happens when you're trying to record an invoice as recurring transaction? If yes, is it letting you record it from the Enter Sales screen manually without any issues?

     

    This is because if the invoice is being recorded from the Enter Sales screen using "Use recurring" option, this error can be caused due to an issue with the recurring transactions and is currently under investigation with the product development team. 

    Let us know if that is not the case so we can advise accordingly. 

    • Harold_M's avatar
      Harold_M
      Experienced User

      Hi Komal

       

      Thank you for this it does provide some insight into what is happening and yes we are using the Recurring option.

       

      Do you know if there is a published expected time frame for the issue to be resolved?  As the recurring option is heavily used to reduce processing time by our book keeper.

       

      Sincerely

      Harold

      • Komal_S's avatar
        Komal_S
        MYOB Staff

        Hi Harold_M 


        Unfortunately, we do not have an estimated time frame of when it will be fixed permanently, however, the teams are working on it and we will post an update as soon as the fix is released. 


        We do apologise for inconvenience caused due to this. 

  • welkojje's avatar
    welkojje
    Contributing Cover User

    We have also had this issue - it occurs when you go to convert a quote or order to a sale invoice. We have installed the latest updates and followed all the suggestions. Yes, disabling the Automatic Emal function does appear to solve the issue but that is NOT a solution - this is a retrograde step as it means we can not use the automated technology that's part of the system. There has to be a better solution to this - and it has been happening through several versions of the latest software - not just the current version 2020.4.24.1790

     

    This needs to be fixed ASAP as it is a total inconvenience

    • Komal_S's avatar
      Komal_S
      MYOB Staff

      Hi welkojje 

       

      Yes, we do understand that this workaround is not ideal in all situations and appreciate your feedback on this which has been passed on to the relevant teams. We will post an update once the issue is resolved permanently.