[GH-ISSUE #236] Crash when Payload doesn't contains messages #170

Closed
opened 2026-02-28 01:23:31 +03:00 by kerem · 2 comments
Owner

Originally created by @UnTogoVi on GitHub (Jan 24, 2015).
Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/236

Hi,

There's a crash in
SMSSync/smssync/src/main/java/org/addhen/smssync/messages/ProcessMessage.java
line 143

when payload only contains "success" item.

echo '{ payload: { "success" : "true" , "task": "send" , "messages": [ { "to": "'.$from .'" , "message" : "thank you for your sms" } ] } }';

will work.

echo '{ payload: { "success" : "true" } }';

leads to smssync crash.

Tx

Originally created by @UnTogoVi on GitHub (Jan 24, 2015). Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/236 Hi, There's a crash in SMSSync/smssync/src/main/java/org/addhen/smssync/messages/ProcessMessage.java line 143 when payload only contains "success" item. echo '{ payload: { "success" : "true" , "task": "send" , "messages": [ { "to": "'.$from .'" , "message" : "thank you for your sms" } ] } }'; will work. echo '{ payload: { "success" : "true" } }'; leads to smssync crash. Tx
kerem closed this issue 2026-02-28 01:23:31 +03:00
Author
Owner

@eyedol commented on GitHub (Mar 3, 2015):

@UnTogoVi I really can't reproduce this on my device. Anyone experiencing this as well?

<!-- gh-comment-id:76897082 --> @eyedol commented on GitHub (Mar 3, 2015): @UnTogoVi I really can't reproduce this on my device. Anyone experiencing this as well?
Author
Owner

@eyedol commented on GitHub (Mar 20, 2015):

Closing. Feel free to re-open if it's still there in the next release.

<!-- gh-comment-id:83834090 --> @eyedol commented on GitHub (Mar 20, 2015): Closing. Feel free to re-open if it's still there in the next release.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SMSSync#170
No description provided.