Project: titanium
Issue TIMOB-19910: Android: openPhotoGallery fails when remote image selected
Affects Versions: 3.4.1GA ... 5.0.0.GA This bug was reported earlier here: https://jira.appcelerator.org/browse/TC-5107 but was closed as fixed with no fix. Test code {code} function selectPhoto(){ Titanium.Media.openPhotoGallery({ success:function(e){ console.log(e.media); }, allowEditing:true, mediaTypes: [Ti.Media.MEDIA_TYPE_PHOTO] }); }; {code} Error {code} [ERROR] TiExceptionHandler: (main) [25682,161650] ----- Titanium Javascript Runtime Error ----- [ERROR] TiExceptionHandler: (main) [0,161650] - In ti:/httpclient.js:28,9 [ERROR] TiExceptionHandler: (main) [0,161650] - Message: Uncaught Error: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference [ERROR] TiExceptionHandler: (main) [0,161650] - Source:	_send.call(this, options); [ERROR] V8Exception: Exception occurred at ti:/httpclient.js:28: Uncaught Error: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference {code}
Story points: 3