bugtags 监控的闪退,模拟了 tuid 和 nick 为 nil 的情况,没有出现闪退.

_Lasombra
2016-11-18 06:02 645 0
JMSGTextContent *textContent = [[JMSGTextContent alloc] initWithText:[NSString stringWithFormat:@"我访问了你的主页"]];
    JMSGMessage *message = [JMSGMessage createSingleMessageWithContent:textContent username:[NSString stringWithFormat:@"%@",tuid]];
    [message setFromName:[KGUserDataModel sharedUserData].user.nick];
    [JMSGMessage sendMessage:message];

有一个界面就调用了一下这个, bugtags 监控的闪退,模拟了 tuid 和 nick 为 nil 的情况,没有出现闪退.

推测是不是注册 im 的时候没有成功或是其他什么情况造成的原因.请 JM 的技术看一下

1个回答

热门排序
  • _Lasombra
    2016-11-18 06:07
    -[JPUSHIMRequestArg valueForKey:]: attempt to retrieve a value for a nil key(-[JPUSHFIFOQueue enqueue:] + 112) 这是不是闪到你们 展示全部