android studio中的运行时错误

时间:2018-03-20 14:45:49

标签: java android-studio runtimeexception

我正在开发一个聊天应用程序。使用此应用程序,用户可以发送好友请求一旦两个用户成为朋友,他们就可以互相发送消息并访问朋友档案。当两个用户成为朋友(想象X和Y)时,在X访问Y的个人资料并且同时Y访问X的个人资料的情况下,应用程序会崩溃。 enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

1 个答案:

答案 0 :(得分:1)

方法getTimeAgo返回null。正如例外(第110行)中提到的那样。 您可以调试代码并找到原因