Hello
Having the the following HTML throws an exception:
----------------------
com.aspose.words.FileCorruptedException: The document appears to be corrupted and cannot be loaded.
at com.aspose.words.FileFormatUtil.zzY(Unknown Source)
at com.aspose.words.Document.zzY(Unknown Source)
at com.aspose.words.Document.zzZ(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
at aspose.sandbox.Application.main(Application.java:28)
Caused by: java.lang.NullPointerException
at com.aspose.words.zzZY1.zzZS4(Unknown Source)
at com.aspose.words.zzZXJ.zzT(Unknown Source)
at com.aspose.words.zzZXJ.zzZ(Unknown Source)
at com.aspose.words.zzZXJ.zzP(Unknown Source)
at com.aspose.words.zzZXJ.zzQ(Unknown Source)
at com.aspose.words.zzZXJ.zzP(Unknown Source)
at com.aspose.words.zzZXJ.zzQ(Unknown Source)
at com.aspose.words.zzZXJ.zzP(Unknown Source)
at com.aspose.words.zzZXJ.zzQ(Unknown Source)
at com.aspose.words.zzZXJ.zzZ(Unknown Source)
at com.aspose.words.zzZXJ.zzZ(Unknown Source)
at com.aspose.words.Document.zzY(Unknown Source)
… 3 more
Yes I know the second LI is missing the parent UL tag, interesting is if I remove the first UL block then the document is loaded without error:
This happens with the current version 14.8.0, it used to work a few versions back, don’t know the exact version though.