ArgumentOutOfRangeException when converting doc to pdf or html

Hi,

when converting a Word document using Aspose.Words 14.5 (the latest) I get the following stack trace:

L’exception System.ArgumentOutOfRangeException n’a pas été gérée
Message=Expected a value between 0 and 0.
Nom du paramètre : index
ParamName=index
Source=Aspose.Words
StackTrace:
à . (Int32 , Int32 , Int32 , String )
à . (Int32 )
à . (Int32 )
à . ( , Boolean )
à . ( )
à . ( )
à . ( )
à . ( )
à . ( )
à . ( )
à . ( )
à . ( )
à . ( )
à . ( )
à . ( )
à . ( )
à . ( )
à . (ArrayList , , DashStyle , DashCap , Single[] )
à . (ArrayList , , DashStyle , DashCap , Single[] )
à . (ArrayList , )
à . ( )
à . ()
à ​ . (Shape , , , )
à ​ . ( ​ , , , Boolean )
à ​ . ( ​ , , Boolean )
à ​ . ( ​ , , Boolean )
à ​ . ( ​ , , Boolean )
à ​ . ( ​ , , Boolean )
à ​ . ( ​ , Boolean )
à . ( , Boolean& )
à . ( , Boolean& )
à . ( )
à . ()
à . ()
à . ()
à . ()
à . ()
à . ( , Int32 )
à . ( )
à . ( )
à . ( , Int32 )
à . ( , Int32 , Boolean )
à . ()
à . ( , Int32 , Boolean , Boolean )
à ​ . ()
à ​ . ( ​ , Int32 )
à . ( ​ )
à . ( )
à . ( )
à . (Boolean )
à . (Boolean )
à . ()
à . (Document , )
à Aspose.Words.Document.UpdatePageLayout()
à Aspose.Words.Document. (Boolean )
à Aspose.Words.Document. ()
à Aspose.Words.Document.get_PageCount()
à . ( , )
à . ( )
à Aspose.Words.Document. (Stream , String , SaveOptions )
à Aspose.Words.Document.Save(String fileName, SaveOptions saveOptions)
à Aspose.Words.Document.Save(String fileName)
à ConsoleApplication3.Module1.Main() dans C:\Users\sullivan.perrin\Documents\Visual Studio 2013\Projects\ConsoleApplication3\ConsoleApplication3\Module1.vb:ligne 9
à System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
à System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
à Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
à System.Threading.ThreadHelper.ThreadStart_Context(Object state)
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
à System.Threading.ThreadHelper.ThreadStart()
InnerException:

My program :

Imports Aspose.Words

Module Module1

Sub Main()
Dim lic As New License()
lic.SetLicense(“…..\Aspose.Total.lic”)
Dim doc As New Document(“…..\input.doc”)
doc.Save(“…..\out.pdf”)
End Sub

End Module

I have the same problem when I try to save the document to html.
I’m attaching the document.
My license is a total license.
I use VB.NET 3.5.

Hi Perrin,

Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 14.5.0, I managed to reproduce this issue on my side. I have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-10297. Your thread has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

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


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