cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abel Muiño (JIRA) <>
Subject [jira] [Created] (CB-3038) Crash caused by NPE when selecting picture from picasa
Date Mon, 15 Apr 2013 17:32:15 GMT
Abel Muiño created CB-3038:

             Summary: Crash caused by NPE when selecting picture from picasa
                 Key: CB-3038
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 2.6.0
            Reporter: Abel Muiño
            Assignee: Joe Bowser

When the user selects a picture from the galery that comes from Picasa, a NPE is trown and
the application crashes.

The stacktrace that I can get from netcat is:

E/FileUtils(32181): Could get real path for URI string content://
D/AndroidRuntime(32181): Shutting down VM
W/dalvikvm(32181): threadid=1: thread exiting with uncaught exception (group=0x40cc9930)
E/AndroidRuntime(32181): FATAL EXCEPTION: main
E/AndroidRuntime(32181): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null,
request=19, result=-1, data=Intent { dat=content://
flg=0x1 }} to activity {com.neupic.reporter/com.neupic.reporter.Reporter}: java.lang.NullPointerException
E/AndroidRuntime(32181):  at
E/AndroidRuntime(32181):  at
E/AndroidRuntime(32181):  at$1100(
E/AndroidRuntime(32181):  at$H.handleMessage(
E/AndroidRuntime(32181):  at android.os.Handler.dispatchMessage(
E/AndroidRuntime(32181):  at android.os.Looper.loop(
E/AndroidRuntime(32181):  at
E/AndroidRuntime(32181):  at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(32181):  at java.lang.reflect.Method.invoke(
E/AndroidRuntime(32181):  at$
E/AndroidRuntime(32181):  at
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(
E/AndroidRuntime(32181):  at org.apache.cordova.CameraLauncher.onActivityResult(
E/AndroidRuntime(32181):  at org.apache.cordova.DroidGap.onActivityResult(
E/AndroidRuntime(32181):  at
E/AndroidRuntime(32181):  at
E/AndroidRuntime(32181):  ... 11 more

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message