Conversion of pptx file to PDF failed with Aspose.slides(ver.5.6). Following are 3 null reference exceptions and code snippet. Can you please provide fix asap?
Code:
Aspose.Slides.License pptxLicense = new Aspose.Slides.License();
pptxLicense.SetLicense("Aspose.Total.lic");
Aspose.Slides.Pptx.PresentationEx presentationEx = new Aspose.Slides.Pptx.PresentationEx(sourceFile);
presentationEx.Save(destinationFilePath, Aspose.Slides.Export.SaveFormat.Pdf);
retVal = destinationFilePath;</span></font></pre><span style="color: rgb(0, 0, 0); font-family: Arial, sans-serif; font-size: 17px; font-weight: normal; white-space: pre-wrap; ">exception:</span></pre></h3></pre><pre style="font-family: Arial, sans-serif; font-size: 17px; color: rgb(0, 0, 0); font-weight: normal; word-wrap: break-word; white-space: pre-wrap; "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">2/3/2012 5:43:48 AM\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Message: HandlingInstanceID: 7f3a8c3f-160a-4181-9c2b-6129933e2a54\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><Exception>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><Description>An exception of type 'System.NullReferenceException' occurred and was caught.</Description>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><DateTime>2012-02-03 00:43:48Z</DateTime>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><ExceptionType>System.NullReferenceException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><Message>Object reference not set to an instance of an object.</Message>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><Source>Aspose.Slides in file: C:\\WINDOWS\\TEMP\\IntraLinks\\7eeec304-3c21-4acd-95ec-35118de0bebd.pptx</Source>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><HelpLink />\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><Property name="Data">System.Collections.ListDictionaryInternal</Property>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><Property name="TargetSite">Void b(h6)</Property>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><StackTrace> at Aspose.Slides.Pptx.PictureFillFormatEx.b(h6 A_0)\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">at Aspose.Slides.Pptx.PictureFrameEx..ctor(BaseSlideEx A_0, oj A_1)\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">at Aspose.Slides.Pptx.ShapesEx.a(BaseSlideEx A_0, h6 A_1)\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">at Aspose.Slides.Pptx.GroupShapeEx..ctor(BaseSlideEx A_0, ss A_1)\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">at Aspose.Slides.Pptx.BaseSlideEx..ctor(PresentationEx A_0, di A_1)\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">at Aspose.Slides.Pptx.PresentationEx.a(nb A_0)\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">at Aspose.Slides.Pptx.PresentationEx..ctor(String file)\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">at Intralinks.Common.Utilities.CommonUtilities.ConvertOfficeDocsToPDF(String sourceFile, String destinationFolder, Boolean useOriginalFileName) in c:\\ilbuilds\\pdfconv\\build_trunk\\CommonUtilities</span><br clear="all" style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">CommonUtilities.cs:line 1376</StackTrace>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><additionalInfo>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><info name="MachineName" value="WDPDPF01" />\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><info name="TimeStamp" value="2/3/2012 5:43:48 AM" />\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><info name="FullName" value="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><info name="AppDomainName" value="ILPDFConversionService.exe" />\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><info name="ThreadIdentity" value="" />\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><info name="WindowsIdentity" value="NT AUTHORITY</span><br clear="all" style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">SYSTEM" />\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "></additionalInfo>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "></Exception>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Category: Logging Exception\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Priority: 1\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">EventId: 100\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Severity: Error\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Title:Enterprise Library Exception Handling\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Machine: WDPDPF01\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Application Domain: ILPDFConversionService.exe\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Process Id: 5756\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Process Name: C:\\PDFConvService\\WOODDALE.pdfconv\\instance2\\Release\\ILPDFConversionService.exe\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Win32 Thread Id: 7048\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Thread Name: \</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Extended Properties: Product Version - 3.0.24944.0\</span>
No. of occurences:33 Following is the exception:Timestamp: 1/27/2012 1:06:17 AM
Message: HandlingInstanceID: 2464dead-7106-4021-8792-b72a3e303b6c
An exception of type ‘System.NullReferenceException’ occurred and was caught.
2012-01-26 20:06:17Z
System.NullReferenceException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Object reference not set to an instance of an object.
Aspose.Slides in file: C:\WINDOWS\TEMP\IntraLinks\ad0e7dd7-34c8-47c4-8219-2a9e3ddeb6f3.pptx
System.Collections.ListDictionaryInternal
Void .ctor(Aspose.Slides.Pptx.BaseSlideEx, sd)
at Aspose.Slides.Pptx.OleObjectFrameEx…ctor(BaseSlideEx A_0, sd A_1)
at Aspose.Slides.Pptx.ShapesEx.a(BaseSlideEx A_0, h6 A_1)
at Aspose.Slides.Pptx.GroupShapeEx…ctor(BaseSlideEx A_0, ss A_1)
at Aspose.Slides.Pptx.BaseSlideEx…ctor(PresentationEx A_0, di A_1)
at Aspose.Slides.Pptx.PresentationEx.a(nb A_0)
at Aspose.Slides.Pptx.PresentationEx…ctor(String file)
at Intralinks.Common.Utilities.CommonUtilities.ConvertOfficeDocsToPDF(String sourceFile, String destinationFolder, Boolean useOriginalFileName) in c:\ilbuilds\pdfconv\build_trunk\CommonUtilities\CommonUtilities.cs:line 1376
Category: Logging Exception
Priority: 1
EventId: 100
Severity: Error
Title:Enterprise Library Exception Handling
Machine: WDPDPF01
Application Domain: ILPDFConversionService.exe
Process Id: 5600
Process Name: C:\PDFConvService\WOODDALE.pdfconv\instance3\Release\ILPDFConversionService.exe
Win32 Thread Id: 6328
Thread Name:
Extended Properties: Product Version - 3.0.24944.0
No. of occurences:5 Following is the exception:Timestamp: 1/27/2012 1:06:17 AM
Message: HandlingInstanceID: 2464dead-7106-4021-8792-b72a3e303b6c
An exception of type ‘System.NullReferenceException’ occurred and was caught.
2012-01-26 20:06:17Z
System.NullReferenceException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Object reference not set to an instance of an object.
Aspose.Slides in file: C:\WINDOWS\TEMP\IntraLinks\ad0e7dd7-34c8-47c4-8219-2a9e3ddeb6f3.pptx
System.Collections.ListDictionaryInternal
Void .ctor(Aspose.Slides.Pptx.BaseSlideEx, sd)
at Aspose.Slides.Pptx.OleObjectFrameEx…ctor(BaseSlideEx A_0, sd A_1)
at Aspose.Slides.Pptx.ShapesEx.a(BaseSlideEx A_0, h6 A_1)
at Aspose.Slides.Pptx.GroupShapeEx…ctor(BaseSlideEx A_0, ss A_1)
at Aspose.Slides.Pptx.BaseSlideEx…ctor(PresentationEx A_0, di A_1)
at Aspose.Slides.Pptx.PresentationEx.a(nb A_0)
at Aspose.Slides.Pptx.PresentationEx…ctor(String file)
at Intralinks.Common.Utilities.CommonUtilities.ConvertOfficeDocsToPDF(String sourceFile, String destinationFolder, Boolean useOriginalFileName) in c:\ilbuilds\pdfconv\build_trunk\CommonUtilities\CommonUtilities.cs:line 1376
Category: Logging Exception
Priority: 1
EventId: 100
Severity: Error
Title:Enterprise Library Exception Handling
Machine: WDPDPF01
Application Domain: ILPDFConversionService.exe
Process Id: 5600
Process Name: C:\PDFConvService\WOODDALE.pdfconv\instance3\Release\ILPDFConversionService.exe
Win32 Thread Id: 6328
Thread Name:
Extended Properties: Product Version - 3.0.24944.0
Conversion of pptx file to PDF failed with Aspose.slides(ver.5.6). Following are 3 null reference exceptions and code snippet. Can you please provide fix asap?
Code:
Aspose.Slides.License pptxLicense = new Aspose.Slides.License();
pptxLicense.SetLicense("Aspose.Total.lic");
Aspose.Slides.Pptx.PresentationEx presentationEx = new Aspose.Slides.Pptx.PresentationEx(sourceFile);
presentationEx.Save(destinationFilePath, Aspose.Slides.Export.SaveFormat.Pdf);
retVal = destinationFilePath;</span></font></pre><span style="color: rgb(0, 0, 0); font-family: Arial, sans-serif; font-size: 17px; font-weight: normal; white-space: pre-wrap; ">exception:</span></pre></h3></pre><pre style="font-family: Arial, sans-serif; font-size: 17px; color: rgb(0, 0, 0); font-weight: normal; word-wrap: break-word; white-space: pre-wrap; "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">2/3/2012 5:43:48 AM\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Message: HandlingInstanceID: 7f3a8c3f-160a-4181-9c2b-6129933e2a54\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><Exception>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><Description>An exception of type 'System.NullReferenceException' occurred and was caught.</Description>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><DateTime>2012-02-03 00:43:48Z</DateTime>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><ExceptionType>System.NullReferenceException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><Message>Object reference not set to an instance of an object.</Message>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><Source>Aspose.Slides in file: C:\\WINDOWS\\TEMP\\IntraLinks\\7eeec304-3c21-4acd-95ec-35118de0bebd.pptx</Source>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><HelpLink />\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><Property name="Data">System.Collections.ListDictionaryInternal</Property>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><Property name="TargetSite">Void b(h6)</Property>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><StackTrace> at Aspose.Slides.Pptx.PictureFillFormatEx.b(h6 A_0)\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">at Aspose.Slides.Pptx.PictureFrameEx..ctor(BaseSlideEx A_0, oj A_1)\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">at Aspose.Slides.Pptx.ShapesEx.a(BaseSlideEx A_0, h6 A_1)\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">at Aspose.Slides.Pptx.GroupShapeEx..ctor(BaseSlideEx A_0, ss A_1)\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">at Aspose.Slides.Pptx.BaseSlideEx..ctor(PresentationEx A_0, di A_1)\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">at Aspose.Slides.Pptx.PresentationEx.a(nb A_0)\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">at Aspose.Slides.Pptx.PresentationEx..ctor(String file)\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">at Intralinks.Common.Utilities.CommonUtilities.ConvertOfficeDocsToPDF(String sourceFile, String destinationFolder, Boolean useOriginalFileName) in c:\\ilbuilds\\pdfconv\\build_trunk\\CommonUtilities</span><br clear="all" style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">CommonUtilities.cs:line 1376</StackTrace>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><additionalInfo>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><info name="MachineName" value="WDPDPF01" />\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><info name="TimeStamp" value="2/3/2012 5:43:48 AM" />\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><info name="FullName" value="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><info name="AppDomainName" value="ILPDFConversionService.exe" />\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><info name="ThreadIdentity" value="" />\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><info name="WindowsIdentity" value="NT AUTHORITY</span><br clear="all" style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">SYSTEM" />\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "></additionalInfo>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "></Exception>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Category: Logging Exception\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Priority: 1\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">EventId: 100\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Severity: Error\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Title:Enterprise Library Exception Handling\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Machine: WDPDPF01\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Application Domain: ILPDFConversionService.exe\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Process Id: 5756\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Process Name: C:\\PDFConvService\\WOODDALE.pdfconv\\instance2\\Release\\ILPDFConversionService.exe\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Win32 Thread Id: 7048\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Thread Name: \</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Extended Properties: Product Version - 3.0.24944.0\</span>
No. of occurences:33 Following is the exception:Timestamp: 1/27/2012 1:06:17 AM
Message: HandlingInstanceID: 2464dead-7106-4021-8792-b72a3e303b6c
An exception of type ‘System.NullReferenceException’ occurred and was caught.
2012-01-26 20:06:17Z
System.NullReferenceException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Object reference not set to an instance of an object.
Aspose.Slides in file: C:\WINDOWS\TEMP\IntraLinks\ad0e7dd7-34c8-47c4-8219-2a9e3ddeb6f3.pptx
System.Collections.ListDictionaryInternal
Void .ctor(Aspose.Slides.Pptx.BaseSlideEx, sd)
at Aspose.Slides.Pptx.OleObjectFrameEx…ctor(BaseSlideEx A_0, sd A_1)
at Aspose.Slides.Pptx.ShapesEx.a(BaseSlideEx A_0, h6 A_1)
at Aspose.Slides.Pptx.GroupShapeEx…ctor(BaseSlideEx A_0, ss A_1)
at Aspose.Slides.Pptx.BaseSlideEx…ctor(PresentationEx A_0, di A_1)
at Aspose.Slides.Pptx.PresentationEx.a(nb A_0)
at Aspose.Slides.Pptx.PresentationEx…ctor(String file)
at Intralinks.Common.Utilities.CommonUtilities.ConvertOfficeDocsToPDF(String sourceFile, String destinationFolder, Boolean useOriginalFileName) in c:\ilbuilds\pdfconv\build_trunk\CommonUtilities\CommonUtilities.cs:line 1376
Category: Logging Exception
Priority: 1
EventId: 100
Severity: Error
Title:Enterprise Library Exception Handling
Machine: WDPDPF01
Application Domain: ILPDFConversionService.exe
Process Id: 5600
Process Name: C:\PDFConvService\WOODDALE.pdfconv\instance3\Release\ILPDFConversionService.exe
Win32 Thread Id: 6328
Thread Name:
Extended Properties: Product Version - 3.0.24944.0
No. of occurences:5 Following is the exception:Timestamp: 1/27/2012 1:06:17 AM
Message: HandlingInstanceID: 2464dead-7106-4021-8792-b72a3e303b6c
An exception of type ‘System.NullReferenceException’ occurred and was caught.
2012-01-26 20:06:17Z
System.NullReferenceException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Object reference not set to an instance of an object.
Aspose.Slides in file: C:\WINDOWS\TEMP\IntraLinks\ad0e7dd7-34c8-47c4-8219-2a9e3ddeb6f3.pptx
System.Collections.ListDictionaryInternal
Void .ctor(Aspose.Slides.Pptx.BaseSlideEx, sd)
at Aspose.Slides.Pptx.OleObjectFrameEx…ctor(BaseSlideEx A_0, sd A_1)
at Aspose.Slides.Pptx.ShapesEx.a(BaseSlideEx A_0, h6 A_1)
at Aspose.Slides.Pptx.GroupShapeEx…ctor(BaseSlideEx A_0, ss A_1)
at Aspose.Slides.Pptx.BaseSlideEx…ctor(PresentationEx A_0, di A_1)
at Aspose.Slides.Pptx.PresentationEx.a(nb A_0)
at Aspose.Slides.Pptx.PresentationEx…ctor(String file)
at Intralinks.Common.Utilities.CommonUtilities.ConvertOfficeDocsToPDF(String sourceFile, String destinationFolder, Boolean useOriginalFileName) in c:\ilbuilds\pdfconv\build_trunk\CommonUtilities\CommonUtilities.cs:line 1376
Category: Logging Exception
Priority: 1
EventId: 100
Severity: Error
Title:Enterprise Library Exception Handling
Machine: WDPDPF01
Application Domain: ILPDFConversionService.exe
Process Id: 5600
Process Name: C:\PDFConvService\WOODDALE.pdfconv\instance3\Release\ILPDFConversionService.exe
Win32 Thread Id: 6328
Thread Name:
Extended Properties: Product Version - 3.0.24944.0
Conversion of pptx file to PDF failed with Aspose.slides(ver.5.6). Following are 3 null reference exceptions and code snippet. Can you please provide fix asap?
Code:
Aspose.Slides.License pptxLicense = new Aspose.Slides.License();
pptxLicense.SetLicense("Aspose.Total.lic");
Aspose.Slides.Pptx.PresentationEx presentationEx = new Aspose.Slides.Pptx.PresentationEx(sourceFile);
presentationEx.Save(destinationFilePath, Aspose.Slides.Export.SaveFormat.Pdf);
retVal = destinationFilePath;</span></font></pre><span style="color: rgb(0, 0, 0); font-family: Arial, sans-serif; font-size: 17px; font-weight: normal; white-space: pre-wrap; ">exception:</span></pre></h3></pre><pre style="font-family: Arial, sans-serif; font-size: 17px; color: rgb(0, 0, 0); font-weight: normal; word-wrap: break-word; white-space: pre-wrap; "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">2/3/2012 5:43:48 AM\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Message: HandlingInstanceID: 7f3a8c3f-160a-4181-9c2b-6129933e2a54\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><Exception>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><Description>An exception of type 'System.NullReferenceException' occurred and was caught.</Description>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><DateTime>2012-02-03 00:43:48Z</DateTime>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><ExceptionType>System.NullReferenceException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><Message>Object reference not set to an instance of an object.</Message>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><Source>Aspose.Slides in file: C:\\WINDOWS\\TEMP\\IntraLinks\\7eeec304-3c21-4acd-95ec-35118de0bebd.pptx</Source>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><HelpLink />\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><Property name="Data">System.Collections.ListDictionaryInternal</Property>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><Property name="TargetSite">Void b(h6)</Property>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><StackTrace> at Aspose.Slides.Pptx.PictureFillFormatEx.b(h6 A_0)\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">at Aspose.Slides.Pptx.PictureFrameEx..ctor(BaseSlideEx A_0, oj A_1)\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">at Aspose.Slides.Pptx.ShapesEx.a(BaseSlideEx A_0, h6 A_1)\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">at Aspose.Slides.Pptx.GroupShapeEx..ctor(BaseSlideEx A_0, ss A_1)\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">at Aspose.Slides.Pptx.BaseSlideEx..ctor(PresentationEx A_0, di A_1)\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">at Aspose.Slides.Pptx.PresentationEx.a(nb A_0)\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">at Aspose.Slides.Pptx.PresentationEx..ctor(String file)\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">at Intralinks.Common.Utilities.CommonUtilities.ConvertOfficeDocsToPDF(String sourceFile, String destinationFolder, Boolean useOriginalFileName) in c:\\ilbuilds\\pdfconv\\build_trunk\\CommonUtilities</span><br clear="all" style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">CommonUtilities.cs:line 1376</StackTrace>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><additionalInfo>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><info name="MachineName" value="WDPDPF01" />\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><info name="TimeStamp" value="2/3/2012 5:43:48 AM" />\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><info name="FullName" value="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><info name="AppDomainName" value="ILPDFConversionService.exe" />\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><info name="ThreadIdentity" value="" />\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><info name="WindowsIdentity" value="NT AUTHORITY</span><br clear="all" style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">SYSTEM" />\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "></additionalInfo>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "></Exception>\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Category: Logging Exception\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Priority: 1\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">EventId: 100\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Severity: Error\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Title:Enterprise Library Exception Handling\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Machine: WDPDPF01\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Application Domain: ILPDFConversionService.exe\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Process Id: 5756\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Process Name: C:\\PDFConvService\\WOODDALE.pdfconv\\instance2\\Release\\ILPDFConversionService.exe\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Win32 Thread Id: 7048\</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Thread Name: \</span><br style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); "><span style="font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255); ">Extended Properties: Product Version - 3.0.24944.0\</span>
No. of occurences:33 Following is the exception:Timestamp: 1/27/2012 1:06:17 AM
Message: HandlingInstanceID: 2464dead-7106-4021-8792-b72a3e303b6c
An exception of type ‘System.NullReferenceException’ occurred and was caught.
2012-01-26 20:06:17Z
System.NullReferenceException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Object reference not set to an instance of an object.
Aspose.Slides in file: C:\WINDOWS\TEMP\IntraLinks\ad0e7dd7-34c8-47c4-8219-2a9e3ddeb6f3.pptx
System.Collections.ListDictionaryInternal
Void .ctor(Aspose.Slides.Pptx.BaseSlideEx, sd)
at Aspose.Slides.Pptx.OleObjectFrameEx…ctor(BaseSlideEx A_0, sd A_1)
at Aspose.Slides.Pptx.ShapesEx.a(BaseSlideEx A_0, h6 A_1)
at Aspose.Slides.Pptx.GroupShapeEx…ctor(BaseSlideEx A_0, ss A_1)
at Aspose.Slides.Pptx.BaseSlideEx…ctor(PresentationEx A_0, di A_1)
at Aspose.Slides.Pptx.PresentationEx.a(nb A_0)
at Aspose.Slides.Pptx.PresentationEx…ctor(String file)
at Intralinks.Common.Utilities.CommonUtilities.ConvertOfficeDocsToPDF(String sourceFile, String destinationFolder, Boolean useOriginalFileName) in c:\ilbuilds\pdfconv\build_trunk\CommonUtilities\CommonUtilities.cs:line 1376
Category: Logging Exception
Priority: 1
EventId: 100
Severity: Error
Title:Enterprise Library Exception Handling
Machine: WDPDPF01
Application Domain: ILPDFConversionService.exe
Process Id: 5600
Process Name: C:\PDFConvService\WOODDALE.pdfconv\instance3\Release\ILPDFConversionService.exe
Win32 Thread Id: 6328
Thread Name:
Extended Properties: Product Version - 3.0.24944.0
No. of occurences:5 Following is the exception:Timestamp: 1/27/2012 1:06:17 AM
Message: HandlingInstanceID: 2464dead-7106-4021-8792-b72a3e303b6c
An exception of type ‘System.NullReferenceException’ occurred and was caught.
2012-01-26 20:06:17Z
System.NullReferenceException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Object reference not set to an instance of an object.
Aspose.Slides in file: C:\WINDOWS\TEMP\IntraLinks\ad0e7dd7-34c8-47c4-8219-2a9e3ddeb6f3.pptx
System.Collections.ListDictionaryInternal
Void .ctor(Aspose.Slides.Pptx.BaseSlideEx, sd)
at Aspose.Slides.Pptx.OleObjectFrameEx…ctor(BaseSlideEx A_0, sd A_1)
at Aspose.Slides.Pptx.ShapesEx.a(BaseSlideEx A_0, h6 A_1)
at Aspose.Slides.Pptx.GroupShapeEx…ctor(BaseSlideEx A_0, ss A_1)
at Aspose.Slides.Pptx.BaseSlideEx…ctor(PresentationEx A_0, di A_1)
at Aspose.Slides.Pptx.PresentationEx.a(nb A_0)
at Aspose.Slides.Pptx.PresentationEx…ctor(String file)
at Intralinks.Common.Utilities.CommonUtilities.ConvertOfficeDocsToPDF(String sourceFile, String destinationFolder, Boolean useOriginalFileName) in c:\ilbuilds\pdfconv\build_trunk\CommonUtilities\CommonUtilities.cs:line 1376
Category: Logging Exception
Priority: 1
EventId: 100
Severity: Error
Title:Enterprise Library Exception Handling
Machine: WDPDPF01
Application Domain: ILPDFConversionService.exe
Process Id: 5600
Process Name: C:\PDFConvService\WOODDALE.pdfconv\instance3\Release\ILPDFConversionService.exe
Win32 Thread Id: 6328
Thread Name:
Extended Properties: Product Version - 3.0.24944.0