应用程序在控制台中出现此错误消息后终止:抛出“NSException”实例后调用终止

发布于 2024-10-23 22:50:47 字数 3338 浏览 0 评论 0原文

kill
quit

The Debugger has exited with status 0.
[Session started at 2011-03-18 14:27:30 +0530.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1472) (Wed Jul 21 10:53:12 UTC 2010)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".sharedlibrary apply-load-rules all
Attaching to process 4478.
2011-03-18 14:27:32.460 TabBarAndNav[4478:207] WARNING: Using legacy cell layout due to delegate implementation of tableView:accessoryTypeForRowWithIndexPath: in <MoviesListViewController: 0x5f319a0>.  Please remove your implementation of this method and set the cell properties accessoryType and/or editingAccessoryType to move to the new cell layout behavior.  This method will no longer be called in a future release.
2011-03-18 14:27:34.400 TabBarAndNav[4478:207] WARNING: Using legacy cell layout due to delegate implementation of tableView:accessoryTypeForRowWithIndexPath: in <Community: 0x5f37a50>.  Please remove your implementation of this method and set the cell properties accessoryType and/or editingAccessoryType to move to the new cell layout behavior.  This method will no longer be called in a future release.
2011-03-18 14:27:45.272 TabBarAndNav[4478:207] -[TestFile <null selector>]: unrecognized selector sent to instance 0x5f38ff0
2011-03-18 14:27:45.277 TabBarAndNav[4478:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[TestFile <null selector>]: unrecognized selector sent to instance 0x5f38ff0'
*** Call stack at first throw:
(
    0   CoreFoundation                      0x02515b99 __exceptionPreprocess + 185
    1   libobjc.A.dylib                     0x0266540e objc_exception_throw + 47
    2   CoreFoundation                      0x025176ab -[NSObject(NSObject) doesNotRecognizeSelector:] + 187
    3   CoreFoundation                      0x024872b6 ___forwarding___ + 966
    4   CoreFoundation                      0x02486e72 _CF_forwarding_prep_0 + 50
    5   Foundation                          0x0004221a __NSFireDelayedPerform + 441
    6   CoreFoundation                      0x024f6f73 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 19
    7   CoreFoundation                      0x024f85b4 __CFRunLoopDoTimer + 1364
    8   CoreFoundation                      0x02454dd9 __CFRunLoopRun + 1817
    9   CoreFoundation                      0x02454350 CFRunLoopRunSpecific + 208
    10  CoreFoundation                      0x02454271 CFRunLoopRunInMode + 97
    11  GraphicsServices                    0x02d7000c GSEventRunModal + 217
    12  GraphicsServices                    0x02d700d1 GSEventRun + 115
    13  UIKit                               0x002d1af2 UIApplicationMain + 1160
    14  TabBarAndNav                        0x00002004 main + 102
    15  TabBarAndNav                        0x00001f95 start + 53
    16  ???                                 0x00000001 0x0 + 1
)
terminate called after throwing an instance of 'NSException'
Program received signal:  “SIGABRT”.
(gdb) 
kill
quit

The Debugger has exited with status 0.
[Session started at 2011-03-18 14:27:30 +0530.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1472) (Wed Jul 21 10:53:12 UTC 2010)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".sharedlibrary apply-load-rules all
Attaching to process 4478.
2011-03-18 14:27:32.460 TabBarAndNav[4478:207] WARNING: Using legacy cell layout due to delegate implementation of tableView:accessoryTypeForRowWithIndexPath: in <MoviesListViewController: 0x5f319a0>.  Please remove your implementation of this method and set the cell properties accessoryType and/or editingAccessoryType to move to the new cell layout behavior.  This method will no longer be called in a future release.
2011-03-18 14:27:34.400 TabBarAndNav[4478:207] WARNING: Using legacy cell layout due to delegate implementation of tableView:accessoryTypeForRowWithIndexPath: in <Community: 0x5f37a50>.  Please remove your implementation of this method and set the cell properties accessoryType and/or editingAccessoryType to move to the new cell layout behavior.  This method will no longer be called in a future release.
2011-03-18 14:27:45.272 TabBarAndNav[4478:207] -[TestFile <null selector>]: unrecognized selector sent to instance 0x5f38ff0
2011-03-18 14:27:45.277 TabBarAndNav[4478:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[TestFile <null selector>]: unrecognized selector sent to instance 0x5f38ff0'
*** Call stack at first throw:
(
    0   CoreFoundation                      0x02515b99 __exceptionPreprocess + 185
    1   libobjc.A.dylib                     0x0266540e objc_exception_throw + 47
    2   CoreFoundation                      0x025176ab -[NSObject(NSObject) doesNotRecognizeSelector:] + 187
    3   CoreFoundation                      0x024872b6 ___forwarding___ + 966
    4   CoreFoundation                      0x02486e72 _CF_forwarding_prep_0 + 50
    5   Foundation                          0x0004221a __NSFireDelayedPerform + 441
    6   CoreFoundation                      0x024f6f73 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 19
    7   CoreFoundation                      0x024f85b4 __CFRunLoopDoTimer + 1364
    8   CoreFoundation                      0x02454dd9 __CFRunLoopRun + 1817
    9   CoreFoundation                      0x02454350 CFRunLoopRunSpecific + 208
    10  CoreFoundation                      0x02454271 CFRunLoopRunInMode + 97
    11  GraphicsServices                    0x02d7000c GSEventRunModal + 217
    12  GraphicsServices                    0x02d700d1 GSEventRun + 115
    13  UIKit                               0x002d1af2 UIApplicationMain + 1160
    14  TabBarAndNav                        0x00002004 main + 102
    15  TabBarAndNav                        0x00001f95 start + 53
    16  ???                                 0x00000001 0x0 + 1
)
terminate called after throwing an instance of 'NSException'
Program received signal:  “SIGABRT”.
(gdb) 

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

沒落の蓅哖 2024-10-30 22:50:47

查看控制台消息中的以下几行,

2011-03-18 14:27:45.272 TabBarAndNav[4478:207] -[TestFile <null selector>]: unrecognized selector sent to instance 0x5f38ff0
2011-03-18 14:27:45.277 TabBarAndNav[4478:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[TestFile <null selector>]: unrecognized selector sent to instance 0x5f38ff0'

它表示您正在调用 TestFile 对象的选择器。

Look at the following lines in the console message,

2011-03-18 14:27:45.272 TabBarAndNav[4478:207] -[TestFile <null selector>]: unrecognized selector sent to instance 0x5f38ff0
2011-03-18 14:27:45.277 TabBarAndNav[4478:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[TestFile <null selector>]: unrecognized selector sent to instance 0x5f38ff0'

It says that your calling a selector for TestFile object.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文