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 8E05E18DEB for ; Fri, 14 Aug 2015 09:58:46 +0000 (UTC) Received: (qmail 6891 invoked by uid 500); 14 Aug 2015 09:58:46 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 6867 invoked by uid 500); 14 Aug 2015 09:58:46 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 6570 invoked by uid 99); 14 Aug 2015 09:58:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Aug 2015 09:58:46 +0000 Date: Fri, 14 Aug 2015 09:58:45 +0000 (UTC) From: "Elodie Corbel (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-9477) Android app crashes on image capture MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-9477?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1469679= 0#comment-14696790 ]=20 Elodie Corbel commented on CB-9477: ----------------------------------- Also having similar issue see [CB-9189 | https://issues.apache.org/jira/bro= wse/CB-9189?focusedCommentId=3D14696782&page=3Dcom.atlassian.jira.plugin.sy= stem.issuetabpanels:comment-tabpanel#comment-14696782] > Android app crashes on image capture > ------------------------------------ > > Key: CB-9477 > URL: https://issues.apache.org/jira/browse/CB-9477 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Affects Versions: 5.1.1 > Environment: Android > Reporter: Trevor Huey > > When doing a camera capture, after selecting okay on the image, the app c= rashes and it throws this error in the logcat. > This is on a Moto G device running 4.4.4 > 08-10 16:52:34.488 28126-28126/com.joltup.joltmobile E/AndroidRuntime=EF= =B9=95 FATAL EXCEPTION: main > Process: com.joltup.joltmobile, PID: 28126 > java.lang.RuntimeException: Unable to resume activity {com.joltup.jol= tmobile/com.joltup.joltmobile.MainActivity}: java.lang.RuntimeException: Fa= ilure delivering result ResultInfo{who=3Dnull, request=3D34, result=3D-1, d= ata=3Dnull} to activity {com.joltup.joltmobile/com.joltup.joltmobile.MainAc= tivity}: java.lang.NullPointerException > at android.app.ActivityThread.performResumeActivity(ActivityT= hread.java:2812) > at android.app.ActivityThread.handleResumeActivity(ActivityTh= read.java:2845) > at android.app.ActivityThread.handleLaunchActivity(ActivityTh= read.java:2262) > at android.app.ActivityThread.access$800(ActivityThread.java:= 139) > at android.app.ActivityThread$H.handleMessage(ActivityThread.= java:1210) > at android.os.Handler.dispatchMessage(Handler.java:102) > at android.os.Looper.loop(Looper.java:136) > at android.app.ActivityThread.main(ActivityThread.java:5086) > at java.lang.reflect.Method.invokeNative(Native Method) > at java.lang.reflect.Method.invoke(Method.java:515) > at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run= (ZygoteInit.java:785) > at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:60= 1) > at dalvik.system.NativeStart.main(Native Method) > Caused by: java.lang.RuntimeException: Failure delivering result Res= ultInfo{who=3Dnull, request=3D34, result=3D-1, data=3Dnull} to activity {co= m.joltup.joltmobile/com.joltup.joltmobile.MainActivity}: java.lang.NullPoin= terException > at android.app.ActivityThread.deliverResults(ActivityThread.j= ava:3432) > at android.app.ActivityThread.performResumeActivity(ActivityT= hread.java:2788) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2845) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2262) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t android.app.ActivityThread.access$800(ActivityThread.java:139) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t android.app.ActivityThread$H.handleMessage(ActivityThread.java:1210) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t android.os.Handler.dispatchMessage(Handler.java:102) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t android.os.Looper.loop(Looper.java:136) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t android.app.ActivityThread.main(ActivityThread.java:5086) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t java.lang.reflect.Method.invokeNative(Native Method) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t java.lang.reflect.Method.invoke(Method.java:515) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.jav= a:785) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t dalvik.system.NativeStart.main(Native Method) > Caused by: java.lang.NullPointerException > at org.apache.cordova.camera.CameraLauncher.processResultFrom= Camera(CameraLauncher.java:445) > at org.apache.cordova.camera.CameraLauncher.onActivityResult(= CameraLauncher.java:674) > at org.apache.cordova.CordovaInterfaceImpl.onActivityResult(C= ordovaInterfaceImpl.java:120) > at org.apache.cordova.CordovaActivity.onActivityResult(Cordov= aActivity.java:320) > at android.app.Activity.dispatchActivityResult(Activity.java:= 5446) > at android.app.ActivityThread.deliverResults(ActivityThread.j= ava:3428) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t android.app.ActivityThread.performResumeActivity(ActivityThread.java:2788= ) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2845) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2262) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t android.app.ActivityThread.access$800(ActivityThread.java:139) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t android.app.ActivityThread$H.handleMessage(ActivityThread.java:1210) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t android.os.Handler.dispatchMessage(Handler.java:102) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t android.os.Looper.loop(Looper.java:136) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t android.app.ActivityThread.main(ActivityThread.java:5086) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t java.lang.reflect.Method.invokeNative(Native Method) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t java.lang.reflect.Method.invoke(Method.java:515) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.jav= a:785) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= t dalvik.system.NativeStart.main(Native Method) -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org