iOS开发之'-[__NSCFString appendString:]: nil argument'
来源:互联网 发布:淘宝的 微淘动态 编辑:程序博客网 时间:2024/06/01 14:07
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString appendString:]: nil argument'
*** First throw call stack:
(
0 CoreFoundation 0x0000000110815b0b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010fe66141 objc_exception_throw + 48
2 CoreFoundation 0x000000011087e625 +[NSException raise:format:] + 197
3 CoreFoundation 0x000000011084b594 mutateError + 196
4 swft 0x000000010ed371ba -[QuickTableViewController tableView:cellForRowAtIndexPath:] + 2794
5 UIKit 0x000000011107fd98 -[_UIFilteredDataSource tableView:cellForRowAtIndexPath:] + 98
6 UIKit 0x0000000110da5ab2 -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] + 750
7 UIKit 0x0000000110da5cf8 -[UITableView _createPreparedCellForGlobalRow:willDisplay:] + 74
8 UIKit 0x0000000110d7a639 -[UITableView _updateVisibleCellsNow:isRecursive:] + 2845
9 UIKit 0x0000000110daeccc -[UITableView _performWithCachedTraitCollection:] + 111
10 UIKit 0x0000000110d95e7a -[UITableView layoutSubviews] + 233
11 UIKit 0x0000000110cfc55b -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1268
12 QuartzCore 0x0000000115953904 -[CALayer layoutSublayers] + 146
13 QuartzCore 0x0000000115947526 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 370
14 QuartzCore 0x00000001159473a0 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 24
15 QuartzCore 0x00000001158d6e92 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 294
16 QuartzCore 0x0000000115903130 _ZN2CA11Transaction6commitEv + 468
17 UIKit 0x0000000110c645e7 _afterCACommitHandler + 272
18 CoreFoundation 0x00000001107bb717 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
19 CoreFoundation 0x00000001107bb687 __CFRunLoopDoObservers + 391
20 CoreFoundation 0x00000001107a0720 __CFRunLoopRun + 1200
21 CoreFoundation 0x00000001107a0016 CFRunLoopRunSpecific + 406
22 GraphicsServices 0x000000011517da24 GSEventRunModal + 62
23 UIKit 0x0000000110c39134 UIApplicationMain + 159
24 swft 0x000000010ed4358f main + 111
25 libdyld.dylib 0x00000001130fc65d start + 1
26 ??? 0x0000000000000001 0x0 + 1
)
*** First throw call stack:
(
0 CoreFoundation 0x0000000110815b0b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010fe66141 objc_exception_throw + 48
2 CoreFoundation 0x000000011087e625 +[NSException raise:format:] + 197
3 CoreFoundation 0x000000011084b594 mutateError + 196
4 swft 0x000000010ed371ba -[QuickTableViewController tableView:cellForRowAtIndexPath:] + 2794
5 UIKit 0x000000011107fd98 -[_UIFilteredDataSource tableView:cellForRowAtIndexPath:] + 98
6 UIKit 0x0000000110da5ab2 -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] + 750
7 UIKit 0x0000000110da5cf8 -[UITableView _createPreparedCellForGlobalRow:willDisplay:] + 74
8 UIKit 0x0000000110d7a639 -[UITableView _updateVisibleCellsNow:isRecursive:] + 2845
9 UIKit 0x0000000110daeccc -[UITableView _performWithCachedTraitCollection:] + 111
10 UIKit 0x0000000110d95e7a -[UITableView layoutSubviews] + 233
11 UIKit 0x0000000110cfc55b -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1268
12 QuartzCore 0x0000000115953904 -[CALayer layoutSublayers] + 146
13 QuartzCore 0x0000000115947526 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 370
14 QuartzCore 0x00000001159473a0 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 24
15 QuartzCore 0x00000001158d6e92 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 294
16 QuartzCore 0x0000000115903130 _ZN2CA11Transaction6commitEv + 468
17 UIKit 0x0000000110c645e7 _afterCACommitHandler + 272
18 CoreFoundation 0x00000001107bb717 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
19 CoreFoundation 0x00000001107bb687 __CFRunLoopDoObservers + 391
20 CoreFoundation 0x00000001107a0720 __CFRunLoopRun + 1200
21 CoreFoundation 0x00000001107a0016 CFRunLoopRunSpecific + 406
22 GraphicsServices 0x000000011517da24 GSEventRunModal + 62
23 UIKit 0x0000000110c39134 UIApplicationMain + 159
24 swft 0x000000010ed4358f main + 111
25 libdyld.dylib 0x00000001130fc65d start + 1
26 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
报这个错误的原因是因为拼接的字符串中,有空字符串
阅读全文
0 0
- iOS开发之'-[__NSCFString appendString:]: nil argument'
- '-[__NSCFString replaceOccurrencesOfString:withString:options:range:]: nil argument'
- (0047)iOS开发之nil/Nil/NULL的区别
- IOS开发之----nil, NULL和NSNull
- iOS开发之获取indexPath等于nil
- iOS开发 nil,Nil,NULL的区别
- iOS开发nil/Nil/NULL的区别
- IOS注意之nil,Nil,NULL,NSNull
- iOS 探讨之 nil Nil NULL NSNull
- NSScanner:nil string argument
- NSScanner: nil string argument
- iOS开发-nil/Nil/NULL/NSNull 的使用
- [ios]iOS开发之self.abc = nil与[_abc release]的区别【转】
- -[NSBundle initWithURL:]: nil URL argument'
- iOS之nil、Nil、NULL、NSNull的区别
- iOS之nil, Nil, NULL,null和NSNull的区别
- IOS之nil,Nil,null,Null,NULL,NSNull
- iOS之nil,Nil,null,Null,NULL,NSNull
- Java中的Switch对整型、字符型、字符串型的具体实现细节
- Android Studio使用bmob以及retrofit开发遇到的包冲突
- CodeForces
- C#正则验证大全 Regex.IsMatch()正则表达式验证
- C 常用函数罗列(长期更新)
- iOS开发之'-[__NSCFString appendString:]: nil argument'
- HEX文件格式详解
- 数据库主从和读写分离的配置和使用方法
- java基础1
- 在SpringMVC的Controller中获取spring上下文和springMVC上下文
- Spring对Controller、Service、Dao进行Junit单元测试总结
- Java 并发专题 : CyclicBarrier 打造一个安全的门禁系统
- MyBatis一级缓存和二级缓存实现
- Apache基本使用总结