Crash when saving to PDF- XPS and probably others

Hi there,

I’ve just bought the Aspose.Words (order id 121022142532) and immediately run into a problem. I use Aspose.Words 11.8.1.
When trying to save an attached file as PDF or XPS (and, possibly other formats), I’m getting the following stack dump.

Please advise,
David Larkins

Document Explorer.exe

Version 1.0.4682.18775

Friday, October 26, 2012 11:29:47 AM

System.InvalidOperationException: Stack empty.
at System.Collections.Stack.Pop()
at x59d6a4fc5007b7a4.x487cdc969fefe3d6.x221bac6efb19ed4e()
at x59d6a4fc5007b7a4.x487cdc969fefe3d6.x47f176deff0d42e2()
at x4adf554d20d941a6.x5c28fdcd27dee7d9.xe481a91e9d1f486d(x7e263f21a73a027a xa955664f4f50999d, x56410a8dd70087c5 x62584df2cb5d40dd, Boolean x9bd63a942c164ecd)
at x4adf554d20d941a6.x5c28fdcd27dee7d9.x57bf52bb3d1c2d43(x56410a8dd70087c5 x62584df2cb5d40dd, x56410a8dd70087c5 x2aa5114a5da7d6c8, x7e263f21a73a027a x9b10ace6509508c0, Boolean x9bd63a942c164ecd)
at x4adf554d20d941a6.x5c28fdcd27dee7d9.x3e04636bf524a4cf(xb9e48f11d7f06ec9 x27f5ecb735ac9676)
at x4adf554d20d941a6.xf0b374f4c0172a4c.x57b3c9e650685d36(x56410a8dd70087c5 x5906905c888d3d98, x56410a8dd70087c5 x62584df2cb5d40dd, x56410a8dd70087c5 x0e990edf4549ee50, Boolean xa17853d20c8c42bd, Boolean x4d2b4f056cf5bb8b)
at x4adf554d20d941a6.xf0b374f4c0172a4c.xf067dcd5f2631e2c(x56410a8dd70087c5 x5906905c888d3d98, Boolean xa17853d20c8c42bd)
at x4adf554d20d941a6.xf0b374f4c0172a4c.x74f5a1ef3906e23c()
at x4adf554d20d941a6.xf0b374f4c0172a4c…ctor(x56410a8dd70087c5 first, x56410a8dd70087c5 after)
at x4adf554d20d941a6.x6d3ade29d016f4ea.x6343dea3b11ed4d8()
at x4adf554d20d941a6.x6d3ade29d016f4ea.x5f6867bc5a977cb1()
at x4adf554d20d941a6.x6d3ade29d016f4ea.xc3819e13f60dd8e6(xf6937c72cebe4ad1 x311e7a92306d7199, Int32 xbfb9ad5ef64f6dc5)
at x4adf554d20d941a6.x20de8d9377d7de69.xc3819e13f60dd8e6(xf6937c72cebe4ad1 x311e7a92306d7199)
at x4adf554d20d941a6.x09e62a55cab70965.x5de571cf1cd1652c(xf6937c72cebe4ad1 x311e7a92306d7199)
at x4adf554d20d941a6.x09e62a55cab70965.xc3819e13f60dd8e6(xf6937c72cebe4ad1 x311e7a92306d7199, Int32 xcd3a9f82634fe5f9)
at x4adf554d20d941a6.x71da84fff8849445.xc3819e13f60dd8e6(x53cb1139c5c64ee6 xd7e5673853e47af4, Int32 xcd3a9f82634fe5f9, Boolean x3175070523842c98)
at x4adf554d20d941a6.x4ddd0723770f9758.xb47a6df2eae4ba51()
at x4adf554d20d941a6.x4ddd0723770f9758.xc3819e13f60dd8e6(x3d1ad8ce75f0db3a xd3311d815ca25f02, Int32 xd284dd7d525c5491, Boolean x3175070523842c98, Boolean x4097fa47409be495)
at x4adf554d20d941a6.xa6c6ed003f022075.xc3819e13f60dd8e6(x86accec882b7012a xe6de5e5fa2d44af5, Boolean xc1dedf23e1bdce60)
at x4adf554d20d941a6.x36d44214ff2c1e83.xc3819e13f60dd8e6(x694f001896973fe3 xa806b754814b9ae0)
at x4adf554d20d941a6.x71da84fff8849445.xc3819e13f60dd8e6(x53cb1139c5c64ee6 xd7e5673853e47af4, Int32 xcd3a9f82634fe5f9, Boolean x3175070523842c98)
at x4adf554d20d941a6.x4ddd0723770f9758.xb47a6df2eae4ba51()
at x4adf554d20d941a6.x4ddd0723770f9758.xc3819e13f60dd8e6(x3d1ad8ce75f0db3a xd3311d815ca25f02, Int32 xd284dd7d525c5491, Boolean x3175070523842c98, Boolean x4097fa47409be495)
at x4adf554d20d941a6.x3f7228e953be72ed.xd79114a9e7bc0d9e()
at x4adf554d20d941a6.x3f7228e953be72ed.xc3819e13f60dd8e6(x852fe8bb5ac31098 xe3e287548b3d01f5, Int32 xd284dd7d525c5491)
at x4adf554d20d941a6.x4af2add38e634ad4.xcbc2273143eac9ec(x852fe8bb5ac31098 xb6842aa1e60562e1)
at x4adf554d20d941a6.x4af2add38e634ad4.xc3819e13f60dd8e6(xc7f90d9c7c51cede xbbe2f7d7c86e0379)
at x4adf554d20d941a6.xea876d525d28ff96.xc3819e13f60dd8e6(x398b3bd0acd94b61 xd7e5673853e47af4)
at x4adf554d20d941a6.xac6c82c74ce247fb.xc3819e13f60dd8e6(Boolean xfad304b5f8f3bb5b)
at x4adf554d20d941a6.xa268fdb9ca040dde.xc3819e13f60dd8e6(Boolean xfad304b5f8f3bb5b)
at x4adf554d20d941a6.x4e2f8bff72d83f71.xc3819e13f60dd8e6()
at x59d6a4fc5007b7a4.xcde671c53995c411.xd9db07500873ae98(Document x3664041d21d73fdc, xdeb77ea37ad74c56 xdfde339da46db651)
at Aspose.Words.Document.UpdatePageLayout()
at Aspose.Words.Document.x410db0f4a89a6ef1(Boolean x24af0daafcd8fb8c)
at Aspose.Words.Document.get_xcde671c53995c411()
at Aspose.Words.Document.get_PageCount()
at xf989f31a236ff98c.x6c74398bceb133f8.xa2e0b7f7da663553(x8556eed81191af11 x5ac1382edb7bf2c2)
at Aspose.Words.Document.xf381a641001e6830(Stream xcf18e5243f8d5fd3, String xafe2f3653ee64ebc, SaveOptions xc27f01f21f67608c)
at Aspose.Words.Document.Save(String fileName, SaveOptions saveOptions)
at DocumentExplorer.MainForm.SaveDocument() in C:\Program Files (x86)\Aspose\Aspose.Words for .NET\Demos\CSharp\DocumentExplorer\MainForm.cs:line 641

Hi David,

Thanks for your inquiry. I have managed to reproduce the same issue at my side. I have logged this issue as WORDSNET-7176 in our issue tracking system. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

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


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