-
Notifications
You must be signed in to change notification settings - Fork 416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crash app #16
Labels
bug
Something isn't working
Comments
@AnhTu6610 can you attach the code that caused the error? |
@AnhTu6610 any news? |
Facing the same issue in Android (yet to check in iOS) Scenario explanation : App closes on trying to open the PDF.
2nd works just fine. But when trying to view PDF it force closes the app. |
Do you close the page before opening a new one? |
try it: #29 (comment) |
SergeShkurko
added a commit
that referenced
this issue
Mar 5, 2020
native_pdf_view: ^2.2.0
native_pdf_renderer: ^1.8.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
E/AndroidRuntime(22186): FATAL EXCEPTION: Thread-123
E/AndroidRuntime(22186): Process: com.abcd.bookse, PID: 22186
E/AndroidRuntime(22186): java.lang.IllegalStateException: Current page not closed
E/AndroidRuntime(22186): at android.graphics.pdf.PdfRenderer.throwIfPageOpened(PdfRenderer.java:273)
E/AndroidRuntime(22186): at android.graphics.pdf.PdfRenderer.openPage(PdfRenderer.java:226)
E/AndroidRuntime(22186): at io.scer.pdf.renderer.document.Document.openPage(Document.kt:30)
E/AndroidRuntime(22186): at io.scer.pdf.renderer.NativePDFRendererPlugin$openPageHandler$1.run(NativePDFRendererPlugin.kt:129)
E/AndroidRuntime(22186): at java.lang.Thread.run(Thread.java:764)
E/AndroidRuntime(22186): FATAL EXCEPTION: Thread-125
E/AndroidRuntime(22186): Process: com.anhtudev.bookse, PID: 22186
E/AndroidRuntime(22186): java.lang.IllegalStateException: Current page not closed
E/AndroidRuntime(22186): at android.graphics.pdf.PdfRenderer.throwIfPageOpened(PdfRenderer.java:273)
E/AndroidRuntime(22186): at android.graphics.pdf.PdfRenderer.openPage(PdfRenderer.java:226)
E/AndroidRuntime(22186): at io.scer.pdf.renderer.document.Document.openPage(Document.kt:30)
E/AndroidRuntime(22186): at io.scer.pdf.renderer.NativePDFRendererPlugin$openPageHandler$1.run(NativePDFRendererPlugin.kt:129)
E/AndroidRuntime(22186): at java.lang.Thread.run(Thread.java:764)
I/Process (22186): Sending signal. PID: 22186 SIG: 9
Lost connection to device.
The text was updated successfully, but these errors were encountered: