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

Free Support Forum - aspose.com

Loading Word Document having Column Breaks, Tables with Java & Avoid Null Pointer Exception

When I load the attached document I get a NullPointerException in Aspose:

java.lang.RuntimeException: java.lang.NullPointerException
	at com.aspose.words.internal.zz28.zzX(Unknown Source)
	at com.aspose.words.internal.zz28.zzY(Unknown Source)
	at com.aspose.words.Document.<init>(Unknown Source)

two_column_table3.docx (14.8 KB)


After an initial test with the licensed latest (21.5) version of Aspose.Words for Java, we were unable to reproduce this issue on our end. So, we suggest you to please upgrade to the latest 21.5 version of Aspose.Words for Java.

Thanks for the quick response! Yes upgrading from 21.3 to 21.5 seems to have resolved the issue.


It is great that the latest (21.5) version of Aspose.Words for Java resolves the issue on your end. Please let us know any time you may have any further queries in future.