janpio edited a comment on issue #115: Audio Capture NullPointerException audio record from sony URL: https://github.com/apache/cordova-plugin-media-capture/issues/115#issuecomment-439019449 Is `com.horus.enterprise` your app ID? The error seems to come from here: https://github.com/apache/cordova-plugin-media-capture/blob/288a47eee12b8cff7c3512d87b5aa2023daa46d5/src/android/Capture.java#L454 `java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getAbsolutePath()' on a null object reference` then means that `fp` was null here. It was created at the start of this method: https://github.com/apache/cordova-plugin-media-capture/blob/288a47eee12b8cff7c3512d87b5aa2023daa46d5/src/android/Capture.java#L433 So the question is why did `webView.getResourceApi().mapUriToFile(data);` return null - maybe `data` was already empty? Why didn't this method itself also throw an error instead of just returning null? That's where I would start to investigate and debugging.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org