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

Free Support Forum - aspose.com

Convert document crash

The following test document test1.docx (11.2 KB)
causes Aspose to crash when converting it to PDF.

Here is the stack trace, from Aspose 22.4 (Java)

Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 0
	at java.base/java.lang.StringLatin1.charAt(StringLatin1.java:47)
	at java.base/java.lang.String.charAt(String.java:693)
	at com.aspose.words.internal.zzZm4.zzWoH(Unknown Source)
	at com.aspose.words.internal.zzZm4.zzXcd(Unknown Source)
	at com.aspose.words.internal.zzZm4.zzVZE(Unknown Source)
	at com.aspose.words.internal.zzZm4.<init>(Unknown Source)
	at com.aspose.words.internal.zz9p.zzZzo(Unknown Source)
	at com.aspose.words.internal.zz9p.zzZlq(Unknown Source)
	at com.aspose.words.internal.zz9p.zzZNw(Unknown Source)
	at com.aspose.words.internal.zzUu.<init>(Unknown Source)
	at com.aspose.words.internal.zz5q.zzZp8(Unknown Source)
	at com.aspose.words.internal.zz5q.<init>(Unknown Source)
	at com.aspose.words.internal.zzW3i.zzWKk(Unknown Source)
	at com.aspose.words.internal.zzW3i.zzYdw(Unknown Source)
	at com.aspose.words.internal.zzZkq.zzZp8(Unknown Source)
	at com.aspose.words.internal.zz3m.zzZp8(Unknown Source)
	at com.aspose.words.internal.zzYBj.zzZp8(Unknown Source)
	at com.aspose.words.internal.zz3m.zzZp8(Unknown Source)
	at com.aspose.words.internal.zzYBj.zzZp8(Unknown Source)
	at com.aspose.words.internal.zzXie.zzZp8(Unknown Source)
	at com.aspose.words.internal.zzYBj.zzZp8(Unknown Source)
	at com.aspose.words.internal.zz3m.zzZp8(Unknown Source)
	at com.aspose.words.internal.zzYBj.zzZp8(Unknown Source)
	at com.aspose.words.internal.zz3m.zzZp8(Unknown Source)
	at com.aspose.words.internal.zzYBj.zzZp8(Unknown Source)
	at com.aspose.words.internal.zz8P.zzZp8(Unknown Source)
	at com.aspose.words.zzZs7.zzXvE(Unknown Source)
	at com.aspose.words.zzZjP.zzZp8(Unknown Source)
	at com.aspose.words.zzZjP.zzZqK(Unknown Source)
	at com.aspose.words.zzZjP.zzZp8(Unknown Source)
	at com.aspose.words.zzVWM.zzZp8(Unknown Source)
	at com.aspose.words.Document.zzZqK(Unknown Source)
	at com.aspose.words.Document.zzZp8(Unknown Source)
	at com.aspose.words.Document.zzZp8(Unknown Source)
	at com.aspose.words.Document.save(Unknown Source)
	at com.ironclad.document.BartlebyApplication.convert(BartlebyApplication.java:98)
	at com.ironclad.document.BartlebyApplication.main(BartlebyApplication.java:63)

Tracked internally by us as 9794

@epaulet-society Thank you for reporting this problem to us. For a sake of correction it has been logged as WORDSJAVA-2715. We will keep you informed and let you know once it is resolved.