iCulture forum | iPhone, iPad,  iPod touch, Apple TV en iOS

iCulture forum | iPhone, iPad, iPod touch, Apple TV en iOS (https://forum.iculture.nl/)
-   Ontwikkelen voor iOS (https://forum.iculture.nl/f133/development/f58/ontwikkelen-voor-ios/)
-   -   SIGABRT (https://forum.iculture.nl/f133/development/f58/ontwikkelen-voor-ios/86653-sigabrt.html)

Alwinkov 13-03-11 15:34

SIGABRT
 
Beste Dev's

Nadat ik Xcode 4 heb geïnstalleerd werkt mijn app niet meer... en geeft hij een melding.
Code:

Thread 1: Program received signal: "SIGABRT".
Mijn zoektocht op Google heeft helaas niks opgeleverd, daarom hoop ik dat iemand hier mij kan helpen.

http://www.alwinkov.com/xcode_error.png

vuurvreter 13-03-11 17:04

Hier kan je niets mee?
http://forum.iculture.nl/f8/applicat...7-sigabrt.html
Ik ben geen programeur, dus het is allemaal abracadrabra voor mij.

Alwinkov 13-03-11 18:39

@ vuurvreter, bedankt voor het topic. Helaas nog geen oplossing tussen kunnen vinden...

console:

Code:

GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:52:12 UTC 2011)
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".Attaching to process 3275.
2011-03-13 18:34:35.323 Simple Table[3275:207] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIApplication 0x4e09910> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key view.'
*** Call stack at first throw:
(
        0  CoreFoundation                      0x00dc15a9 __exceptionPreprocess + 185
        1  libobjc.A.dylib                    0x00f15313 objc_exception_throw + 44
        2  CoreFoundation                      0x00dc14e1 -[NSException raise] + 17
        3  Foundation                          0x00793677 _NSSetUsingKeyValueSetter + 135
        4  Foundation                          0x007935e5 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 285
        5  UIKit                              0x0020f30c -[UIRuntimeOutletConnection connect] + 112
        6  CoreFoundation                      0x00d378cf -[NSArray makeObjectsPerformSelector:] + 239
        7  UIKit                              0x0020dd23 -[UINib instantiateWithOwner:options:] + 1041
        8  UIKit                              0x0020fab7 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 168
        9  UIKit                              0x0001517a -[UIApplication _loadMainNibFile] + 172
        10  UIKit                              0x00015cf4 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 291
        11  UIKit                              0x00020617 -[UIApplication handleEvent:withNewEvent:] + 1533
        12  UIKit                              0x00018abf -[UIApplication sendEvent:] + 71
        13  UIKit                              0x0001df2e _UIApplicationHandleEvent + 7576
        14  GraphicsServices                    0x00ffa992 PurpleEventCallback + 1550
        15  CoreFoundation                      0x00da2944 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
        16  CoreFoundation                      0x00d02cf7 __CFRunLoopDoSource1 + 215
        17  CoreFoundation                      0x00cfff83 __CFRunLoopRun + 979
        18  CoreFoundation                      0x00cff840 CFRunLoopRunSpecific + 208
        19  CoreFoundation                      0x00cff761 CFRunLoopRunInMode + 97
        20  UIKit                              0x000157d2 -[UIApplication _run] + 623
        21  UIKit                              0x00021c93 UIApplicationMain + 1160
        22  Simple Table                        0x00001e69 main + 121
        23  Simple Table                        0x00001de5 start + 53
        24  ???                                0x00000001 0x0 + 1
)
terminate called after throwing an instance of 'NSException'
sharedlibrary apply-load-rules all
Current language:  auto; currently objective-c
(gdb)


wubbe 14-03-11 22:15

Toch wel.
 
Volgende foutmelding zegt toch wel iets hoor:
Code:

2011-03-13 18:34:35.323 Simple Table[3275:207] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIApplication 0x4e09910> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key view.'
Er zit iets niet goed met de IBOutlets.
Controleer eens of de view wel gekoppeld is met de UIView in Interface builder.
Zijn alle andere Outlets wel gekoppeld in IB?

Jeroen0704 15-03-11 15:11

Probeer eens backtrace in te typen als je deze melding krijgt.
Je krijgt dat weer een paar regels met code te zien. In eentje staat de fout. In die regel staat ook het bestand waar de fout in zit, bv: rootviewcontroller.m en er staat ook in welke regel de fout zit. Dit wordt volgens mij aangegeven door m.regelnummer.

nop 16-03-11 18:22

Die fout heb ik vaak gezien en hersteld :)
99% kans dat er een verkeerde klasse gedefinieerd is voor een object. Gebruik je een tabbar? Zet dan de naam van de Viewcontroller als class neer.
Loop dus in IB even je classes af. Je hoeft waarschijnlijk niet in je code te gaan spitten.

Alwinkov 17-03-11 12:55

Bedankt voor de reacties, ik ga er even naar kijken...:)


Alle tijden zijn GMT +2. Het is nu 21:42.