I am developing a chat application. Using this app users can send friend requests. once two users become friends they can message each other and visit friends profiles. When two users become friends(imagine X and Y), in a situation where X visits Y's profile and at the same time Y visits X's profile, the app get crashed.
Asked
Active
Viewed 176 times
0

yoAlex5
- 29,217
- 8
- 193
- 205

Lasith Jayalath
- 137
- 1
- 4
- 14
-
1Please do not post screenshots. Post code and exceptions as **text**. – Mark Rotteveel Mar 20 '18 at 18:32
-
@MarkRotteveel ok,sorry – Lasith Jayalath Mar 20 '18 at 18:34
1 Answers
1
The method getTimeAgo
returns null
. As were mentioned in Exception (Line 110).
You can debug your code and simply find a cause

yoAlex5
- 29,217
- 8
- 193
- 205