IvyTools

General Category => General Discussion => Topic started by: darrenforce on October 31, 2019, 08:16:45 AM

Title: Windows Forms 'System.TypeInitializationException' in IKVM.OpenJDK.Util.dll
Post by: darrenforce on October 31, 2019, 08:16:45 AM
Whenever I try to run

PdfParser p = new PdfParser(IvyDocumentReader.ReadPdf(path + "5000017_395.pdf"));

I get an error

Exception thrown: 'System.TypeInitializationException' in IKVM.OpenJDK.Util.dll
An unhandled exception of type 'System.TypeInitializationException' occurred in IKVM.OpenJDK.Util.dll
The type initializer for 'java.util.logging.LogManager' threw an exception.


Any advice would be appreciated.

Title: Re: Windows Forms 'System.TypeInitializationException' in IKVM.OpenJDK.Util.dll
Post by: admin on November 05, 2019, 05:25:50 PM
Hi, thank you for the error report.

Could you please provide the version of IvyPdf that you are using?

Is it happening with one specific PDF or many files? If it's one PDF would you be able to share it, so I could take a deeper look? (support@ivytools.net)

Also, could you try the new version 1.60 please? It using a different way to read PDFs, not depending on IKVM anymore.

Thank you,
Andrew
Title: Re: Windows Forms 'System.TypeInitializationException' in IKVM.OpenJDK.Util.dll
Post by: darrenforce on January 14, 2020, 12:18:04 PM
This solved the issue

Thanks