Can't open a valid comic book

Kenneth Armstrong 6 years ago updated 6 years ago 5
I have a valid comic book that I have been able to open on various comic readers on my computer. I also have the second issue to this particular series that I can read on my computer, and that Ubiquity has picked up and displays the pages just fine. However, the first issue of this series is just not working. I have re-downloaded the comic, I have uncompressed and renamed the pages (001, 002, etc.) and recompressed it. Nonetheless, it will not open this book and I can't figure out why. Here is the stack trace:

20150910 15:20:08 [pool-1-thread-28] WARN com.ubooquity.provider.page.a - Could not extract page 0 from comic /mnt/kodi/comics/Battlestar Galactica/(Classic) Battlestar Galactica - The Death of Apollo #001 (2014).cbz
java.lang.NullPointerException: null
   at com.ubooquity.provider.page.a.a(SourceFile:107) [Ubooquity.jar:1.8.2]
   at com.ubooquity.provider.page.a.a(SourceFile:80) [Ubooquity.jar:1.8.2]
   at com.ubooquity.c.a(SourceFile:318) [Ubooquity.jar:1.8.2]
   at com.ubooquity.c.a(SourceFile:57) [Ubooquity.jar:1.8.2]
   at com.ubooquity.c$1.a(SourceFile:129) [Ubooquity.jar:1.8.2]
   at com.ubooquity.e.e.a(SourceFile:287) [Ubooquity.jar:1.8.2]
   at com.ubooquity.e.e$f.a(SourceFile:830) [Ubooquity.jar:1.8.2]
   at com.ubooquity.e.e$1$1.run(SourceFile:210) [Ubooquity.jar:1.8.2]
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_51]
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_51]
   at java.lang.Thread.run(Thread.java:745) [na:1.8.0_51]

I would be happy to send the file to anyone willing to help me troubleshoot this issue (no pun intended).
Under review
I guess it's too big for email, but if you have a link I could use to download it, send it to "tom at vaemendis dot net" and I'll take a look.
just emailed a link to you. Thanks!
The problem lies in the "__MACOSX" folder contained in the cbz. It contains fake "jpg" files which can't be read by Ubooquity.
The fix is simply to delete this directory inside the cbz (using any archive utility, like 7-zip), launch a rescan and perhaps refresh you browser's cache.

More on this matter here.
Yep, that's what fixed it! Thanks!

In case anyone else runs into this, I just ran this on the books on my server: zip --delete "__MACOSX/*" <name of comicbook>.cbz, then rescanned.