Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Wed Aug 30, 2023 11:25 am

Hi team,

I'm using the spire.doc version 11.8.18 and .Net 6.0
When I convert docx file to pdf, it throw exception
System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=Spire.Doc
StackTrace:
at spr秀.㮽(spr黥 A_0)
at spr秀.㦻(spr黥 A_0, spr꟮ A_1)
at spr秀.㪼(spr黥 A_0, spr꟮ A_1)
at spr秀.㦻(spr黥 A_0, Boolean A_1)
at spr秀.㲾(spr黥 A_0)
at spr쬑.㦻(spr黥 A_0)
at spr郗.㪼(Boolean A_0)
at spr皽.㦻(sprㄸ A_0)
at spr邖.㦻(Document A_0, spr灶 A_1)
at Spire.Doc.Document.UpdatePageLayout()
at spr⚭.㦻()
at spr▬.㮽(spr㷄 A_0)
at spr㫁.㦻(spr㷄 A_0, spr㷄 A_1)
at spr㫁.㦻(DocumentObject A_0, spr㫁 A_1)
at Spire.Doc.Document.㮽()
at Spire.Doc.Document.㦻(Stream A_0, ToPdfParameterList A_1, FileFormat A_2)
at Spire.Doc.Document.㻀(Stream A_0, ToPdfParameterList A_1)
at Spire.Doc.Document.㶿(String A_0, ToPdfParameterList A_1)
at Spire.Doc.Document.㿁(String A_0)

Code: Select all
using Spire.Doc;
Console.WriteLine("Hello, World!");
Document document = new Document();
document.LoadFromFile(@"E:\error1.docx");
using (var blobStream = new MemoryStream())
{
    var param = new ToPdfParameterList
    {
        UsePSCoversion = true
    };
    document.SaveToStream(blobStream, param);
}

huannguyen
 
Posts: 4
Joined: Fri Aug 11, 2023 8:43 am

Thu Aug 31, 2023 1:46 am

Hi,

Thanks for your feedback.
After testing, I have reproduced the issue you mentioned and logged it into our issue tracking system with the ticket number SPIREDOC-9834, our dev team will investigate and fix it. Apologize for any inconvenience caused. Once the issue is fixed, I will inform you asap.

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Thu Aug 31, 2023 3:05 am

I'm having a lot of customer complaints about this error. Please let us know the results soon. Thank alot!

huannguyen
 
Posts: 4
Joined: Fri Aug 11, 2023 8:43 am

Thu Aug 31, 2023 6:20 am

Hi,

I need to confirm whether you have purchased our product. Based on your email information, I couldn't find any corresponding purchase records. If you have made a purchase, please provide us with the company name or order number associated with the purchase. If you haven't made a purchase, the priority of this issue will be classified as "C".

Thanks for your assistance and understanding.

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Thu Aug 31, 2023 6:49 am

Sure, I have subscription with Spire.Doc Pro Edition.
Can you provide your email or is there some way I can give you internal information?
Thanks

huannguyen
 
Posts: 4
Joined: Fri Aug 11, 2023 8:43 am

Thu Aug 31, 2023 7:08 am

Hi,

You can share it with via email ([email protected]). Thanks for your assistance and understanding.

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Thu Aug 31, 2023 7:10 am

Just did it. Please help to check the email. Thank you!

huannguyen
 
Posts: 4
Joined: Fri Aug 11, 2023 8:43 am

Thu Aug 31, 2023 7:25 am

Hi,

Thanks for your quick feedback.
I have received your email and given your two issues the highest priority. Once the issues are resolved, we will notify you immediately.

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Fri Sep 22, 2023 6:53 am

Hi,

Thanks for your patience.
Glad to inform you that we just released Spire.Doc 11.9.19 hotfix, which has fixed your issue SPIREDOC-9836 and SPIREDOC-9834, please download from the following link and have a test.
Website: https://www.e-iceblue.com/Download/download-word-for-net-now.html

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Return to Spire.Doc

cron