psiegman / epublib

a java library for reading and writing epub files
http://www.siegmann.nl/epublib
1.06k stars 317 forks source link

I tried creating a Book object with a file path in Android but i got a Fatal Exception #66

Open doronz opened 10 years ago

doronz commented 10 years ago

My app crashes on this line:

Book book = epubReader.readEpub(new FileInputStream(file));

where file = /storage/emulated/0/Download/burnett-secret-garden-illustrations.epub

There error was: 03-13 16:29:55.046: E/AndroidRuntime(17721): FATAL EXCEPTION: main

psiegman commented 10 years ago

Can you send me a copy of this book, so I can have a look why it crashes ?

doronz commented 10 years ago

http://www.epubbooks.com/downloads/142 (direct download)

psiegman commented 10 years ago

Hi Doronz,

I've loaded this book in the epublib viewer, and it worked fine. So I'm sorry, but I can't see what's going wrong on your system.

regards, Paul

doronz commented 10 years ago

Thanks for taking a look. I will try to figure it out on my end. On Mar 14, 2014 2:39 AM, "Paul Siegmann" notifications@github.com wrote:

Hi Doronz,

I've loaded this book in the epublib viewer, and it worked fine. So I'm sorry, but I can't see what's going wrong on your system.

regards, Paul

Reply to this email directly or view it on GitHubhttps://github.com/psiegman/epublib/issues/66#issuecomment-37630264 .