Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents. Get free and professional technical support for Spire.Presentation for .NET, Java, Android, C++, Python.

Mon Jan 18, 2021 1:42 pm

Hi! I need your help!

When I try convert the atachment file, null reference exception throw in the line:

presentation.LoadFromFile(@"C:\Users\paulag-ot\Downloads\1cbcad98-744e-4b4d-81d6-c27276e3d9b2.pptx", FileFormat.Auto);

Can you help me please?

Thank!

pauigandini
 
Posts: 9
Joined: Mon Jan 18, 2021 1:31 pm

Tue Jan 19, 2021 2:44 am

Hello

Thanks for your inquiry.
I tested your scenario and indeed reproduced your issue, I have logged it in our bug tracking system with the ticket SPIREPPT-1430. If there is any update, we will let you know. Apologize for the inconvenience caused.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Wed Jan 20, 2021 1:13 pm

Thanks for your answer.
Can I do something in the XML of the document to temporarily avoid this error?

pauigandini
 
Posts: 9
Joined: Mon Jan 18, 2021 1:31 pm

Thu Jan 21, 2021 6:28 am

Hello,

Thanks for your response.
Sorry there is no alternative solution to temporarily avoid this error. But I just got news from our Dev team that the issue SPIREPPT-1430 has been fixed. It is now under the testing phase. Once it passes the test, we will prepare a fixed version for you. Thanks for your patience.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Mon Jan 25, 2021 1:08 pm

Hi! Thanks for your help in this days. Do you have news of this?

pauigandini
 
Posts: 9
Joined: Mon Jan 18, 2021 1:31 pm

Tue Jan 26, 2021 3:35 am

hello

Thanks for your follow up.

I just got news from our Test team that the fix has some impacts on other cases, it failed to pass the test. Now our Dev team are working on these impacts. We are very sorry for the inconvenience caused.
Anyway, I will keep you informed if it is resolved.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Tue Feb 02, 2021 1:59 pm

Hello Brian. Any news on this topic?

pauigandini
 
Posts: 9
Joined: Mon Jan 18, 2021 1:31 pm

Wed Feb 03, 2021 3:17 am

Hello,

Thanks for your follow up.
I just got news from our Dev team that they have resolved the impacts on other cases. Now our Test team is testing the hotfix. We inform you as soon as the new version is available.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Mon Feb 08, 2021 2:44 am

Hello,

Greetings from E-iceblue!
Glad to inform you that we just released Spire.Presentation Pack Hotfix Version:6.2.2 which fixes your issue, please download it from the following links to test on your side.
Website link: https://www.e-iceblue.com/Download/down ... t-now.html
Nuget link: https://www.nuget.org/packages/Spire.Presentation/6.2.2

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Mon Feb 22, 2021 1:42 am

Hello,

Greetings from E-iceblue.
How is your issue now? Does this hotfix solve your issue? Could you please give us some feedback at your convenience?

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Wed Feb 24, 2021 2:57 pm

Thanks for answar. I already update the library. The exception is no longer appearing but the file is not being processed.

pauigandini
 
Posts: 9
Joined: Mon Jan 18, 2021 1:31 pm

Thu Feb 25, 2021 9:54 am

Hello,

Thanks for your feedback.

As for the issue “but the file is not being processed” you mentioned, please provide more detailed information to help us look into it further, such as your full test code or some screenshots. Thanks in advance.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Tue Mar 02, 2021 7:04 am

Hello,

Has your issue been resolved? If not, could you please provide more detailed information to us for further investigation?

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Tue Mar 02, 2021 1:12 pm

Hello!

My problem is on the line:

presentation.SaveToFile(@"C:\Users\paulag-ot\Downloads\ToPdfCartera.pdf", FileFormat.PDF);

At that point the program loops. It does not give an error, but it does not continue to run. The pdf file is not generated either.

pauigandini
 
Posts: 9
Joined: Mon Jan 18, 2021 1:31 pm

Wed Mar 03, 2021 6:23 am

Hello,

Thanks for your feedback.
I tried to convert the PPT file “1cbcad98-744e-4b4d-81d6-c27276e3d9b2.pptx” you previously provided to PDF, but I did not reproduce your issue. To help us do further investigation, please provide your OS information (e.g. Win7 64bit), your region setting (e.g. China, Chinese) and your project target framework (e.g. .NET Framework 4.5).

Or if you encounter this issue while converting another PPT file, please provide us with the corresponding file. Thanks in advance.


Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Return to Spire.Presentation