Jmessage.addGroupMembers闪退

simonse_98368
8年前 511 0

使用Jmessage.addGroupMember时闪退。

JMessage.createGroup({ name: this.props.user.username, desc: this.props.user.username + '-' + this.state.bookingData.title },
                    (group) => {  // groupId: 新创建的群组 ID
                        console.warn(group.id)
                        JMessage.addGroupMembers({ id: group.id, usernameArray: [landlordId], appKey: this.props.jiGuangInitInfo.appKey },
                            () => {})
})

landlordId有可能是还没在极光注册的用户。
1,版本号"jmessage-react-plugin": "^2.1.1"
2,在iOS上测试的。

2017-12-19 10:36:13.109 | JIGUANG | I - [JMSGGroup] username list :(
)
2017-12-19 10:36:13.109869+0800 localsApp[34808:5966479]  | JIGUANG | I - [JMSGGroup] username list :(
)
2017-12-19 10:36:13.111 [warn][tid:com.facebook.react.JavaScript] 10335448
2017-12-19 10:36:13.110763+0800 localsApp[34808:5960824] 10335448
2017-12-19 10:36:13.116 | JIGUANG | D - [JMSGGroup] Action - groupInfoWithGroupId:: - groupId:10335448
2017-12-19 10:36:13.117270+0800 localsApp[34808:5966478]  | JIGUANG | D - [JMSGGroup] Action - groupInfoWithGroupId:: - groupId:10335448
2017-12-19 10:36:13.118 | JIGUANG | D - [JMSGGroupHttp] Action - getGroupWithGroupId:: - gid:10335448
2017-12-19 10:36:13.120384+0800 localsApp[34808:5966479]  | JIGUANG | D - [JMSGGroupHttp] Action - getGroupWithGroupId:: - gid:10335448
2017-12-19 10:36:13.132 | JIGUANG | D - [JIGUANGIMDispatchController+imple] receive event notification
2017-12-19 10:36:13.132237+0800 localsApp[34808:5966478]  | JIGUANG | D - [JIGUANGIMDispatchController+imple] receive event notification
2017-12-19 10:36:13.133 | JIGUANG | D - [JIGUANGTcpSocket] Got tcp command
2017-12-19 10:36:13.133306+0800 localsApp[34808:5968806]  | JIGUANG | D - [JIGUANGTcpSocket] Got tcp command
2017-12-19 10:36:13.134 | JIGUANG | D - [JIGUANGIMEventNotification] Action - handleReceipt head_uid:107428863,eventID: 203008436
2017-12-19 10:36:13.134191+0800 localsApp[34808:5968806]  | JIGUANG | D - [JIGUANGIMEventNotification] Action - handleReceipt head_uid:107428863,eventID: 203008436
2017-12-19 10:36:13.136 | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPFNetworkDidReceiveIMMessageNotification {
    event = "eventID->203008436,fromUid->107428863,type->8,eventDescription->(null),gid->10335448,fromGid->0,extra:0,returnCode:0,rid->203008436";
}
2017-12-19 10:36:13.136391+0800 localsApp[34808:5966479]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPFNetworkDidReceiveIMMessageNotification {
    event = "eventID->203008436,fromUid->107428863,type->8,eventDescription->(null),gid->10335448,fromGid->0,extra:0,returnCode:0,rid->203008436";
}
2017-12-19 10:36:13.137 | JIGUANG | D - [JMSGReceiver] Action - receiveImMessageOrEvent:
2017-12-19 10:36:13.137600+0800 localsApp[34808:5968806]  | JIGUANG | D - [JMSGReceiver] Action - receiveImMessageOrEvent:
2017-12-19 10:36:13.139 | JIGUANG | D - [JMSGReceiver] Action - receiveMessageOrEventInJMSGThread:
2017-12-19 10:36:13.139549+0800 localsApp[34808:5968806]  | JIGUANG | D - [JMSGReceiver] Action - receiveMessageOrEventInJMSGThread:
2017-12-19 10:36:13.140 | JIGUANG | D - [JMSGReceiver] Action - jmsg_isRepeatEventWithEvent:
2017-12-19 10:36:13.140524+0800 localsApp[34808:5966478]  | JIGUANG | D - [JMSGReceiver] Action - jmsg_isRepeatEventWithEvent:
2017-12-19 10:36:13.141 | JIGUANG | D - [JMSGReceiver] Action - p_processReceivedEvent - type:创建群组事件, eventId:203008436
2017-12-19 10:36:13.141497+0800 localsApp[34808:5966478]  | JIGUANG | D - [JMSGReceiver] Action - p_processReceivedEvent - type:创建群组事件, eventId:203008436
2017-12-19 10:36:13.149 | JIGUANG | D - [JMSGReceiver] Action - pp_processReceiveGroupEvent:
2017-12-19 10:36:13.149636+0800 localsApp[34808:5966478]  | JIGUANG | D - [JMSGReceiver] Action - pp_processReceiveGroupEvent:
2017-12-19 10:36:13.158 | JIGUANG | D - [JMSGGroupHttp] Action - getGroupMemberListWithGid - gid:10335448
2017-12-19 10:36:13.159594+0800 localsApp[34808:5968806]  | JIGUANG | D - [JMSGGroupHttp] Action - getGroupMemberListWithGid - gid:10335448
2017-12-19 10:36:13.181 | JIGUANG | D - [JMSGGroup] Load group members from DB
2017-12-19 10:36:13.181683+0800 localsApp[34808:5961180]  | JIGUANG | D - [JMSGGroup] Load group members from DB
2017-12-19 10:36:13.187 | JIGUANG | D - [JMSGGroup] Action - addMembersWithUsernameArray:::
2017-12-19 10:36:13.187583+0800 localsApp[34808:5968805]  | JIGUANG | D - [JMSGGroup] Action - addMembersWithUsernameArray:::
2017-12-19 10:36:13.188 | JIGUANG | D - [JMSGGroup] Action - p_tcpAddMembers
2017-12-19 10:36:13.188464+0800 localsApp[34808:5968805]  | JIGUANG | D - [JMSGGroup] Action - p_tcpAddMembers
2017-12-19 10:36:13.189 | JIGUANG | D - [JMSGUserHttp] Action - usersInfoArrayWithIDArray::::, id count: 1, type:request user by username, appkey:f9b3d6bbebb59c4c8c6f8fb5
2017-12-19 10:36:13.189868+0800 localsApp[34808:5961180]  | JIGUANG | D - [JMSGUserHttp] Action - usersInfoArrayWithIDArray::::, id count: 1, type:request user by username, appkey:f9b3d6bbebb59c4c8c6f8fb5
2017-12-19 10:36:13.297 | JIGUANG | E - [JMSGHttpManager] http request failed, httpMethod is Post, error: Error Domain=com.alamofire.error.serialization.response.jmsg Code=-1011 "Request failed: internal server error (500)" UserInfo={com.alamofire.serialization.response.error.response.jmsg=<NSHTTPURLResponse: 0x604000e2cec0> { URL: https://sdk.im.jiguang.cn/users/batch?idtype=username } { Status Code: 500, Headers {
    "Cache-Control" =     (
        "must-revalidate,no-cache,no-store"
    );
    "Content-Length" =     (
        458
    );
    "Content-Type" =     (
        "text/html; charset=ISO-8859-1"
    );
    Date =     (
        "Tue, 19 Dec 2017 02:37:50 GMT"
    );
    Server =     (
        nginx
    );
} }, com.alamofire.serialization.response.error.data.jmsg=<3c68746d 6c3e0a3c 68656164 3e0a3c6d 65746120 68747470 2d657175 69763d22 436f6e74 656e742d 54797065 2220636f 6e74656e 743d2274 6578742f 68746d6c 3b636861 72736574 3d49534f 2d383835 392d3122 2f3e0a3c 7469746c 653e4572 726f7220 35303020 3c2f7469 746c653e 0a3c2f68 6561643e 0a3c626f 64793e0a 3c68323e 48545450 20455252 4f523a20 3530303c 2f68323e 0a3c703e 50726f62 6c656d20 61636365 7373696e 67202f75 73657273 2f626174 63682e20 52656173 6f6e3a0a 3c707265 3e202020 206f7267 2e737072 696e6766 72616d65 776f726b 2e776562 2e757469 6c2e4e65 73746564 53657276 6c657445 78636570 74696f6e 3a205265 71756573 74207072 6f636573 73696e67 20666169 6c65643b 206e6573 74656420 65786365 7074696f 6e206973 206a6176 612e6c61 6e672e49 6c6c6567 616c4172 67756d65 6e744578 63657074 696f6e3a 20546865 20446f63 756d656e 74204944 206d7573 74206e6f 74206265 206e756c 6c206f72 20656d70 74792e3c 2f707265 3e3c2f70 3e0a3c68 72202f3e 3c693e3c 736d616c 6c3e506f 77657265 64206279 204a6574 74793a2f 2f3c2f73 6d616c6c 3e3c2f69 3e0a3c2f 626f6479 3e0a3c2f 68746d6c 3e0a>, NSErrorFailingURLKey=https://sdk.im.jiguang.cn/users/batch?idtype=username, NSUnderlyingError=0x6000012486a0 {Error Domain=com.alamofire.error.serialization.response.jmsg Code=-1016 "Request failed: unacceptable content-type: text/html" UserInfo={com.alamofire.serialization.response.error.response.jmsg=<NSHTTPURLResponse: 0x604000e2cec0> { URL: https://sdk.im.jiguang.cn/users/batch?idtype=username } { Status Code: 500, Headers {
    "Cache-Control" =     (
        "must-revalidate,no-cache,no-store"
    );
    "Content-Length" =     (
        458
    );
    "Content-Type" =     (
        "text/html; charset=ISO-8859-1"
    );
    Date =     (
        "Tue, 19 Dec 2017 02:37:50 GMT"
    );
    Server =     (
        nginx
    );
} }, com.alamofire.serialization.response.error.data.jmsg=<3c68746d 6c3e0a3c 68656164 3e0a3c6d 65746120 68747470 2d657175 69763d22 436f6e74 656e742d 54797065 2220636f 6e74656e 743d2274 6578742f 68746d6c 3b636861 72736574 3d49534f 2d383835 392d3122 2f3e0a3c 7469746c 653e4572 726f7220 35303020 3c2f7469 746c653e 0a3c2f68 6561643e 0a3c626f 64793e0a 3c68323e 48545450 20455252 4f523a20 3530303c 2f68323e 0a3c703e 50726f62 6c656d20 61636365 7373696e 67202f75 73657273 2f626174 63682e20 52656173 6f6e3a0a 3c707265 3e202020 206f7267 2e737072 696e6766 72616d65 776f726b 2e776562 2e757469 6c2e4e65 73746564 53657276 6c657445 78636570 74696f6e 3a205265 71756573 74207072 6f636573 73696e67 20666169 6c65643b 206e6573 74656420 65786365 7074696f 6e206973 206a6176 612e6c61 6e672e49 6c6c6567 616c4172 67756d65 6e744578 63657074 696f6e3a 20546865 20446f63 756d656e 74204944 206d7573 74206e6f 74206265 206e756c 6c206f72 20656d70 74792e3c 2f707265 3e3c2f70 3e0a3c68 72202f3e 3c693e3c 736d616c 6c3e506f 77657265 64206279 204a6574 74793a2f 2f3c2f73 6d616c6c 3e3c2f69 3e0a3c2f 626f6479 3e0a3c2f 68746d6c 3e0a>, NSErrorFailingURLKey=https://sdk.im.jiguang.cn/users/batch?idtype=username, NSLocalizedDescription=Request failed: unacceptable content-type: text/html}}, NSLocalizedDescription=Request failed: internal server error (500)}
2017-12-19 10:36:13.297123+0800 localsApp[34808:5968805]  | JIGUANG | E - [JMSGHttpManager] http request failed, httpMethod is Post, error: Error Domain=com.alamofire.error.serialization.response.jmsg Code=-1011 "Request failed: internal server error (500)" UserInfo={com.alamofire.serialization.response.error.response.jmsg=<NSHTTPURLResponse: 0x604000e2cec0> { URL: https://sdk.im.jiguang.cn/users/batch?idtype=username } { Status Code: 500, Headers {
    "Cache-Control" =     (
        "must-revalidate,no-cache,no-store"
    );
    "Content-Length" =     (
        458
    );
    "Content-Type" =     (
        "text/html; charset=ISO-8859-1"
    );
    Date =     (
        "Tue, 19 Dec 2017 02:37:50 GMT"
    );
    Server =     (
        nginx
    );
} }, com.alamofire.serialization.response.error.data.jmsg=<3c68746d 6c3e0a3c 68656164 3e0a3c6d 65746120 68747470 2d657175 69763d22 436f6e74 656e742d 54797065 2220636f 6e74656e 743d2274 6578742f 68746d6c 3b636861 72736574 3d49534f 2d383835 392d3122 2f3e0a3c 7469746c 653e4572 726f7220 35303020 3c2f7469 746c653e 0a3c2f68 6
2017-12-19 10:36:13.320 | JIGUANG | D - [JMSGHttpManager] Action - pp_convertToLocalError:::
2017-12-19 10:36:13.321594+0800 localsApp[34808:5968805]  | JIGUANG | D - [JMSGHttpManager] Action - pp_convertToLocalError:::
2017-12-19 10:36:13.342 | JIGUANG | I - [JMSGHttpManager] convert error is Error Domain=jmsg_error Code=860021 "Server error object is invalid - (null)" UserInfo={NSLocalizedDescription=Server error object is invalid - (null)}
2017-12-19 10:36:13.342581+0800 localsApp[34808:5961180]  | JIGUANG | I - [JMSGHttpManager] convert error is Error Domain=jmsg_error Code=860021 "Server error object is invalid - (null)" UserInfo={NSLocalizedDescription=Server error object is invalid - (null)}
2017-12-19 10:36:13.343 | JIGUANG | E - [JMSGHttpManager] request error, error: Error Domain=jmsg_error Code=860021 "Server error object is invalid - (null)" UserInfo={NSLocalizedDescription=Server error object is invalid - (null)}
2017-12-19 10:36:13.342975+0800 localsApp[34808:5968805]  | JIGUANG | E - [JMSGHttpManager] request error, error: Error Domain=jmsg_error Code=860021 "Server error object is invalid - (null)" UserInfo={NSLocalizedDescription=Server error object is invalid - (null)}
2017-12-19 10:36:13.367 | JIGUANG | E - [JMSGHttpManager] http request failed, httpMethod is Post, error: Error Domain=com.alamofire.error.serialization.response.jmsg Code=-1011 "Request failed: internal server error (500)" UserInfo={com.alamofire.serialization.response.error.response.jmsg=<NSHTTPURLResponse: 0x600000c22ce0> { URL: https://sdk.im.jiguang.cn/users/batch?idtype=username } { Status Code: 500, Headers {
    "Cache-Control" =     (
        "must-revalidate,no-cache,no-store"
    );
    "Content-Length" =     (
        458
    );
    "Content-Type" =     (
        "text/html; charset=ISO-8859-1"
    );
    Date =     (
        "Tue, 19 Dec 2017 02:37:51 GMT"
    );
    Server =     (
        nginx
    );
} }, com.alamofire.serialization.response.error.data.jmsg=<3c68746d 6c3e0a3c 68656164 3e0a3c6d 65746120 68747470 2d657175 69763d22 436f6e74 656e742d 54797065 2220636f 6e74656e 743d2274 6578742f 68746d6c 3b636861 72736574 3d49534f 2d383835 392d3122 2f3e0a3c 7469746c 653e4572 726f7220 35303020 3c2f7469 746c653e 0a3c2f68 6561643e 0a3c626f 64793e0a 3c68323e 48545450 20455252 4f523a20 3530303c 2f68323e 0a3c703e 50726f62 6c656d20 61636365 7373696e 67202f75 73657273 2f626174 63682e20 52656173 6f6e3a0a 3c707265 3e202020 206f7267 2e737072 696e6766 72616d65 776f726b 2e776562 2e757469 6c2e4e65 73746564 53657276 6c657445 78636570 74696f6e 3a205265 71756573 74207072 6f636573 73696e67 20666169 6c65643b 206e6573 74656420 65786365 7074696f 6e206973 206a6176 612e6c61 6e672e49 6c6c6567 616c4172 67756d65 6e744578 63657074 696f6e3a 20546865 20446f63 756d656e 74204944 206d7573 74206e6f 74206265 206e756c 6c206f72 20656d70 74792e3c 2f707265 3e3c2f70 3e0a3c68 72202f3e 3c693e3c 736d616c 6c3e506f 77657265 64206279 204a6574 74793a2f 2f3c2f73 6d616c6c 3e3c2f69 3e0a3c2f 626f6479 3e0a3c2f 68746d6c 3e0a>, NSErrorFailingURLKey=https://sdk.im.jiguang.cn/users/batch?idtype=username, NSUnderlyingError=0x6000012517c0 {Error Domain=com.alamofire.error.serialization.response.jmsg Code=-1016 "Request failed: unacceptable content-type: text/html" UserInfo={com.alamofire.serialization.response.error.response.jmsg=<NSHTTPURLResponse: 0x600000c22ce0> { URL: https://sdk.im.jiguang.cn/users/batch?idtype=username } { Status Code: 500, Headers {
    "Cache-Control" =     (
        "must-revalidate,no-cache,no-store"
    );
    "Content-Length" =     (
        458
    );
    "Content-Type" =     (
        "text/html; charset=ISO-8859-1"
    );
    Date =     (
        "Tue, 19 Dec 2017 02:37:51 GMT"
    );
    Server =     (
        nginx
    );
} }, com.alamofire.serialization.response.error.data.jmsg=<3c68746d 6c3e0a3c 68656164 3e0a3c6d 65746120 68747470 2d657175 69763d22 436f6e74 656e742d 54797065 2220636f 6e74656e 743d2274 6578742f 68746d6c 3b636861 72736574 3d49534f 2d383835 392d3122 2f3e0a3c 7469746c 653e4572 726f7220 35303020 3c2f7469 746c653e 0a3c2f68 6561643e 0a3c626f 64793e0a 3c68323e 48545450 20455252 4f523a20 3530303c 2f68323e 0a3c703e 50726f62 6c656d20 61636365 7373696e 67202f75 73657273 2f626174 63682e20 52656173 6f6e3a0a 3c707265 3e202020 206f7267 2e737072 696e6766 72616d65 776f726b 2e776562 2e757469 6c2e4e65 73746564 53657276 6c657445 78636570 74696f6e 3a205265 71756573 74207072 6f636573 73696e67 20666169 6c65643b 206e6573 74656420 65786365 7074696f 6e206973 206a6176 612e6c61 6e672e49 6c6c6567 616c4172 67756d65 6e744578 63657074 696f6e3a 20546865 20446f63 756d656e 74204944 206d7573 74206e6f 74206265 206e756c 6c206f72 20656d70 74792e3c 2f707265 3e3c2f70 3e0a3c68 72202f3e 3c693e3c 736d616c 6c3e506f 77657265 64206279 204a6574 74793a2f 2f3c2f73 6d616c6c 3e3c2f69 3e0a3c2f 626f6479 3e0a3c2f 68746d6c 3e0a>, NSErrorFailingURLKey=https://sdk.im.jiguang.cn/users/batch?idtype=username, NSLocalizedDescription=Request failed: unacceptable content-type: text/html}}, NSLocalizedDescription=Request failed: internal server error (500)}
2017-12-19 10:36:13.367286+0800 localsApp[34808:5968805]  | JIGUANG | E - [JMSGHttpManager] http request failed, httpMethod is Post, error: Error Domain=com.alamofire.error.serialization.response.jmsg Code=-1011 "Request failed: internal server error (500)" UserInfo={com.alamofire.serialization.response.error.response.jmsg=<NSHTTPURLResponse: 0x600000c22ce0> { URL: https://sdk.im.jiguang.cn/users/batch?idtype=username } { Status Code: 500, Headers {
    "Cache-Control" =     (
        "must-revalidate,no-cache,no-store"
    );
    "Content-Length" =     (
        458
    );
    "Content-Type" =     (
        "text/html; charset=ISO-8859-1"
    );
    Date =     (
        "Tue, 19 Dec 2017 02:37:51 GMT"
    );
    Server =     (
        nginx
    );
} }, com.alamofire.serialization.response.error.data.jmsg=<3c68746d 6c3e0a3c 68656164 3e0a3c6d 65746120 68747470 2d657175 69763d22 436f6e74 656e742d 54797065 2220636f 6e74656e 743d2274 6578742f 68746d6c 3b636861 72736574 3d49534f 2d383835 392d3122 2f3e0a3c 7469746c 653e4572 726f7220 35303020 3c2f7469 746c653e 0a3c2f68 6
2017-12-19 10:36:13.368 | JIGUANG | D - [JMSGHttpManager] Action - pp_convertToLocalError:::
2017-12-19 10:36:13.368855+0800 localsApp[34808:5966479]  | JIGUANG | D - [JMSGHttpManager] Action - pp_convertToLocalError:::
2017-12-19 10:36:13.369 | JIGUANG | I - [JMSGHttpManager] convert error is Error Domain=jmsg_error Code=860021 "Server error object is invalid - (null)" UserInfo={NSLocalizedDescription=Server error object is invalid - (null)}
2017-12-19 10:36:13.369548+0800 localsApp[34808:5966479]  | JIGUANG | I - [JMSGHttpManager] convert error is Error Domain=jmsg_error Code=860021 "Server error object is invalid - (null)" UserInfo={NSLocalizedDescription=Server error object is invalid - (null)}
2017-12-19 10:36:13.370 | JIGUANG | E - [JMSGHttpManager] request error, error: Error Domain=jmsg_error Code=860021 "Server error object is invalid - (null)" UserInfo={NSLocalizedDescription=Server error object is invalid - (null)}
2017-12-19 10:36:13.370459+0800 localsApp[34808:5966479]  | JIGUANG | E - [JMSGHttpManager] request error, error: Error Domain=jmsg_error Code=860021 "Server error object is invalid - (null)" UserInfo={NSLocalizedDescription=Server error object is invalid - (null)}
2017-12-19 10:36:13.371 | JIGUANG | E - [JMSGUser+JMSGInner] get user info from server failed, error:Error Domain=jmsg_error Code=860021 "Server error object is invalid - (null)" UserInfo={NSLocalizedDescription=Server error object is invalid - (null)}
2017-12-19 10:36:13.371121+0800 localsApp[34808:5968805]  | JIGUANG | E - [JMSGUser+JMSGInner] get user info from server failed, error:Error Domain=jmsg_error Code=860021 "Server error object is invalid - (null)" UserInfo={NSLocalizedDescription=Server error object is invalid - (null)}
2017-12-19 10:36:13.371374+0800 localsApp[34808:5961214] -[NSNull jmsg_escapeSingleQuotationMark]: unrecognized selector sent to instance 0x10c925ef0
2017-12-19 10:36:13.392202+0800 localsApp[34808:5961214] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull jmsg_escapeSingleQuotationMark]: unrecognized selector sent to instance 0x10c925ef0'
*** First throw call stack:
(
    0   CoreFoundation                      0x000000010c65c12b __exceptionPreprocess + 171
    1   libobjc.A.dylib                     0x000000010ffabf41 objc_exception_throw + 48
    2   CoreFoundation                      0x000000010c6dd024 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
    3   CoreFoundation                      0x000000010c5def78 ___forwarding___ + 1432
    4   CoreFoundation                      0x000000010c5de958 _CF_forwarding_prep_0 + 120
    5   localsApp                           0x00000001092078f1 +[JMSGUserDBHelper pp_valueStrFromIdArray:] + 275
    6   localsApp                           0x0000000109207b01 +[JMSGUserDBHelper userInfoArrayWithIDArray:requestType:appKey:] + 179
    7   localsApp                           0x00000001091fdaf5 __85+[JMSGUser(JMSGInner) p_getUserInfoWithIDArray:requestType:appKey:completionHandler:]_block_invoke + 1561
    8   localsApp                           0x0000000109210791 -[JMSGHttpManager p_httpFailureBlockInJMSGThread:] + 835
    9   Foundation                          0x000000010f9ea1e8 __NSThreadPerformPerform + 334
    10  CoreFoundation                      0x000000010c5ff101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    11  CoreFoundation                      0x000000010c69ef71 __CFRunLoopDoSource0 + 81
    12  CoreFoundation                      0x000000010c5e3a19 __CFRunLoopDoSources0 + 185
    13  CoreFoundation                      0x000000010c5e2fff __CFRunLoopRun + 1279
    14  CoreFoundation                      0x000000010c5e2889 CFRunLoopRunSpecific + 409
    15  Foundation                          0x000000010f9a46de -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 274
    16  Foundation                          0x000000010f9a45b9 -[NSRunLoop(NSRunLoop) run] + 76
    17  localsApp                           0x000000010922356b -[JMessage JMSGThreadMain] + 168
    18  Foundation                          0x000000010f9b212c __NSThread__start__ + 1197
    19  libsystem_pthread.dylib             0x000000011204a6c1 _pthread_body + 340
    20  libsystem_pthread.dylib             0x000000011204a56d _pthread_body + 0
    21  libsystem_pthread.dylib             0x0000000112049c5d thread_start + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

1个回答

热门排序
  • 1、提供你使用的 SDK 的具体版本号,如果使用的是phonegap 插件之类的也请具体说明

    2、提供完整的闪退日志

    3、iOS还是Android出现