Skip to content
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 While opening this book #298

Closed
miladmetias13 opened this issue Oct 16, 2018 · 2 comments
Closed

Crash While opening this book #298

miladmetias13 opened this issue Oct 16, 2018 · 2 comments
Labels

Comments

@miladmetias13
Copy link

miladmetias13 commented Oct 16, 2018

Issue / Feature - Issue
FolioReader version - com.folioreader:folioreader:0.5.1
FolioReader Stock / Modified - Stock
Android SDK - 28
Mobile / Tablet / Emulator Info - Mobile Samsung Note 4
Crash / Error - Crash

Steps to reproduce / Describe in detail - open the attached book then try to swipe horizontal

open the .epub file after extracting he .zip file
22.zip

@miladmetias13
Copy link
Author

miladmetias13 commented Oct 16, 2018

10-16 15:39:10.907 18341-20736/ResourceHandler: kotlin.KotlinNullPointerException
kotlin.KotlinNullPointerException
at org.readium.r2.streamer.server.handler.ResourceHandler.get(ResourceHandler.kt:67)
at org.nanohttpd.router.RouterNanoHTTPD$UriResource.process(RouterNanoHTTPD.java:385)
at org.nanohttpd.router.RouterNanoHTTPD$UriRouter.process(RouterNanoHTTPD.java:597)
at org.nanohttpd.router.RouterNanoHTTPD.serve(RouterNanoHTTPD.java:672)
at org.nanohttpd.protocols.http.NanoHTTPD$1.handle(NanoHTTPD.java:376)
at org.nanohttpd.protocols.http.NanoHTTPD$1.handle(NanoHTTPD.java:372)
at org.nanohttpd.protocols.http.NanoHTTPD.handle(NanoHTTPD.java:535)
at org.nanohttpd.protocols.http.HTTPSession.execute(HTTPSession.java:421)
at org.nanohttpd.protocols.http.ClientHandler.run(ClientHandler.java:75)
at java.lang.Thread.run(Thread.java:818)
10-16 15:39:10.912 18341-18594/com.konooz D/mali_winsys: new_window_surface returns 0x3000, [1440x2560]-format:1
10-16 15:39:10.922 18341-20751/com.konooz E/HtmlTask: HtmlTask failed
java.io.FileNotFoundException: http://127.0.0.1:8080/22/OEBPS/Text/%D8%A7%D9%84%D9%85%D8%A7%D8%B6%D9%8A%20%D9%88%D8%A7%D9%84%D9%85%D8%B3%D8%AA%D9%82%D8%A8%D9%84.html
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:242)
at com.folioreader.ui.base.HtmlTask.doInBackground(HtmlTask.java:38)
at com.folioreader.ui.base.HtmlTask.doInBackground(HtmlTask.java:22)
at android.os.AsyncTask$2.call(AsyncTask.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)

10-16 15:39:11.802 18341-20818/ResourceHandler: kotlin.KotlinNullPointerException
kotlin.KotlinNullPointerException
at org.readium.r2.streamer.server.handler.ResourceHandler.get(ResourceHandler.kt:67)
at org.nanohttpd.router.RouterNanoHTTPD$UriResource.process(RouterNanoHTTPD.java:385)
at org.nanohttpd.router.RouterNanoHTTPD$UriRouter.process(RouterNanoHTTPD.java:597)
at org.nanohttpd.router.RouterNanoHTTPD.serve(RouterNanoHTTPD.java:672)
at org.nanohttpd.protocols.http.NanoHTTPD$1.handle(NanoHTTPD.java:376)
at org.nanohttpd.protocols.http.NanoHTTPD$1.handle(NanoHTTPD.java:372)
at org.nanohttpd.protocols.http.NanoHTTPD.handle(NanoHTTPD.java:535)
at org.nanohttpd.protocols.http.HTTPSession.execute(HTTPSession.java:421)
at org.nanohttpd.protocols.http.ClientHandler.run(ClientHandler.java:75)
at java.lang.Thread.run(Thread.java:818)

@miladmetias13
Copy link
Author

many thanks to you ,

i really can't thank you enough

wish you the best

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants