Since I’ve updated to MacOS Catalina I cannot export to PDF anymore. The app freezes and I get this error:
19.10.30: System.NullReferenceException: Object reference not set to an instance of an object
at #=zSmX8hKcJs3r8WAikExzFz_gdA9$VMjACQQ==.#=zd$zHhy4I$g9ujS4r$z$isAM= (System.Int32 #=zmC9yUUf1BTke) [0x00032] in <125cd5dc7a46453df2a18935259c1fde>:0
at #=z1X$ucdkRT2mjoOBeBtBke1422hTM7CCN1A==+#=zO1vrT1CgqJVVJFuE8Yu1rJI=.MoveNext () [0x00105] in <125cd5dc7a46453df2a18935259c1fde>:0
at Apitron.PDF.Kit.FixedLayout.Resources.Fonts.Font.#=zgxZDzbJ5pKSTmJ8WwbtuWV4= (System.String #=zRgl5CMw88Mov, System.Int32 #=zb1oTWqM=, System.Char #=znYkqaxHU5cONbEmIXA==) [0x0035d] in <125cd5dc7a46453df2a18935259c1fde>:0
at Apitron.PDF.Kit.FixedLayout.Resources.Fonts.Font…ctor (System.String resourceID, System.String fontDefinition, System.Int32 fontIndex) [0x0000f] in <125cd5dc7a46453df2a18935259c1fde>:0
at #=zcl6DiKLvmrKZdr_ZqydUq0lUaPcWPE7zGR_aBPQ=.#=z5VnhiZw= (#=zrIY124Gq7rWVn1GetO$Q9qPEhFs5SJBhME_fvBY= #=zMmlCtjg=) [0x0008e] in <125cd5dc7a46453df2a18935259c1fde>:0
at #=z5QUDtrbUprQ$Ll0KlsZ4AIOrZZiw7k58kmz1N9CzH2_2…ctor (System.String #=z_iX2LME=, #=zcl6DiKLvmrKZdr_ZqydUq0lUaPcWPE7zGR_aBPQ= #=zhjHfyj4o6RT7, System.String #=z0DbwhQpBiqHB, System.Double #=zEwPpQjhldqp2, System.Double #=zioKsTS8DJk3x, System.Double #=z7rEmzS4=, System.Double #=z53vVC0HkOSAd, System.Boolean #=zt$Juw6Zw0qmv) [0x000be] in <125cd5dc7a46453df2a18935259c1fde>:0
at Apitron.PDF.Kit.FlowLayout.Content.TextBlock.Measure (Apitron.PDF.Kit.FixedLayout.Resources.ResourceManager resourceManager) [0x0010a] in <125cd5dc7a46453df2a18935259c1fde>:0
at ManagerServer.Extensions.PdfConverter.GetMinWidth (Apitron.PDF.Kit.FlowLayout.ContentElement contentElement, System.Boolean nowrap, Apitron.PDF.Kit.FixedLayout.Resources.ResourceManager resourceManager) [0x0007e] in :0
at ManagerServer.Extensions.PdfConverter.GetMinWidth (Apitron.PDF.Kit.FlowLayout.ContentElement contentElement, System.Boolean nowrap, Apitron.PDF.Kit.FixedLayout.Resources.ResourceManager resourceManager) [0x000f4] in :0
at ManagerServer.Extensions.PdfConverter.GetMinWidth (Apitron.PDF.Kit.FlowLayout.ContentElement contentElement, System.Boolean nowrap, Apitron.PDF.Kit.FixedLayout.Resources.ResourceManager resourceManager) [0x000f4] in :0
at ManagerServer.Extensions.PdfConverter.Tr (AngleSharp.Dom.Html.IHtmlTableRowElement node, Apitron.PDF.Kit.Styles.Text.Font font, Apitron.PDF.Kit.FixedLayout.Resources.ResourceManager resourceManager) [0x0014b] in :0
at ManagerServer.Extensions.PdfConverter.Table (AngleSharp.Dom.Html.IHtmlTableElement node, Apitron.PDF.Kit.Styles.Text.Font font, Apitron.PDF.Kit.FixedLayout.Resources.ResourceManager resourceManager) [0x000f3] in :0
at ManagerServer.Extensions.PdfConverter.ContentElement (AngleSharp.Dom.INode node, Apitron.PDF.Kit.Styles.Text.Font font, System.Boolean nowrap, Apitron.PDF.Kit.FixedLayout.Resources.ResourceManager resourceManager) [0x00016] in :0
at ManagerServer.Extensions.PdfConverter.ContentElement (AngleSharp.Dom.INode node, Apitron.PDF.Kit.Styles.Text.Font font, System.Boolean nowrap, Apitron.PDF.Kit.FixedLayout.Resources.ResourceManager resourceManager) [0x00180] in :0
at ManagerServer.Extensions.PdfConverter.Tr (AngleSharp.Dom.Html.IHtmlTableRowElement node,
This is not a problem related to the Catalina operating system, nor is it universal within Manager v19.10.30 (the one you were using). I can generate and save PDFs from multiple businesses, multiple tabs using Catalina on that version of Manager.
Are you using a custom theme? If so, does the problem persist when using the built-in Plain theme? Your dialog box shows many issues with fonts. It may be you are using a custom theme that references fonts incompatible with Catalina’s 64-bit-only architecture.
This forum is not the place to obtain debugging help for your custom themes. But I notice your first line of code does not exactly follow the Guide: https://www.manager.io/guides/18025. Also pay attention to the Caution at the end. You are really on your own for this. And understand that because Manager’s internal PDF generator must handle 80-plus languages, some with different alphabets, font substitutions are one of the trickier things to handle in custom themes. Less adventurous is usually wiser.
I have a similar issue (different error, not related to a theme, but same process). If I create a new business, no theme at all, I can recreate the problem on on Mac OS 10.14.5.
Recently upgraded to 21.1.54 (Desktop edition) and now I can’t generate PDFs or print any of my quotes or invoices. I could prior to upgrade. Other software on my Mac can generate PDFs without issue, so it seems local to the recent update of Manager. Has anyone else had this issue / got any advice? Thanks!
The version of Manager I used to use on my Dell, I could save quotes, invoices and purchase orders as PDF files. My Dell died and now I’m using my Mac for work. There is no longer a Save To PDF or whatever tab I used to have. Now I have to “Print” and then go to Save As A PDF. It’ll save, but it crashes the program every single time and I can’t figure out why.
First, what you describe is not a function of Manager. When you use the Print button, you are relying on built-in features of macOS. So the problem will most likely lie there. Frequently, PDF problems are related to fonts.
Exactly, what happened to mine ! (Desktop Version)
I have no problem before Mac OS Catalina till then OS Big Sur (with MacAir M1)
Have to use the same method as yours i.e. “Save As PDF” , but
even though it crash (not every time only some time) file still at the destination I saved.
I used built in theme, it crashed both Plain and Customized Built-in-Theme.
Content in my various forms is with both English and Thai language (to comply with taxation rules)
Hope this provide more details of the problem. I leave it as it is, since the file is at the desired destination. Over all I pleased with Manager, and it is free no complaint, but this hold me back
for further up with Paid Cloud Edition tho !