When pdf is loading I see error logs, but error calback is not triggered.
Device Samsung s20, Android 11
16703-19773/pkg E/com.shockwave.pdfium.PdfiumCore: mContext may be null
16703-19773/pkg W/System.err: java.lang.NullPointerException: Attempt to read from field 'java.util.Map com.shockwave.pdfium.PdfDocument.mNativePagesPtr' on a null object reference
16703-19773/pkg W/System.err: at com.shockwave.pdfium.PdfiumCore.renderPageBitmap(PdfiumCore.java:310)
16703-19773/pkg W/System.err: at com.github.barteksc.pdfviewer.PdfFile.renderPageBitmap(PdfFile.java:238)
16703-19773/pkg W/System.err: at com.github.barteksc.pdfviewer.RenderingHandler.proceed(RenderingHandler.java:109)
16703-19773/pkg W/System.err: at com.github.barteksc.pdfviewer.RenderingHandler.handleMessage(RenderingHandler.java:66)
16703-19773/pkg W/System.err: at android.os.Handler.dispatchMessage(Handler.java:106)
16703-19773/pkg W/System.err: at android.os.Looper.loop(Looper.java:246)
16703-19773/pkg W/System.err: at android.os.HandlerThread.run(HandlerThread.java:67)
26232-27213/pkg E/com.shockwave.pdfium.PdfiumCore: mContext may be null
26232-27213/pkg W/System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.lang.Long.longValue()' on a null object reference
26232-27213/pkg W/System.err: at com.shockwave.pdfium.PdfiumCore.renderPageBitmap(PdfiumCore.java:310)
26232-27213/pkg W/System.err: at com.github.barteksc.pdfviewer.PdfFile.renderPageBitmap(PdfFile.java:238)
26232-27213/pkg W/System.err: at com.github.barteksc.pdfviewer.RenderingHandler.proceed(RenderingHandler.java:109)
26232-27213/pkg W/System.err: at com.github.barteksc.pdfviewer.RenderingHandler.handleMessage(RenderingHandler.java:66)
26232-27213/pkg W/System.err: at android.os.Handler.dispatchMessage(Handler.java:106)
26232-27213/pkg W/System.err: at android.os.Looper.loop(Looper.java:246)
26232-27213/pkg W/System.err: at android.os.HandlerThread.run(HandlerThread.java:67)
31208-31208/pkg W/AsyncTask: Exceeded ThreadPoolExecutor pool size
When pdf is loading I see error logs, but error calback is not triggered. Device Samsung s20, Android 11
16703-19773/pkg E/com.shockwave.pdfium.PdfiumCore: mContext may be null 16703-19773/pkg W/System.err: java.lang.NullPointerException: Attempt to read from field 'java.util.Map com.shockwave.pdfium.PdfDocument.mNativePagesPtr' on a null object reference 16703-19773/pkg W/System.err: at com.shockwave.pdfium.PdfiumCore.renderPageBitmap(PdfiumCore.java:310) 16703-19773/pkg W/System.err: at com.github.barteksc.pdfviewer.PdfFile.renderPageBitmap(PdfFile.java:238) 16703-19773/pkg W/System.err: at com.github.barteksc.pdfviewer.RenderingHandler.proceed(RenderingHandler.java:109) 16703-19773/pkg W/System.err: at com.github.barteksc.pdfviewer.RenderingHandler.handleMessage(RenderingHandler.java:66) 16703-19773/pkg W/System.err: at android.os.Handler.dispatchMessage(Handler.java:106) 16703-19773/pkg W/System.err: at android.os.Looper.loop(Looper.java:246) 16703-19773/pkg W/System.err: at android.os.HandlerThread.run(HandlerThread.java:67)
26232-27213/pkg E/com.shockwave.pdfium.PdfiumCore: mContext may be null 26232-27213/pkg W/System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.lang.Long.longValue()' on a null object reference 26232-27213/pkg W/System.err: at com.shockwave.pdfium.PdfiumCore.renderPageBitmap(PdfiumCore.java:310) 26232-27213/pkg W/System.err: at com.github.barteksc.pdfviewer.PdfFile.renderPageBitmap(PdfFile.java:238) 26232-27213/pkg W/System.err: at com.github.barteksc.pdfviewer.RenderingHandler.proceed(RenderingHandler.java:109) 26232-27213/pkg W/System.err: at com.github.barteksc.pdfviewer.RenderingHandler.handleMessage(RenderingHandler.java:66) 26232-27213/pkg W/System.err: at android.os.Handler.dispatchMessage(Handler.java:106) 26232-27213/pkg W/System.err: at android.os.Looper.loop(Looper.java:246) 26232-27213/pkg W/System.err: at android.os.HandlerThread.run(HandlerThread.java:67)
31208-31208/pkg W/AsyncTask: Exceeded ThreadPoolExecutor pool size