apache/cordova-plugin-camera — pull request #19 by mgurreta (2014-03-28 23:30:57+00:00)
Title: Prevent NPE on processResiultFromGallery when intent comes null

There are cases when onActivityResult returns with Activity.RESULT_OK as resultCode but the intent in null. This produce a NullPointerException trying to get the data from the intent in the processResultFromGallery method.