Results 1 to 1 of 1

Thread: *** Terminating app due to uncaught exception 'NSGenericException', reason: 'This cod

  1. #1
    Lesser Wizard
    Join Date
    Nov 2010
    Location
    Los Angeles, California, United States, United States
    Posts
    126

    Default *** Terminating app due to uncaught exception 'NSGenericException', reason: 'This cod

    *** UPDATE ***
    Looks like this is related to the fact that media is not in the ./bin directory from SVN. Will likely have to run update_media.bat on a PC...
    ***************
    Having issues with RT3DApp:

    Code:
    2011-01-08 00:05:03.395 3DCollision[158:307] AppManualRotation set to 1
    2011-01-08 00:05:03.399 3DCollision[158:307] Save path is /var/mobile/Applications/1E58CED6-F56D-4884-9EB9-128E65340EE1/Documents/
    2011-01-08 00:05:03.404 3DCollision[158:307] ERROR: Cannot mount virtual file system using /var/mobile/Applications/1E58CED6-F56D-4884-9EB9-128E65340EE1/3DCollision.app/game.zip
    2011-01-08 00:05:03.407 3DCollision[158:307] Error finding APK file to load resources
    2011-01-08 00:05:03.412 3DCollision[158:307] Unable to load font interface/font_trajan.rtfont
    2011-01-08 00:05:03.415 3DCollision[158:307] Couldn't init app
    2011-01-08 00:05:03.541 3DCollision[158:307] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'This coder requires that replaced objects be returned from initWithCoder:'
    *** Call stack at first throw:
    (
    	0   CoreFoundation                      0x3587a987 __exceptionPreprocess + 114
    	1   libobjc.A.dylib                     0x34a8249d objc_exception_throw + 24
    	2   CoreFoundation                      0x3587a7c9 +[NSException raise:format:arguments:] + 68
    	3   CoreFoundation                      0x3587a803 +[NSException raise:format:] + 34
    	4   UIKit                               0x343f8a0d UINibDecoderDecodeObjectForValue + 1512
    	5   UIKit                               0x343f8c0b -[UINibDecoder decodeObjectForKey:] + 66
    	6   UIKit                               0x3438ee0b -[UIRuntimeConnection initWithCoder:] + 118
    	7   UIKit                               0x343f8a93 UINibDecoderDecodeObjectForValue + 1646
    	8   UIKit                               0x343f865d UINibDecoderDecodeObjectForValue + 568
    	9   UIKit                               0x343f8c0b -[UINibDecoder decodeObjectForKey:] + 66
    	10  UIKit                               0x3438e4f7 -[UINib instantiateWithOwner:options:] + 458
    	11  UIKit                               0x3438fb39 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 92
    	12  UIKit                               0x341e1871 -[UIApplication _loadMainNibFile] + 96
    	13  UIKit                               0x341dd1fd -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 180
    	14  UIKit                               0x341a948b -[UIApplication handleEvent:withNewEvent:] + 1114
    	15  UIKit                               0x341a8ec9 -[UIApplication sendEvent:] + 44
    	16  UIKit                               0x341a8907 _UIApplicationHandleEvent + 5090
    	17  GraphicsServices                    0x320c8f03 PurpleEventCallback + 666
    	18  CoreFoundation                      0x3580f6ff __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 26
    	19  CoreFoundation                      0x3580f6c3 __CFRunLoopDoSource1 + 166
    	20  CoreFoundation                      0x35801f7d __CFRunLoopRun + 520
    	21  CoreFoundation                      0x35801c87 CFRunLoopRunSpecific + 230
    	22  CoreFoundation                      0x35801b8f CFRunLoopRunInMode + 58
    	23  UIKit                               0x341dc309 -[UIApplication _run] + 380
    	24  UIKit                               0x341d9e93 UIApplicationMain + 670
    	25  3DCollision                         0x00290b38 main + 212
    	26  3DCollision                         0x0003622c start + 40
    )
    terminate called after throwing an instance of 'NSException'
    Program received signal:  “SIGABRT”.
    warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/Developer/usr/lib/libXcodeDebuggerSupport.dylib (file not found).
    Last edited by BigBMan; 01-08-2011 at 08:27 AM.

Similar Threads

  1. Unhandled Exception, help?
    By lordhogfred in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 02-22-2010, 08:26 AM
  2. Not a valid XML resource file exception
    By alexv1 in forum Official ClanLib SDK Forums
    Replies: 7
    Last Post: 02-06-2009, 11:30 PM
  3. some patches - std::exception, cl_vector, ostream, etc
    By logixoul in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 07-07-2008, 04:05 PM
  4. Have CL_Error inherit from std::exception
    By SnT2k in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 06-24-2008, 06:57 AM
  5. Exception every time I try to move stuff
    By cpury in forum Novashell Game Creation System
    Replies: 9
    Last Post: 03-01-2007, 11:26 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •