pollitodas / vudroid

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

VuDroid force closes when opening PDF documents with Preview from Gmail #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Opening PDF document with Preview Button in Gmail.
(Opening of downloaded PDF files is ok!)

What is the expected output? What do you see instead?
I receive a message:
"The application VuDroid (process org.vudroid) has stopped unexpectedly. 
Please try again."

What version of the product are you using? On what operating system?
Android 1.6
(Android Smartphone T-Mobile G1 - v1.6 Firmware)

Please provide any additional information below.

vudroid v1.2
logcat v1.4
on pdf files via Gmail preview

----- error log -------- see area between ## marked lines
D/alogcat ( 1128): stopping ...
I/ActivityManager(   75): Process com.google.android.apps.uploader (pid 990) 
has died.
W/InputManagerService(   75): Window already focused, ignoring focus gain of: 
com.android.internal.view.IInputMethodClient$Stub$Proxy@43477cc8
D/dalvikvm(  907): GC freed 11992 objects / 504592 bytes in 145ms
I/ActivityManager(   75): Start proc com.android.settings for broadcast 
com.android.settings/.widget.SettingsAppWidgetProvider: pid=1145 uid=1000 
gids={3002, 3001, 3003}
I/ActivityManager(   75): Starting activity: Intent { 
act=android.intent.action.MAIN cat=[android.intent.category.HOME] 
flg=0x10200000 cmp=com.android.launcher/.Launcher }
D/alogcat ( 1128): stopping ...
D/alogcat ( 1128): paused
I/dalvikvm( 1145): Debugger thread not active, ignoring DDM send (t=0x41504e4d 
l=38)
I/dalvikvm( 1145): Debugger thread not active, ignoring DDM send (t=0x41504e4d 
l=44)
I/ActivityManager(   75): Starting activity: Intent { 
act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] 
flg=0x10200000 cmp=com.google.android.gm/.ConversationListActivityGoogleMail }
V/Gmail   ( 1112): onRestart(), 
id=com.google.android.gm.ConversationListActivity@432bac78
V/Gmail   ( 1112): onStart(), 
id=com.google.android.gm.ConversationListActivity@432bac78
V/Gmail   ( 1112): onResume()
D/gmail-ls(  907): clearNewUnreadMailForNotificationLabelIfNeeded. Count: 0, 
label: -5/^^unseen-^i
D/gmail-ls(  907): clearNewUnreadMailForNotificationLabelIfNeeded. Count: 0, 
label: -6/^^unseen-^^vmi
D/dalvikvm(  133): GC freed 704 objects / 36400 bytes in 123ms
I/ActivityManager(   75): Starting activity: Intent { 
cmp=com.google.android.gm/.HtmlConversationActivity (has extras) }
V/Gmail   ( 1112): onSaveInstanceState(), 
id=com.google.android.gm.ConversationListActivity@432bac78
V/Gmail   ( 1112): onPause(), 
id=com.google.android.gm.ConversationListActivity@432bac78
I/ActivityManager(   75): Process com.android.settings (pid 1145) has died.
D/gmail-ls(  907): MailProvider.query: 
content://gmail-ls/conversations/xxx@gmail.com/1341697677474946481/messages(null
, null)
D/dalvikvm( 1112): GC freed 4136 objects / 205792 bytes in 275ms
D/dalvikvm( 1112): GC freed 675 objects / 34872 bytes in 122ms
I/ActivityManager(   75): Process de.softxperience.android.noteeverything (pid 
1088) has died.
D/dalvikvm( 1112): GC freed 11 objects / 424 bytes in 151ms
I/dalvikvm-heap( 1112): Grow heap (frag case) to 4.226MB for 307292-byte 
allocation
D/dalvikvm( 1112): GC freed 59 objects / 2408 bytes in 105ms
I/ActivityManager(   75): Displayed activity 
com.google.android.gm/.HtmlConversationActivity: 2288 ms (total 2288 ms)
D/gmail-ls(  907): MailProvider.query: 
content://gmail-ls/messages/xxx@gmail.com/326(null, null)
I/ActivityManager(   75): Starting activity: Intent { 
dat=content://gmail-ls/messages/xxx%40gmail.com/326/attachments/0.1/BEST/false 
cmp=com.google.android.gm/.ViewAttachmentActivity }
D/gmail-ls(  907): MailProvider.delete(): removing label ^u from conversation 
1341697677474946481
D/Gmail   ( 1112): com.google.android.gm.HtmlConversationActivity@432f4078 
onPause() finished
I/ActivityManager(   75): Process com.android.browser (pid 931) has died.
I/WindowManager(   75): WIN DEATH: Window{43337b90 
com.android.browser/com.android.browser.BrowserActivity paused=false}
D/gmail-ls(  907): MailProvider.query: 
content://gmail-ls/messages/xxx%40gmail.com/326/attachments/0.1/BEST/false/downl
oad(null, null)
D/gmail-ls(  907): queryAndStartDownloadingAttachment for conversationId = 
1341697677474946481, messageId=1341697677474946481, partId=0.1, rendition=BEST, 
saveToSd=false
I/ActivityManager(   75): Start proc android.process.media for content provider 
com.android.providers.downloads/.DownloadProvider: pid=1152 uid=10006 
gids={1006, 1015, 2001, 3003}
I/dalvikvm( 1152): Debugger thread not active, ignoring DDM send (t=0x41504e4d 
l=38)
I/dalvikvm( 1152): Debugger thread not active, ignoring DDM send (t=0x41504e4d 
l=46)
I/ActivityThread( 1152): Publishing provider downloads: 
com.android.providers.downloads.DownloadProvider
I/ActivityThread( 1152): Publishing provider drm: 
com.android.providers.drm.DrmProvider
I/ActivityThread( 1152): Publishing provider media: 
com.android.providers.media.MediaProvider
V/MediaProvider( 1152): Attached volume: internal
V/MediaProvider( 1152): /sdcard volume ID: 1647928369
V/MediaProvider( 1152): Attached volume: external
###
I/ActivityManager(   75): Starting activity: Intent { 
act=android.intent.action.VIEW 
dat=content://gmail-ls/messages/xxx%40gmail.com/326/attachments/0.1/BEST/false 
typ=application/pdf flg=0x80001 cmp=org.vudroid/.pdfdroid.PdfViewerActivity }
I/ActivityManager(   75): Start proc org.vudroid for activity 
org.vudroid/.pdfdroid.PdfViewerActivity: pid=1161 uid=10003 gids={1015}
D/dalvikvm( 1161): Trying to load lib /data/data/org.vudroid/lib/libvudroid.so 
0x4329f618
D/gmail-ls(  907): cancelDownloadRequest: conversationId = 1341697677474946481, 
messageId=1341697677474946481, partId=0.1, rendition=BEST, saveToSd=false
D/dalvikvm( 1161): Added shared lib /data/data/org.vudroid/lib/libvudroid.so 
0x4329f618
D/PdfDroid( 1161): initializing PdfRender JNI library based on MuPDF
D/gmail-ls(  907): MailProvider.query: 
content://gmail-ls/messages/xxx%40gmail.com/326/attachments/0.1/BEST/false(null,
 null)
D/AndroidRuntime( 1161): Shutting down VM
W/dalvikvm( 1161): threadid=3: thread exiting with uncaught exception 
(group=0x4001da28)
E/AndroidRuntime( 1161): Uncaught handler: thread main exiting due to uncaught 
exception
E/AndroidRuntime( 1161): java.lang.RuntimeException: Unable to start activity 
ComponentInfo{org.vudroid/org.vudroid.pdfdroid.PdfViewerActivity}: 
java.lang.NullPointerException
E/AndroidRuntime( 1161): at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2401)
E/AndroidRuntime( 1161): at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2417)
E/AndroidRuntime( 1161): at 
android.app.ActivityThread.access$2100(ActivityThread.java:116)
E/AndroidRuntime( 1161): at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
E/AndroidRuntime( 1161): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1161): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1161): at 
android.app.ActivityThread.main(ActivityThread.java:4203)
E/AndroidRuntime( 1161): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1161): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1161): at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 1161): at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
E/AndroidRuntime( 1161): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1161): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 1161): at 
org.vudroid.core.utils.PathFromUri.retrieve(PathFromUri.java:16)
E/AndroidRuntime( 1161): at 
org.vudroid.core.DecodeServiceBase.open(DecodeServiceBase.java:53)
E/AndroidRuntime( 1161): at 
org.vudroid.core.BaseViewerActivity.onCreate(BaseViewerActivity.java:48)
E/AndroidRuntime( 1161): at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
E/AndroidRuntime( 1161): at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2364)
E/AndroidRuntime( 1161): ... 11 more
I/Process (   75): Sending signal. PID: 1161 SIG: 3
I/dalvikvm( 1161): threadid=7: reacting to signal 3
I/dalvikvm( 1161): Wrote stack trace to '/data/anr/traces.txt'
W/ActivityManager(   75): Launch timeout has expired, giving up wake lock!
W/ActivityManager(   75): Activity idle timeout for HistoryRecord{4347ebf0 
org.vudroid/.pdfdroid.PdfViewerActivity}
D/dalvikvm( 1112): GC freed 3320 objects / 1051328 bytes in 120ms
D/dalvikvm(   75): GC freed 21567 objects / 1044376 bytes in 370ms
D/WifiService(   75): ACTION_BATTERY_CHANGED pluggedType: 1
D/OpenSSLSessionImpl(   75): Freeing OpenSSL session
I/gmail-ls(  907): MainSyncRequestProto: lowestBkwdConvoId: 0, 
highestHandledServerOp: 238311
I/gmail-ls(  907): ProtoRequest: clientid: 1269704204896
I/Process ( 1161): Sending signal. PID: 1161 SIG: 9
I/ActivityManager(   75): Process org.vudroid (pid 1161) has died.
W/UsageStats(   75): Unexpected resume of com.google.android.gm while already 
resumed in org.vudroid
D/dalvikvm( 1112): GC freed 1157 objects / 70808 bytes in 115ms
W/InputManagerService(   75): Window already focused, ignoring focus gain of: 
com.android.internal.view.IInputMethodClient$Stub$Proxy@43339328
I/Resources(  907): Loaded time zone names for en_US in 3486ms.
###
D/dalvikvm(  907): GC freed 2351 objects / 128352 bytes in 150ms
I/Resources(  907): Loaded time zone names for en_US in 1410ms.
W/ResponseProcessCookies(  907): Cookie rejected: "[version: 0][name: 
GX][value: 
DQAAAIQAAAAjVawUXWFnRsPELRWZRwWqlTZSLtxaZuW-U9TBMArZ6_RxleiluzMI2lKRKe8ZPX-e4oiP
zUMrCtso4bIdlRmXYNez8TDHKhNpwhtrcN_s9K5vRby0c_WxbevHIdjD1pBoDS8dMh6hFOfdbXTFqSa1
U5dueckLfF8k_3x-bDVKVmG7kPq31lmU_SgB2VH38iQ][domain: mail.google.com][path: 
/proxy/gmail/mail][expiry: Wed Aug 04 19:21:51 GMT+02:00 2010]". Illegal domain 
attribute "mail.google.com". Domain of origin: "android.clients.google.com"
D/dalvikvm(  907): GC freed 6465 objects / 288008 bytes in 132ms
I/gmail-ls(  907): MainSyncRequestProto: lowestBkwdConvoId: 0, 
highestHandledServerOp: 238311
I/gmail-ls(  907): ProtoRequest: clientid: 1269704204896
I/ActivityManager(   75): Start proc com.android.settings for broadcast 
com.android.settings/.widget.SettingsAppWidgetProvider: pid=1169 uid=1000 
gids={3002, 3001, 3003}
I/ActivityManager(   75): Starting activity: Intent { 
act=android.intent.action.MAIN cat=[android.intent.category.HOME] 
flg=0x10200000 cmp=com.android.launcher/.Launcher }
D/gmail-ls(  907): MailProvider.delete(): removing label ^u from conversation 
1341697677474946481
D/Gmail   ( 1112): com.google.android.gm.HtmlConversationActivity@432f4078 
onPause() finished
I/dalvikvm( 1169): Debugger thread not active, ignoring DDM send (t=0x41504e4d 
l=38)
I/dalvikvm( 1169): Debugger thread not active, ignoring DDM send (t=0x41504e4d 
l=44)
I/ActivityManager(   75): Starting activity: Intent { 
act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] 
flg=0x10200000 cmp=org.jtb.alogcat/.LogActivity }
I/NotificationService(   75): enqueueToast pkg=org.jtb.alogcat 
callback=android.app.ITransientNotification$Stub$Proxy@43104448 duration=1
D/alogcat ( 1128): stopping ...
D/alogcat ( 1128): resumed
D/dalvikvm( 1128): GC freed 3980 objects / 425880 bytes in 163ms
D/dalvikvm(  907): GC freed 1607 objects / 60752 bytes in 126ms
I/gmail-ls(  907): MainSyncRequestProto: lowestBkwdConvoId: 0, 
highestHandledServerOp: 238311
I/gmail-ls(  907): ProtoRequest: clientid: 1269704204896
I/Resources(  907): Loaded time zone names for en_US in 1269ms.
W/ResponseProcessCookies(  907): Cookie rejected: "[version: 0][name: 
GX][value: 
DQAAAIQAAACY-4-Sw_xf5aGlsyCp7ZnQ3Rp3LCGf4Bd53yFtaBwoK-wUEIkQ33p495CVvpnA2Sgf8RjO
plkhnc4NQPo3P8dnZEHFdCC2s1nV1Ckck7lYERRMhndx1YAmbIySGoSzmEEO4eQqcpwkIXy_dll6jKS_
G6LddCBSVFb5NnZ-I51ABYvNgmmSv8TYAcnBEj1_E-A][domain: mail.google.com][path: 
/proxy/gmail/mail][expiry: Wed Aug 04 19:22:31 GMT+02:00 2010]". Illegal domain 
attribute "mail.google.com". Domain of origin: "android.clients.google.com"
D/dalvikvm(  907): GC freed 6653 objects / 296616 bytes in 133ms
I/gmail-ls(  907): MainSyncRequestProto: lowestBkwdConvoId: 0, 
highestHandledServerOp: 238311
I/gmail-ls(  907): ProtoRequest: clientid: 1269704204896
D/dalvikvm(  133): GC freed 273 objects / 13464 bytes in 118ms

Original issue reported on code.google.com by Schul...@gmail.com on 24 Jul 2010 at 1:11

GoogleCodeExporter commented 9 years ago

Original comment by pavel.ti...@gmail.com on 26 Jul 2010 at 11:08