Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B3989FD77 for ; Mon, 15 Apr 2013 17:32:16 +0000 (UTC) Received: (qmail 89736 invoked by uid 500); 15 Apr 2013 17:32:15 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 89716 invoked by uid 500); 15 Apr 2013 17:32:15 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 89707 invoked by uid 99); 15 Apr 2013 17:32:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Apr 2013 17:32:15 +0000 Date: Mon, 15 Apr 2013 17:32:15 +0000 (UTC) From: =?utf-8?Q?Abel_Mui=C3=B1o_=28JIRA=29?= To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CB-3038) Crash caused by NPE when selecting picture from picasa MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Abel Mui=C3=B1o created CB-3038: ------------------------------ Summary: Crash caused by NPE when selecting picture from picas= a Key: CB-3038 URL: https://issues.apache.org/jira/browse/CB-3038 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.6.0 Reporter: Abel Mui=C3=B1o Assignee: Joe Bowser When the user selects a picture from the galery that comes from Picasa, a N= PE is trown and the application crashes. The stacktrace that I can get from netcat is: {noformat} E/FileUtils(32181): Could get real path for URI string content://com.google= .android.gallery3d.provider/picasa/item/5825295055430535810 D/AndroidRuntime(32181): Shutting down VM W/dalvikvm(32181): threadid=3D1: thread exiting with uncaught exception (gr= oup=3D0x40cc9930) E/AndroidRuntime(32181): FATAL EXCEPTION: main E/AndroidRuntime(32181): java.lang.RuntimeException: Failure delivering res= ult ResultInfo{who=3Dnull, request=3D19, result=3D-1, data=3DIntent { dat= =3Dcontent://com.google.android.gallery3d.provider/picasa/item/582529505543= 0535810 flg=3D0x1 }} to activity {com.neupic.reporter/com.neupic.reporter.R= eporter}: java.lang.NullPointerException E/AndroidRuntime(32181): at android.app.ActivityThread.deliverResults(Acti= vityThread.java:3319) E/AndroidRuntime(32181): at android.app.ActivityThread.handleSendResult(Ac= tivityThread.java:3362) E/AndroidRuntime(32181): at android.app.ActivityThread.access$1100(Activit= yThread.java:141) E/AndroidRuntime(32181): at android.app.ActivityThread$H.handleMessage(Act= ivityThread.java:1282) E/AndroidRuntime(32181): at android.os.Handler.dispatchMessage(Handler.jav= a:99) E/AndroidRuntime(32181): at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime(32181): at android.app.ActivityThread.main(ActivityThread= .java:5041) E/AndroidRuntime(32181): at java.lang.reflect.Method.invokeNative(Native M= ethod) E/AndroidRuntime(32181): at java.lang.reflect.Method.invoke(Method.java:51= 1) E/AndroidRuntime(32181): at com.android.internal.os.ZygoteInit$MethodAndAr= gsCaller.run(ZygoteInit.java:793) E/AndroidRuntime(32181): at com.android.internal.os.ZygoteInit.main(Zygote= Init.java:560) E/AndroidRuntime(32181): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(32181): Caused by: java.lang.NullPointerException E/AndroidRuntime(32181): at org.apache.cordova.FileHelper.getMimeType(File= Helper.java:125) E/AndroidRuntime(32181): at org.apache.cordova.CameraLauncher.onActivityRe= sult(CameraLauncher.java:401) E/AndroidRuntime(32181): at org.apache.cordova.DroidGap.onActivityResult(D= roidGap.java:863) E/AndroidRuntime(32181): at android.app.Activity.dispatchActivityResult(Ac= tivity.java:5293) E/AndroidRuntime(32181): at android.app.ActivityThread.deliverResults(Acti= vityThread.java:3315) E/AndroidRuntime(32181): ... 11 more {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira