Bug #342
Crash when receiving an offline message
Added by Victor N almost 14 years ago.
Updated over 13 years ago.
Description
Hi,
Every morning I wake up, turn on Beem on my mobile, it notify me there is a received message (that has been sent when I was offline, it happens to me almost every night, I have strange contacts :), I open the notification bar, tap on the message, and then Beem crashes.
I am using current version from Market (0.1.5).
I think it should be easy to reproduce.
Files
Hi,
I fixed this issue. Made some changes in 'DelayInformationProvider.java' file. Just replace the attached class file in the jar.
Fix is :
The timestamp in offline message is in "yyyy-MM-dd'T'HH:mm:ss" format but in the DelayInformationProvider.java using different date format like "yyyy-MM-dd'T'HH:mm:ss'Z'". So i removed the 'Z' and updated the jar file.
For your reference i am attaching the .class file
Hello,
Could you please provide us the source code (or a diff) of your DelayInformationProvider.java so we could review it ?
Hi,
Please find the attached source file.
Thanks,
Santhosh
- Status changed from New to Assigned
- Assignee set to Nikita Kozlov
- Target version set to 0.1.6
- Status changed from Assigned to Rejected
Hello santhosh,
Sorry for the late reply, I apparently missed your patch.
When looking at http://xmpp.org/extensions/xep-0203.html the 'Z' is correct.
Also, I failed to reproduce your crash. I tried with 2 differents xmpp server and with different combination of offline contacts etc...
I think your crash is more likely to be related to some lost connections behavior (like #258 or #270).
Also available in: Atom
PDF