tuchengdong / vudroid

Automatically exported from code.google.com/p/vudroid
0 stars 0 forks source link

Nullpointer exception #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
After switching fullscreen mode on/off a few times and scroll through a few
pages, the app force closes:

I/ActivityManager(   76): Displayed activity
org.vudroid/.djvudroid.DjvuViewerActivity: 677 ms (total 677 ms)
D/ViewDroidDecodeService(24964): Converting map to bitmap finished
D/ViewDroidDecodeService(24964): Starting decode of page: 0
D/ViewDroidDecodeService(24964): Start converting map to bitmap
D/DjvuDroidNativeCodec(24964): Rendering page
D/dalvikvm(24964): GC freed 8963 objects / 397248 bytes in 48ms
D/ViewDroidDecodeService(24964): Converting map to bitmap finished
D/ViewDroidDecodeService(24964): Starting decode of page: 0
D/ViewDroidDecodeService(24964): Start converting map to bitmap
D/DjvuDroidNativeCodec(24964): Rendering page
D/ViewDroidDecodeService(24964): Converting map to bitmap finished
D/ViewDroidDecodeService(24964): Starting decode of page: 1
D/DjvuDroidNativeCodec(24964): getPage num: 2
D/ViewDroidDecodeService(24964): Start converting map to bitmap
D/DjvuDroidNativeCodec(24964): Rendering page
D/DjvuDroidNativeCodec(24964): Message push: 4
D/DjvuDroidNativeCodec(24964): handleMessage for ctx: 3a79c8
D/DjvuDroidNativeCodec(24964): Message push: 5
D/DjvuDroidNativeCodec(24964): handleMessage for ctx: 3a79c8
D/DjvuDroidNativeCodec(24964): Message push: 7
D/DjvuDroidNativeCodec(24964): handleMessage for ctx: 3a79c8
D/DjvuDroidNativeCodec(24964): Message push: 7
D/DjvuDroidNativeCodec(24964): handleMessage for ctx: 3a79c8
D/DjvuDroidNativeCodec(24964): Message push: 7
D/DjvuDroidNativeCodec(24964): handleMessage for ctx: 3a79c8
D/ViewDroidDecodeService(24964): Converting map to bitmap finished
D/ViewDroidDecodeService(24964): Starting decode of page: 1
D/ViewDroidDecodeService(24964): Start converting map to bitmap
D/DjvuDroidNativeCodec(24964): Rendering page
D/ViewDroidDecodeService(24964): Converting map to bitmap finished
D/DjvuDroidNativeCodec(24964): Message push: 7
D/DjvuDroidNativeCodec(24964): handleMessage for ctx: 3a79c8
D/DjvuDroidNativeCodec(24964): Message push: 6
D/DjvuDroidNativeCodec(24964): handleMessage for ctx: 3a79c8
D/DjvuDroidNativeCodec(24964): Message push: 7
D/DjvuDroidNativeCodec(24964): handleMessage for ctx: 3a79c8
D/DjvuDroidNativeCodec(24964): Message push: 7
D/DjvuDroidNativeCodec(24964): handleMessage for ctx: 3a79c8
D/DjvuDroidNativeCodec(24964): Message push: 4
D/DjvuDroidNativeCodec(24964): handleMessage for ctx: 3a79c8
W/KeyCharacterMap(24964): No keyboard for id 65540
W/KeyCharacterMap(24964): Using default keymap:
/system/usr/keychars/qwerty.kcm.bin
I/ActivityManager(   76): Starting activity: Intent {
act=android.intent.action.VIEW
dat=file:///sdcard/dropbox/Books/Peskin%20%26%20Schroeder%20-%20An%20Introductio
n%20To%20Quantum%20Field%20Theory%20(Westview%20Press%2C%201995)(ISBN%2002015039
72)(864s).djvu
cmp=org.vudroid/.djvudroid.DjvuViewerActivity }
D/DjvuDroidNativeCodec(24964): Creating context: 15e6c90
D/DjvuDroidNativeCodec(24964): Opening document:
hash://b371ce9ef855d17842fbc3b231eef6cd
D/DjvuDroidNativeCodec(24964): handleMessage for ctx: 15e6c90
D/DjvuDroidNativeCodec(24964): Message push: 2
D/DjvuDroidNativeCodec(24964): Calling handleNewStream callback
D/DjvuDroidCodecLibrary(24964): Starting data submit for:
hash://b371ce9ef855d17842fbc3b231eef6cd@file:///sdcard/dropbox/Books/Peskin%20%2
6%20Schroeder%20-%20An%20Introduction%20To%20Quantum%20Field%20Theory%20(Westvie
w%20Press%2C%201995)(ISBN%200201503972)(864s).djvu
D/DjvuDroidNativeCodec(24964): Requesting data for: 

D/DjvuDroidNativeCodec(24964): Starting init
D/DjvuDroidCodecLibrary(24964): Data submit finished for:
hash://b371ce9ef855d17842fbc3b231eef6cd@file:///sdcard/dropbox/Books/Peskin%20%2
6%20Schroeder%20-%20An%20Introduction%20To%20Quantum%20Field%20Theory%20(Westvie
w%20Press%2C%201995)(ISBN%200201503972)(864s).djvu
D/DjvuDroidNativeCodec(24964): getPage num: 0
D/DjvuDroidNativeCodec(24964): handleMessage for ctx: 15e6c90
D/ViewDroidDecodeService(24964): Starting decode of page: 0
D/ViewDroidDecodeService(24964): Start converting map to bitmap
D/DjvuDroidNativeCodec(24964): Rendering page
D/AndroidRuntime(24964): Shutting down VM
W/dalvikvm(24964): threadid=3: thread exiting with uncaught exception
(group=0x4001b180)
E/AndroidRuntime(24964): Uncaught handler: thread main exiting due to
uncaught exception
E/AndroidRuntime(24964): java.lang.NullPointerException
E/AndroidRuntime(24964): at
org.vudroid.core.DocumentView$1.run(DocumentView.java:79)
E/AndroidRuntime(24964): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime(24964): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime(24964): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(24964): at
android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime(24964): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime(24964): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(24964): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime(24964): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime(24964): at dalvik.system.NativeStart.main(Native Method)
I/Process (   76): Sending signal. PID: 24964 SIG: 3
I/dalvikvm(24964): threadid=7: reacting to signal 3
I/dalvikvm(24964): Wrote stack trace to '/data/anr/traces.txt'
D/DjvuDroidNativeCodec(24964): Message push: 3
D/DjvuDroidNativeCodec(24964): handleMessage for ctx: 15e6c90
I/ActivityManager(   76): Displayed activity
org.vudroid/.djvudroid.DjvuViewerActivity: 920 ms (total 920 ms)
D/ViewDroidDecodeService(24964): Converting map to bitmap finished
D/ViewDroidDecodeService(24964): Starting decode of page: 0
D/DjvuDroidNativeCodec(24964): getPage num: 1
D/ViewDroidDecodeService(24964): Start converting map to bitmap
D/DjvuDroidNativeCodec(24964): Rendering page
D/ViewDroidDecodeService(24964): Converting map to bitmap finished
D/ViewDroidDecodeService(24964): Starting decode of page: 0
D/ViewDroidDecodeService(24964): Start converting map to bitmap
D/DjvuDroidNativeCodec(24964): Rendering page
D/ViewDroidDecodeService(24964): Converting map to bitmap finished
D/ViewDroidDecodeService(24964): Starting decode of page: 0
D/ViewDroidDecodeService(24964): Start converting map to bitmap
D/dalvikvm(24964): GC freed 3748 objects / 179744 bytes in 52ms
D/DjvuDroidNativeCodec(24964): Rendering page
D/ViewDroidDecodeService(24964): Converting map to bitmap finished
I/Process (24964): Sending signal. PID: 24964 SIG: 9
I/ActivityManager(   76): Process org.vudroid (pid 24964) has died.

Original issue reported on code.google.com by xinl...@gmail.com on 30 Apr 2010 at 3:20

GoogleCodeExporter commented 8 years ago

Original comment by pavel.ti...@gmail.com on 30 Apr 2010 at 3:22

GoogleCodeExporter commented 8 years ago
Many critical crashes was fixed in 1.4. Please check is that issue is fixed for 
you.

Original comment by pavel.ti...@gmail.com on 6 Feb 2011 at 8:57