Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 5, 2009, 07:17 PM   #1
liptonlover
macrumors 6502a
 
Join Date: Mar 2008
terminating due to uncaught exception <_<

I've asked this before, but I'm getting different things from the console than usual when I get this error. First let me say I haven't touched this project in a couple months, but as far as I remember it was buildable when I last left it. I built and ran it just now to get a feel for it again before plunging back into it, but it crashed the sim. It built, opened the sim and showed a blank screen, then I got the terminating due to uncaught exception error in the debugger, thread one. I opened the console and found all this.

Code:
[Session started at 2009-01-05 19:12:15 -0500.]
2009-01-05 19:12:19.310 Dystopia[2872:20b] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<ViewManager 0x525900> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key animationSlider.'

[Session started at 2009-01-05 19:12:19 -0500.]
2009-01-05 19:12:19.327 Dystopia[2872:20b] Stack: (
    2450354507,
    2528702011,
    2450353265,
    2522293832,
    2522292398,
    2522835809,
    818018567,
    2450307909,
    818013269,
    818021560,
    816113900,
    816149059,
    2522371566,
    2449857349,
    2449857784,
    827737600,
    827737797,
    816114840,
    816160916
)
Loading program into debugger…
GNU gdb 6.3.50-20050815 (Apple version gdb-962) (Sat Jul 26 08:14:40 UTC 2008)
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 "i386-apple-darwin".warning: Unable to read symbols for "/System/Library/Frameworks/UIKit.framework/UIKit" (file not found).
warning: Unable to read symbols from "UIKit" (not yet mapped into memory).
warning: Unable to read symbols for "/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics" (file not found).
warning: Unable to read symbols from "CoreGraphics" (not yet mapped into memory).
Program loaded.
sharedlibrary apply-load-rules all
Attaching to program: `/Users/nate/Library/Application Support/iPhone Simulator/User/Applications/E3E05F4A-042C-4A73-88FD-73B414EE8C88/Dystopia.app/Dystopia', process 2872.
(gdb)
Going off the fact that it references CoreGraphics and UIKit, I'm assuming it has a problem with the images I have throughout the app. But I KNOW for a fact that there was no problem like that when I left the project, because I had debugged any potential problems there ages ago.
Also, I gave the project to a few friends so they could see it, but they couldn't compile it either so I'm not missing something from the sdk.
Nate
__________________
Failure is not an option. It comes bundled with Windows.
Writing portfolio
liptonlover is offline   0 Reply With Quote
Old Jan 5, 2009, 07:19 PM   #2
italiano40
macrumors 65816
 
italiano40's Avatar
 
Join Date: Oct 2007
Location: NY
Send a message via AIM to italiano40 Send a message via Skype™ to italiano40
you need use these codes to stop that
Code:
NS_DURING

NS_HANDLER

NS_ENDHANDLER
__________________
Macbook 1gb Ram 2.10ghz 120gb HD Leopard
iphone 3g 8gb
Xbox360(Italiano40)
twitter
italiano40 is offline   0 Reply With Quote
Old Jan 5, 2009, 07:20 PM   #3
liptonlover
Thread Starter
macrumors 6502a
 
Join Date: Mar 2008
ummm... where do I put those and what exactly will they do?
Thanks, Nate
__________________
Failure is not an option. It comes bundled with Windows.
Writing portfolio
liptonlover is offline   0 Reply With Quote
Old Jan 6, 2009, 02:18 AM   #4
xsmasher
macrumors regular
 
Join Date: Jul 2008
Ignore the debugger/symbol messages - the key is this one:

Code:
2009-01-05 19:12:19.310 Dystopia[2872:20b] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<ViewManager 0x525900> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key animationSlider.'
Are you trying to set a key or variable called "animationSlider" for a "ViewManager" ? The system is telling you there's no such key.
xsmasher is offline   0 Reply With Quote
Old Jan 6, 2009, 07:57 AM   #5
liptonlover
Thread Starter
macrumors 6502a
 
Join Date: Mar 2008
Ok I found the problem, which I should have been able to find without help, but I never noticed that error it was offscreen. I must have created an animationSlider pointer and linked a slider to it, only to delete the pointer but not the connection. Thanks
Nate
__________________
Failure is not an option. It comes bundled with Windows.
Writing portfolio
liptonlover is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Exception breakpoint where no exception is caused moonman239 iPhone/iPad Programming 1 Apr 30, 2014 08:03 AM
HELP! *** Terminating app due to uncaught exception 'NSUnknownKeyException' rwaller1 iPhone/iPad Programming 4 Sep 4, 2013 12:40 PM
NSTask Not terminating. DavidBlack Mac Programming 5 Aug 3, 2013 10:07 PM
Terminating app due to uncaught exception 'NSUnknownKeyException' cmi2012 iPhone/iPad Programming 10 Jul 20, 2012 03:06 PM
Xcode 4.5 problems - breakpoints I don't want and libc++abi.dylib uncaught exception moonman239 iPhone/iPad Programming 1 Jun 20, 2012 03:09 PM

Forum Jump

All times are GMT -5. The time now is 05:19 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC