We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Footnote in RTF Document prevents PDF conversion

Hi,

the attached rtf documents contain a footnote. When converted to pdf the following exception is is raised.

ERROR 2012-02-09 10:43:12,179 17538ms AbstractBaseWrapper
SaveAsPdf_work - Speichere Word Dokument
C:\CC\DCS\Allris\Work\CB569088-7689-6894-8943-94337BC4E3E7.pdf im PDF
Format Pdf15 …

System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

bei xfbd1009a0cbb9842.x5dec0ee4f92a55e8.get_x32dcc9d3ca30726c()

bei xfbd1009a0cbb9842.x5dec0ee4f92a55e8.x243e311c3569636d()

bei xfbd1009a0cbb9842.x5dec0ee4f92a55e8.x1c428e55430b2acc()

bei x4adf554d20d941a6.x5c28fdcd27dee7d9.x3e04636bf524a4cf(xb9e48f11d7f06ec9 x27f5ecb735ac9676)

bei
x4adf554d20d941a6.xf0b374f4c0172a4c.x57b3c9e650685d36(x56410a8dd70087c5
x5906905c888d3d98, x56410a8dd70087c5 x62584df2cb5d40dd,
x56410a8dd70087c5 x0e990edf4549ee50, Boolean xa17853d20c8c42bd, Boolean
x4d2b4f056cf5bb8b)

bei x4adf554d20d941a6.xf0b374f4c0172a4c.xcd61e66a5417dbee(x56410a8dd70087c5 x5906905c888d3d98, Boolean x2718ffc1fa17413a)

bei x4adf554d20d941a6.x6d3ade29d016f4ea.x5f6867bc5a977cb1()

bei x4adf554d20d941a6.x20de8d9377d7de69.xc3819e13f60dd8e6(xf6937c72cebe4ad1 x311e7a92306d7199)

bei x4adf554d20d941a6.x09e62a55cab70965.x5de571cf1cd1652c(xf6937c72cebe4ad1 x311e7a92306d7199)

bei x4adf554d20d941a6.x09e62a55cab70965.xc3819e13f60dd8e6(xf6937c72cebe4ad1 x311e7a92306d7199, Int32 xcd3a9f82634fe5f9)

bei
x4adf554d20d941a6.x71da84fff8849445.xc3819e13f60dd8e6(x53cb1139c5c64ee6
xd7e5673853e47af4, Int32 xcd3a9f82634fe5f9, Boolean x3175070523842c98)

bei x4adf554d20d941a6.x4ddd0723770f9758.xb47a6df2eae4ba51()

bei
x4adf554d20d941a6.x4ddd0723770f9758.xc3819e13f60dd8e6(x3d1ad8ce75f0db3a
xd3311d815ca25f02, Int32 xd284dd7d525c5491, Boolean x3175070523842c98,
Boolean x4097fa47409be495)

bei x4adf554d20d941a6.x3f7228e953be72ed.xd79114a9e7bc0d9e()

bei x4adf554d20d941a6.x3f7228e953be72ed.xc3819e13f60dd8e6(x852fe8bb5ac31098 xe3e287548b3d01f5, Int32 xd284dd7d525c5491)

bei x4adf554d20d941a6.x4af2add38e634ad4.xcbc2273143eac9ec(x852fe8bb5ac31098 xb6842aa1e60562e1)

bei x4adf554d20d941a6.x4af2add38e634ad4.xc3819e13f60dd8e6(xc7f90d9c7c51cede xbbe2f7d7c86e0379)

bei x4adf554d20d941a6.xac6c82c74ce247fb.xc3819e13f60dd8e6(Boolean xfad304b5f8f3bb5b)

bei x4adf554d20d941a6.xa268fdb9ca040dde.xc3819e13f60dd8e6(Boolean xfad304b5f8f3bb5b)

bei x59d6a4fc5007b7a4.xcde671c53995c411.xd9db07500873ae98(Document x3664041d21d73fdc, xdeb77ea37ad74c56 xdfde339da46db651)

bei Aspose.Words.Document.get_xcde671c53995c411()

bei xf989f31a236ff98c.x6c74398bceb133f8.xa2e0b7f7da663553(x8556eed81191af11 x5ac1382edb7bf2c2)

bei Aspose.Words.Document.xf381a641001e6830(Stream
xcf18e5243f8d5fd3, String xafe2f3653ee64ebc, SaveOptions
xc27f01f21f67608c)

bei Aspose.Words.Document.Save(String fileName, SaveOptions saveOptions)

bei
de.egov.AsposeDcs.Wrapper.WordDocumentWrapper.SaveAsPdf_work(DocumentWrapper
objDestDoc, PdfCompliance pdfConformance, Boolean
bTransformBookmarks2PdfBookmarks, Boolean
bTransformHeadings2PdfBookmarks)




.net Runtime 2.0
Aspose.Words.dll 10.8.0.0
internal bugid#4443




This is my testcode:


static void Main(string[] args)
{
string strSourceFile= “c:\CC\DCS\Test\ccdcs\49AE8714-FE8F-E8F4-8F49-F49F09C62ECC.rtf”);

string strDestFile = Path.ChangeExtension(strSourceFile, “pdf”);

if (File.Exists(strDestFile))
{
File.Delete(strDestFile);
}

// Loading document causes exception …
LoadOptions lOpt = new LoadOptions(LoadFormat.Doc, null, null);
Aspose.Words.Document currDoc = new Aspose.Words.Document(strSourceFile, lOpt);

currDoc.ShadeFormData = false;

PdfSaveOptions pdfSaveOpt = (PdfSaveOptions)Aspose.Words.Saving.SaveOptions.CreateSaveOptions(Aspose.Words.SaveFormat.Pdf);
pdfSaveOpt.Compliance = PdfCompliance.Pdf15;
pdfSaveOpt.BookmarksOutlineLevel = 3;
pdfSaveOpt.HeadingsOutlineLevels = 3;
pdfSaveOpt.SaveFormat = Aspose.Words.SaveFormat.Pdf;

// throws Exception
SaveOutputParameters savedOutput = currDoc.Save(strDestFile, pdfSaveOpt);
}

Hi Martin,


Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 11.0.0, I managed to reproduce this exception on my side. For the sake of correction, I have logged this issue in our bug tracking system. Your request has also been linked to the appropriate issue and you will be notified as soon as it is resolved.

Sorry for inconvenience.

Best Regards,

Hi,

i just tested the new Aspose.Words.dll Version 11.2.0.0 and the problem is still unresolved.

Best regards, Martin

Hi Martin,

Thanks for your inquiry.

I'm sorry to share with you that the issue is not yet resolved. This issue is pending for development. Please find the details below.

id: WORDSNET-5858
Status: Analysis Complete

Sorry for inconvenience.

Hi Imran,

i just tested the new Aspose.Words.dll Version 11.2.0.0 and the problem is still unresolved.

Best regards, Martin

								<br>

Hi Imran,

i just tested the new Aspose.Words.dll Version 11.4.0.0 and the problem is still unresolved.

Best regards, Martin

								<br>

Hi Martin,


Thanks for your inquiry.

Unfortunately, this issue is not resolved yet. However, the responsible developer has completed the analysis of this issue. The root cause has been identified. Also, at the moment I can’t provide you the ETA for this issue. We will keep you informed and let you know once it is resolved.

Sorry for the inconvenience.

Best Regards,

Hi,

i just tested the new Aspose.Words.dll 11.5.0.0 and the problem is still unresolved.

Best regards, Martin

Hi Martin,

Thanks for your inquiry and sorry for the delayed response. I have verified the status of WORDSNET-5858 from our issue tracking system and regret to share with you that this issue has been postponed. I am afraid, we cannot push it into production right now because there are many other important issues we have to work on. Rest assured, we will inform you as soon as there are any further developments. Sorry for the inconvenience.

Best Regards,

Hi,

i’m sorry to inform you that the issue is still unresolved. I just tested the new Aspose.Words.dll 11.6.0.0 and the result is the same.

Best regards, Martin

Hi Martin,


Thanks for your request. Unfortunately, the issue is still unresolved. We will let you know once it is fixed. Please accept my apologizes for inconvenience.

Best regards,

Hi,

even the new Version Aspose.Words.10.8.0.0 throws an exceütion.

Best regards, Martin

Hi Martin,


Thanks for your inquiry. Unfortunately, this issue is not resolved yet. I’m afraid the issue (WORDSNET-5858), you have reported here, has now been postponed till a later date. We will inform you as soon as there are any further developments.

Best Regards,

The bug is still alive - even in Aspose.Words.dll 11.9.0.0 .

Hi Martin,


Thanks for your inquiry. Unfortunately, your issue is not resolved yet. I have now raised the priority of this issue in our issue tracking system. Rest assured, I will inform you as soon as your problem is resolved. I apologize once again for the wait.

Best regards,

The issues you have found earlier (filed as WORDSNET-5858) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

Thanks a lot it’s working perfect.

Hi Martin,


Thanks for your feedback. Please let us know any time you have any further queries. We’re always glad to help you.

Best regards,

Hi,

with the new Aspose.Words.dll version 13.1.0.0 the pdf conversion is successful.

Best regards, Martin