[AC-4846] Error sending image to Cloud
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Needs more info |
| Resolution Date | 2017-03-10T14:40:13.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | n/a |
| Reporter | Pedro Nascimento |
| Assignee | Shak Hossain |
| Created | 2017-03-08T15:59:25.000+0000 |
| Updated | 2017-03-10T14:43:42.000+0000 |
Description
I tried to send a image to Cloud got from the systemFile in Android and it fails,
It was working, but suddenly it's not working anymore
It works fine in iPhone, but not Android, .
Runtime error:
Location:httpclient.js
Message:
Uncaugth attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference.
Source:
_send.call(this,options);
The code:
Titanium.Media.openPhotoGallery({
success:function(event) {
alert(event.media);//prints [object blob]
Cloud.Photos.create({
photo: event.media,
collection_id: idStringCollection,
su_id : IdStringUser
}, function (evt) {
alert("what");//alert never printed because the runtime error
});
},
error:function(error) {
//whatever is that function
}
});
Can someone help me in this?
Hello, Please attach sample code as a full project. We need to reproduce the issue before providing further support. Thanks.
My Colleague has sent a email for axway, and here is where they reported: Message from Axway Support ==================== General information ==================== Case#: INC0574615 Severity: 2 - Urgent Support Access Code: 131765 Company: TOTVS CONSULTING Contact: Kaio Silva Phone: +55 21 974716794 Service: Appcelerator Public Open date: 2017-03-08 17:49:22 GMT Incident state: Awaiting Customer's feedback Case subject: Photo (ArrowDB) ==================== Message from Axway support ==================== Hi, This is a known issue to SDK version 6.0.0 We had fixed it in our latest SDK 6.0.2.GA, please use that and verify is it is working for you. Note: Used in the xml file Regards, Shuo Best Regards, Ricardo Hernandez