PDA

View Full Version : Program crashes before IB file is one loading




ryanknu
Jan 22, 2009, 09:47 PM
I don't even know where to begin with this one, the program built and ran before, then I changed a method in a class and now the program can't get past loading the interface before crashing. Here's a crash log. I honestly have no idea how this could have happened.


Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSPlaceholderMutableString initWithString:]: nil argument'

Thread 0 Crashed:
0 com.apple.CoreFoundation 0x91ab4fb4 ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 4
1 libobjc.A.dylib 0x96367e3b objc_exception_throw + 40
2 com.apple.AppKit 0x965502e7 -[NSView _drawRect:clip:] + 3928
3 com.apple.AppKit 0x9654ed93 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1050
4 com.apple.AppKit 0x9654f12a -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1969
5 com.apple.AppKit 0x9654f12a -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1969
6 com.apple.AppKit 0x9654f12a -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1969
7 com.apple.AppKit 0x9654f12a -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1969
8 com.apple.AppKit 0x9654d6e9 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 759
9 com.apple.AppKit 0x9654d02b -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 306
10 com.apple.AppKit 0x96549b4f -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 3090
11 com.apple.AppKit 0x9648a523 -[NSView displayIfNeeded] + 933
12 com.apple.AppKit 0x9648a0d1 -[NSWindow displayIfNeeded] + 189
13 com.apple.AppKit 0x96545ca7 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 1354
14 com.apple.AppKit 0x96545700 -[NSWindow orderWindow:relativeTo:] + 105
15 com.apple.AppKit 0x9657777d -[NSWindow orderFront:] + 50
16 com.apple.AppKit 0x96458573 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1814
17 com.apple.AppKit 0x9644e686 loadNib + 264
18 com.apple.AppKit 0x9644dfe8 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 946
19 com.apple.AppKit 0x9644dc2b +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 171
20 com.apple.AppKit 0x9644db69 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 391
21 com.apple.AppKit 0x9644d818 NSApplicationMain + 434
22 com.yourcompany.Cocoa_Classes 0x00002118 main + 30 (main.m:15)
23 com.yourcompany.Cocoa_Classes 0x000020ce start + 54



ryanknu
Jan 22, 2009, 10:11 PM
I made an error, it seems that IB does load but somewhere along the line my code messes something up.