Bug #342
Crash when receiving an offline message
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
Updated by santhosh b almost 14 years ago
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
Updated by Nikita Kozlov almost 14 years ago
Hello,
Could you please provide us the source code (or a diff) of your DelayInformationProvider.java so we could review it ?
Updated by santhosh b almost 14 years ago
Hi,
Please find the attached source file.
Thanks,
Santhosh
Updated by Frédéric Barthéléry almost 14 years ago
- Status changed from New to Assigned
- Assignee set to Nikita Kozlov
- Target version set to 0.1.6
Updated by Nikita Kozlov over 13 years ago
- 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).