Terminating app due to uncaught exception 'NSUnknownKeyException'

问题:

 Control Fun[3929:60b] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<JAViewController 0x10920f570> setValue:forUndefinedKey:]: this class is not key value coding-compliant
for the key
sliderChanged.'

*** First throw call stack:

(

0   CoreFoundation                      0x0000000101947495 __exceptionPreprocess + 165

1   libobjc.A.dylib                     0x00000001016a699e objc_exception_throw + 43

2   CoreFoundation                      0x00000001019cb919 -[NSException raise] + 9

3   Foundation                          0x0000000101287530 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 259

4   CoreFoundation                      0x0000000101943400 -[NSArray makeObjectsPerformSelector:] + 224

5   UIKit                               0x00000001004ae8a6 -[UINib instantiateWithOwner:options:] + 1131

6   UIKit                               0x0000000100348b0c -[UIViewController _loadViewFromNibNamed:bundle:] + 245

7   UIKit                               0x0000000100349149 -[UIViewController loadView] + 112

8   UIKit                               0x00000001003493b7 -[UIViewController loadViewIfRequired] + 75

9   UIKit                               0x0000000100349777 -[UIViewController view] + 29

10  UIKit                               0x000000010028996b -[UIWindow addRootViewControllerViewIfPossible] + 58

11  UIKit                               0x0000000100289c70 -[UIWindow _setHidden:forced:] + 282

12  UIKit                               0x0000000100292ffa -[UIWindow makeKeyAndVisible] + 51

13  UIKit                               0x000000010024ec98 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1788

14  UIKit                               0x0000000100252a0c -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 660

15  UIKit                               0x0000000100263d4c -[UIApplication handleEvent:withNewEvent:] + 3189

16  UIKit                               0x0000000100264216 -[UIApplication sendEvent:] + 79

17  UIKit                               0x0000000100254086 _UIApplicationHandleEvent + 578

18  GraphicsServices                    0x0000000103ac071a _PurpleEventCallback + 762

19  GraphicsServices                    0x0000000103ac01e1 PurpleEventCallback + 35

20  CoreFoundation                      0x00000001018c9679 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41

21  CoreFoundation                      0x00000001018c944e __CFRunLoopDoSource1 + 478

22  CoreFoundation                      0x00000001018f2903 __CFRunLoopRun + 1939

23  CoreFoundation                      0x00000001018f1d83 CFRunLoopRunSpecific + 467

24  UIKit                               0x00000001002522e1 -[UIApplication _run] + 609

25  UIKit                               0x0000000100253e33 UIApplicationMain + 1010

26  Control Fun                         0x00000001000015e3 main + 115

27  libdyld.dylib                       0x0000000101fdf5fd start + 1

)

libc++abi.dylib: terminating with uncaught exception of type NSException

(lldb) 


解决:

找到sliderChanged对应控件的connection,删掉多余的。

时间: 2024-11-02 06:31:17

Terminating app due to uncaught exception &#39;NSUnknownKeyException&#39;的相关文章

解决:threadid=1: thread exiting with uncaught exception (group=0x4001d800)

W/dalvikvm(285): threadid=1: thread exiting with uncaught exception (group=0x4001d800) E/AndroidRuntime(285): FATAL EXCEPTION: main E/AndroidRuntime(285): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.service/co

菜鸟 求解答-threadid=1: thread exiting with uncaught exception (group=0x414c4700)

问题描述 threadid=1: thread exiting with uncaught exception (group=0x414c4700) 菜鸟Android开发过程中开发的时候出现这种错误 哪位大神帮忙看看 怎么解决threadid=1: thread exiting with uncaught exception (group=0x414c4700) 解决方案 你只给出这个别人是无法知道你到底哪里出错吧,你可以把异常捕获,打印到出来,然后再看看哪里出错了

Uncaught exception com_exception with message Failed to create COM object_php技巧

在PHP中调用IE使用如下代码: 复制代码 代码如下: browser = new COM("InternetExplorer.Application"); 无法正常调用,直接报错: 复制代码 代码如下: Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `InternetExplorer.Application': 拒绝访问. 原因是IE的COM组件默认禁

JDBC中的Communications link failure due to underlying exception错误

问题描述:使用JDBC连接Mysql数据库时,出现"Connection reset"错误,抛出如下异常: Connection couldn't be established to jdbc:mysql://***/***?user=***&password=******** com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** B

ajaxupload.js uncaught exception: [Exception... &quot;Component returned failure code: 0x805e0006

ajaxupload.js uncaught exception: [Exception... "Component returned failure code: 0x805e0006 前段时间碰到一个怪问题,firefox在使用一个上传文件的js(ajaxupload.js)时总是报错(uncaught exception: [Exception... "Component returned failure code: 0x805e0006 [nsIDOMHTMLFormElemen

threadid=1: thread exiting with uncaught exception (group=0x40db8930)

异常信息如下:   07-26 17:23:49.521: W/dalvikvm(29229): threadid=1: thread exiting with uncaught exception (group=0x40db8930)   出现这种情况,有可能是View,在Activity中强制类型转换的时候,转换不对,或者为了方便复制代码出现ID重复的情况,还有一种情况,是跳转Activity的时候,Activity没有在清单文件注册

javascript-jquery如何设置一个动态创建的 $(&amp;amp;#39;#&amp;amp;#39;).append(&amp;amp;#39;&amp;amp;#39;)中的ID?并利用它

问题描述 jquery如何设置一个动态创建的 $('#').append('')中的ID?并利用它 就比如像这样的: <script type="text/javascript"> var number=0; function next(){ $('#showdata').append('<input class="number_showdata" id="showdataid'+number+'" type="tex

解决sweetalert 无故报错 elem.className.replace Uncaught TypeError: Cannot read property &amp;#39;className&amp;#39; of null

今天碰到这么一个问题,在使用sweetalert的时候时有时无会报错  elem.className.replace Uncaught TypeError: Cannot read property 'className' of null  很简单,debug源码,发现elem在有时候会为空,为空的时候抛出异常,修改如下代码即可解决该问题  效果:  

Fatal error: Uncaught exception Exception with message

php中如果遇到这样的问题,一般都是权限问题,修改目录的权限即可解决.