Aspose Words for Android and ProGuard minifyEnabled

Currently we are using trail version and in that we are converting docx into html. It working good in debug mode. But when I apply progaurd in that is giving error.

Getting error on:
val d = Document(i)

Added Proguard rules for Aspose:

-keep class asposewobfuscated.** { *; }
-keep class com.aspose.* { *; }
-dontnote asposewobfuscated.
-dontwarn com.aspose.

Getting below error:

java.lang.RuntimeException: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Package.getName()' on a null object reference
at pz1.e(:62)
at ev1.i(:78)
at nl4.b(:2027)
at nl4.a(:123)
at nl4.d(:29)
at q84.c0(:1031)
at q84.y(:2333)
at q84.e0(:576)
at q84.X(:116)
at q84.R(:198)
at q84.a(:70)
at hj5.j(:875)
at hj5.s(:404)
at hj5.z(:312)
at hj5.B(:173)
at hj5.A(:59)
at as7.a(:83)
at fr7.a(:114)
at up7.a(:61)
at up7.b(:46)
at iq7.a(:370)
at iq7.f(:58)
at up7.a(:112)
at up7.b(:46)
at nk5.B(:876)
at es7.a(:1032)
at eq7.i(:31)
at dj5.h(:154)
at nk5.F(:854)
at mt7.Q0(:470)
at ot7.H1(:71)
at ot7.s1(:45)
at mt7.t(:80)
at zq7.d(:152)
at zq7.b(:104)
at d75.t(:33)
at fq.z5(:1755)
at fq.Q5(:1701)
at fq.<init>(:250)
at fq.<init>(:217)
at fq.<init>(:226)
at com.icertis.icertisicm.ui.activities.WordViewerActivity$a.a(:165)
at com.icertis.icertisicm.ui.activities.WordViewerActivity$a.doInBackground(:158)
at android.os.AsyncTask$3.call(AsyncTask.java:394)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137

Please suggest what i am missing

@chetan.icertis,

try adding the following line to the Proguard rules:

-keep class com.aspose.words.** { *; }