注册

求大神帮助-[EMChatManager(Chat) _chatdataToMessage:] + 2465

1.收到第一个消息就奔溃。
2.当获取到问题ID就正常,


*** First throw call stack:

(

    0   CoreFoundation                      0x000000010c19bf45 __exceptionPreprocess + 165

    1   libobjc.A.dylib                     0x000000010b589deb objc_exception_throw + 48

    2   CoreFoundation                      0x000000010c1a456d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205

    3   CoreFoundation                      0x000000010c0f1eea ___forwarding___ + 970

    4   CoreFoundation                      0x000000010c0f1a98 _CF_forwarding_prep_0 + 120

    5   YunZhongYunYang                     0x0000000107efe3c9 -[EMChatManager(Chat) _chatdataToMessage:] + 2465

    6   YunZhongYunYang                     0x0000000107efe5a8 -[EMChatManager(Chat) _deserializeChat:] + 52

    7   YunZhongYunYang                     0x0000000107efe949 -[EMChatManager(Chat) xmpp:didReceiveMessage:] + 247

    8   CoreFoundation                      0x000000010c08a7ac __invoking___ + 140

    9   CoreFoundation                      0x000000010c08a5fe -[NSInvocation invoke] + 286

    10  CoreFoundation                      0x000000010c11af16 -[NSInvocation invokeWithTarget:] + 54

    11  YunZhongYunYang                     0x0000000107fd6449 __44-[EMGCDMulticastDelegate forwardInvocation:]_block_invoke + 39

    12  libdispatch.dylib                   0x000000010c9a6e5d _dispatch_call_block_and_release + 12

    13  libdispatch.dylib                   0x000000010c9c749b _dispatch_client_callout + 8

    14  libdispatch.dylib                   0x000000010c9ad8ec _dispatch_queue_drain + 2215

    15  libdispatch.dylib                   0x000000010c9ace0d _dispatch_queue_invoke + 601

    16  libdispatch.dylib                   0x000000010c9afa56 _dispatch_root_queue_drain + 1420

    17  libdispatch.dylib                   0x000000010c9af4c5 _dispatch_worker_thread3 + 111

    18  libsystem_pthread.dylib             0x000000010cd0f4f2 _pthread_wqthread + 1129

    19  libsystem_pthread.dylib             0x000000010cd0d375 start_wqthread + 13

)

libc++abi.dylib: terminating with uncaught exception of type NSException
已邀请:
这看不出什么。。收到消息就崩溃,看消息格式是否正确。   当获取到问题ID就正常 - - -  这个是什么场景?

要回复问题请先登录注册