Created attachment 9573 [details] java.lang.ExceptionInInitializerError Hello, After I have built the MUPDF and importing it to the Eclipse, every time I try to run it on emulator or any android device it produce this error in the logcat _see the attachment_ error is: java.lang.ExceptionInInitializerError.
So your log trace clearly points you at MuPDFActivity.java at line 215. Looking there, I see the following: System.out.println(e); It seems odd to me that this line should cause such an error. Are you sure you haven't made changes to the code? At any rate, towards the top of openFile, you should see: System.out.println("Trying to open "+path); It would be interesting to know what path you are trying to open. You'll probably find it easier to solve this if you visit us on irc in the #ghostscript channel. See the mupdf.com site for a weblink you can use.
Created attachment 9574 [details] loading the mupdf in the MUPDFCore class Actually, when I tried to debug step by step, I reached to "MUPDFCore" class and in that line "System.loadLibrary("mupdf");" it give me the Error "java.lang.ExceptionInInitializerError", I have pushed a pdf file to the emulator and when I select it, it gives me that error, I am trying to solve this bug 2 weeks, I really appreciate if I can chat with someone who knows the solution, this is my email "amrmohsen91@gmail.com"
(In reply to comment #2) > Created attachment 9574 [details] > loading the mupdf in the MUPDFCore class > > Actually, when I tried to debug step by step, I reached to "MUPDFCore" class > and in that line "System.loadLibrary("mupdf");" it give me the Error > "java.lang.ExceptionInInitializerError", So the problem is in the loading of the native library. I would assume there is an error in the way you have linked it. Without knowing more of what you have done, there isn't much I can help with here. Does MuPDF work as downloaded from google play? > I have pushed a pdf file to the > emulator and when I select it, it gives me that error, I am trying to solve > this bug 2 weeks, I really appreciate if I can chat with someone who knows > the solution, this is my email "amrmohsen91@gmail.com" You can chat to us live by going here: http://webchat.freenode.net/?channels=ghostscript
Closing.