Ubuntu 14.04 error on view invoice and create invoice

System.StackOverflowException: The requested operation caused a stack overflow.
at System.Text.RegularExpressions.Regex.Matches (System.String input, System.String pattern, RegexOptions options, TimeSpan matchTimeout) [0x00000] in :0
at System.Text.RegularExpressions.Regex.Matches (System.String input, System.String pattern, RegexOptions options, TimeSpan matchTimeout) [0x00000] in :0
at System.Text.RegularExpressions.Regex.Matches (System.String input, System.String pattern, RegexOptions options, TimeSpan matchTimeout) [0x00000] in :0
at System.Text.RegularExpressions.Regex.Matches (System.String input, System.String pattern, RegexOptions options, TimeSpan matchTimeout) [0x00000] in :0
at System.Text.RegularExpressions.Regex.Matches (System.String input, System.String pattern, RegexOptions options, TimeSpan matchTimeout) [0x00000] in :0
at System.Text.RegularExpressions.Regex.Matches (System.String input, System.String pattern, RegexOptions options, TimeSpan matchTimeout) [0x00000] in :0
at System.Text.RegularExpressions.Regex.Matches (System.String input, System.String pattern, RegexOptions options, TimeSpan matchTimeout) [0x00000] in :0
at System.Text.RegularExpressions.Regex.Matches (System.String input, System.String pattern, RegexOptions options, TimeSpan matchTimeout) [0x00000] in :0
at System.Text.RegularExpressions.Regex.Matches (System.String input, System.String pattern, RegexOptions options, TimeSpan matchTimeout) [0x00000] in :0
at System.Text.RegularExpressions.Regex.Matches (System.String input, System.String pattern, RegexOptions options, TimeSpan matchTimeout) [0x00000] in :0
at System.Text.RegularExpressions.Regex.Matches (System.String input, System.String pattern, RegexOptions options, TimeSpan matchTimeout) [0x00000] in :0
at System.Text.RegularExpressions.Regex.Matches (System.String input, System.String pattern, RegexOptions options, TimeSpan matchTimeout) [0x00000] in :0
at System.Text.RegularExpressions.Regex.Matches (System.String input, System.String pattern, RegexOptions options, TimeSpan matchTimeout) [0x00000] in :0

You need to provide detailed information about the circumstances or no one will be able to help.

Same error message here

Steps.

  1. Fresh install on debian 9
  2. Company named, customer created, new sales invoice created.
    3.After Create clicked the error message is displayed - several hundred rows of:

System.StackOverflowException: The requested operation caused a stack overflow.
at System.Text.RegularExpressions.Regex.Matches (System.String input, System.String pattern, RegexOptions options, TimeSpan matchTimeout) [0x00000] in :0

Same error displayed also when:

  1. Settings > Theme > View Theme

Is there some configuration work for me to do with a sales invoice template?
Is this a permissions problem?
Is there a log file for Manager Accounting? If so where?

Many thanks
Nick

This is the only question of yours I can answer. The answer is no unless you’ve created custom themes. The default theme, Plain, is always available and cannot be edited. Unless you proactively select a different theme, this is the one that will be used. No configuration is required for any other built-in theme, either. See Manager Guides. Built-in themes require only activation.

Can you post a screen shot of the sales invoice before you click Create?

Thanks for replying - appreciated.
See screenshot …

Something is amiss with your description of events. You wrote in your initial post, “After Create clicked the error message is displayed…” But sales invoice #4 already exists, meaning Create was clicked previously. Otherwise, there would not yet be an invoice number and the Update and Delete buttons would not show.

Did the error message appear when first creating this invoice? Did you then close and relaunch Manager? If so, was the sales invoice in the list? Does the error occur when creating all invoices or just one? Please furnish as much related information as you can. If this error occurs with all new sales invoices, post a screen shot of the input screen before you click Create, as I asked before.

Ok thanks. Hopefully this will clarify:

  1. Error displayed when creating any new invoice - not just one - doesn’t matter what is in the invoice. After error, restarting Manager, the invoice has been created and is on the list. Attempting to view it, or any other invoice results in …
  2. Error displayed when viewing an existing invoice
  3. Error displayed when viewing an existing theme but not when a custom theme is added.

Example view below of new sales invoice creation prior to Create button clicked. After clicking create the error occurs.

sudo apt install mono-devel

@Abu_Hasan, are you saying this is a fix? If so, can you furnish more detailed information so @DOQEX can follow your suggestion?

mono-devel is installed and already latest version.

Where are the log files for Manager? nothing seen in any of the usual candidates in /var/log/

I had similar situation.
After some googling, I uninstalled and reinstalled mono-devel.
And it fixed the issue.

Thanks Abu,

Un and reinstalled mono-devel - no change.
Un and reinstalled Manager.deb - no change.

Not wasting any more time on this - switching to the Windows .exe package on a Windows VM.

Cheers
Nick