分享时点击qq、qq空间都出错了。

ios
标签: #<Tag:0x00007fca6faf23a0>

(Cj) #1

我是手动集成的,微信、微博都没有问题了,就是qq分享时出现错误。请问怎么解决?
错误如下:

2019-01-15 17:04:53.069428+0800 JobefMobile.temp_caseinsensitive_rename[63693:19570637]  | JIGUANG | D - [JIGUANGReport] send report:(
        {
        date = "2019-01-15";
        itime = 1547543092;
        "session_id" = 04414f8c7283188cbc42bffcc6f175f7;
        time = "17:04:52";
        timezone = "+8";
        type = "active_launch";
    }
) log succed
2019-01-15 17:04:53.070704+0800 JobefMobile.temp_caseinsensitive_rename[63693:19570654]  | JIGUANG | D - [JIGUANGReport] send report:(
        {
        "destination_platform" = 4;
        itime = 1547542992;
        mediaType = 3;
        message =         {
            text = "\U4e13\U6ce8\U4e8e\U670d\U88c5\U4eba\U624d\U62db\U8058\Uff0c10\U4e07\U670d\U88c5\U4f01\U4e1a\U4e0e\U4eba\U624d\U7b49\U7740\U60a8\Uff0c\U670d\U88c5\U6c42\U804c\U62db\U8058\U4e0a\U4e1c\U7eba\U62db\U8058";
            title = "\U627e\U4eba\U624d-\U4e1c\U7eba\U62db\U8058";
            url = "https://m.jobef.com/resume/index.html";
        };
        result = 0;
        type = share;
    }
) log succed
2019-01-15 17:04:55.554221+0800 JobefMobile.temp_caseinsensitive_rename[63693:19570631] WF: === Starting WebFilter logging for process JobefMobile.temp_caseinsensitive_rename
2019-01-15 17:04:55.554374+0800 JobefMobile.temp_caseinsensitive_rename[63693:19570631] WF: _userSettingsForUser mobile: {
    filterBlacklist =     (
    );
    filterWhitelist =     (
    );
    noOverridingAllowed = 1;
    restrictWeb = 1;
    useContentFilter = 0;
    useContentFilterOverrides = 0;
    whitelistEnabled = 0;
}
2019-01-15 17:04:55.554575+0800 JobefMobile.temp_caseinsensitive_rename[63693:19570631] WF: _WebFilterIsActive returning: NO
2019-01-15 17:04:56.795994+0800 JobefMobile.temp_caseinsensitive_rename[63693:19570641]  | JIGUANG | D - [JIGUANGService] share to QQ
2019-01-15 17:04:56.796788+0800 JobefMobile.temp_caseinsensitive_rename[63693:19570592] CRASH: -[__NSCFString appendString:]: nil argument
2019-01-15 17:04:56.810080+0800 JobefMobile.temp_caseinsensitive_rename[63693:19570592] Stack Trace: (
	0   CoreFoundation                      0x0000000225deff10 <redacted> + 252
	1   libobjc.A.dylib                     0x0000000224fbda40 objc_exception_throw + 56
	2   CoreFoundation                      0x0000000225cf4ac4 <redacted> + 0
	3   CoreFoundation                      0x0000000225d63ba0 <redacted> + 204
	4   JobefMobile.temp_caseinsensitive_rename 0x0000000104337c54 +[JSHAREQQ shareToPlatform:message:] + 276
	5   JobefMobile.temp_caseinsensitive_rename 0x0000000104337b1c +[JSHAREQQ send:] + 96
	6   JobefMobile.temp_caseinsensitive_rename 0x0000000104319e0c +[JSHAREService share:handler:completionHandler:] + 2140
	7   JobefMobile.temp_caseinsensitive_rename 0x000000010431959c +[JSHAREService share:handler:] + 64
	8   JobefMobile.temp_caseinsensitive_rename 0x00000001042bd48c -[UIWebViewBase shareLinkWithPlatform:] + 476
	9   JobefMobile.temp_caseinsensitive_rename 0x00000001042b10d8 -[ShareView shareTypeSelect:] + 92
	10  UIKitCore                           0x00000002526a4c6c <redacted> + 96
	11  UIKitCore                           0x00000002527c9b38 <redacted> + 80
	12  UIKitCore                           0x00000002527c9e58 <redacted> + 440
	13  UIKitCore                           0x00000002527c8e58 <redacted> + 568
	14  UIKitCore                           0x0000000252e417d4 <redacted> + 2472
	15  UIKitCore                           0x0000000252e42a38 <redacted> + 3156
	16  UIKitCore                           0x00000002526bed50 <redacted> + 340
	17  UIKitCore                           0x00000002525fa8e0 <redacted> + 1440
	18  UIKitCore                           0x00000002525fd34c <redacted> + 4740
	19  UIKitCore                           0x00000002525fd6ac <redacted> + 5604
	20  UIKitCore                           0x00000002525f5ee0 <redacted> + 152
	21  CoreFoundation                      0x0000000225d7e5b8 <redacted> + 24
	22  CoreFoundation                      0x0000000225d7e538 <redacted> + 88
	23  CoreFoundation                      0x0000000225d7de70 <redacted> + 260
	24  CoreFoundation                      0x0000000225d78ce8 <redacted> + 1040
	25  CoreFoundation                      0x0000000225d785b8 CFRunLoopRunSpecific + 436
	26  GraphicsServices                    0x0000000227fec584 GSEventRunModal + 100
	27  UIKitCore                           0x00000002526a3558 UIApplicationMain + 212
	28  JobefMobile.temp_caseinsensitive_rename 0x00000001042c9990 main + 92
	29  libdyld.dylib                       0x0000000225838b94 <redacted> + 4
)
2019-01-15 17:04:56.811427+0800 JobefMobile.temp_caseinsensitive_rename[63693:19570592] finally

#2

根据错误说明检查下对应的传参。

https://blog.csdn.net/ziyuzhiye/article/details/77963691

你的 SDK 版本多少,分享 QQ 的时候传了什么参数导致报了错,测试我们的 demo 看是否有异常,再对照 demo 的代码和你的