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 112 times
0
yole
- 87,251
- 17
- 245
- 186
Lasith Jayalath
- 141
- 4
- 13
-
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
- 21,739
- 5
- 148
- 151