Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11523

Unhandled null pointer on mediacapture cancel

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Labels:
    • Environment:

      Android 4.4.2

      Description

      When selection of media in mediacapture is canceled:

      E/AndroidRuntime( 5307): java.lang.NullPointerException
      E/AndroidRuntime( 5307): at org.apache.cordova.mediacapture.Capture.createMediaFile(Capture.java:452)
      E/AndroidRuntime( 5307): at org.apache.cordova.mediacapture.Capture.access$000(Capture.java:54)
      E/AndroidRuntime( 5307): at org.apache.cordova.mediacapture.Capture$1.run(Capture.java:286)
      E/AndroidRuntime( 5307): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
      E/AndroidRuntime( 5307): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
      E/AndroidRuntime( 5307): at java.lang.Thread.run(Thread.java:841)

      (and Cordova application is killed)

        Attachments

          Activity

            People

            • Assignee:
              vladimir.kotikov Vladimir Kotikov
              Reporter:
              honza889 Jan Kalina
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: