It worked fine on the machine I write the code on. I transferred it to my MacBook Air to test and it crashed. I don;t know how to read these to see if it even is telling me where the problem is?
It's some issue with an NSString != nil I think I saw, but how do I find out where?
-Lars
Code:
Process: Xp Calc2 [765]
Path: /Users/lars/Desktop/XPCalc6.app/Contents/MacOS/Xp Calc2
Identifier: larsTest.Xp-Calc2
Version: 1.0 (2.10)
Code Type: X86 (Native)
Parent Process: launchd [160]
Date/Time: 2011-07-18 17:55:14.902 -0700
OS Version: Mac OS X 10.6.7 (10J869)
Report Version: 6
Interval Since Last Report: 316665 sec
Crashes Since Last Report: 14
Per-App Interval Since Last Report: 56699 sec
Per-App Crashes Since Last Report: 5
Anonymous UUID: D7C0EDFD-57DA-45F3-8A2B-487D0AFEC29F
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: aString != nil'
*** Call stack at first throw:
(
0 CoreFoundation 0x9349f6ba __raiseError + 410
1 libobjc.A.dylib 0x9746d509 objc_exception_throw + 56
2 CoreFoundation 0x9349f3e8 +[NSException raise:format:arguments:] + 136
3 Foundation 0x94722ae7 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 116
4 AppKit 0x908bf3f4 -[NSCell _objectValue:forString:errorDescription:] + 183
5 AppKit 0x908bf335 -[NSCell _objectValue:forString:] + 56
6 AppKit 0x908bf28a -[NSCell setStringValue:] + 56
7 AppKit 0x90985d7c -[NSControl setStringValue:] + 126
8 Xp Calc2 0x0000562e 0x0 + 22062
9 Xp Calc2 0x0000270e 0x0 + 9998
10 CoreFoundation 0x934379b4 -[NSSet makeObjectsPerformSelector:] + 196
11 AppKit 0x9089621c -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1566
12 AppKit 0x908941f4 loadNib + 257
13 AppKit 0x908935ed +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 228
14 AppKit 0x908934fe +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 158
15 AppKit 0x90893449 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 383
16 AppKit 0x9089024d NSApplicationMain + 434
17 Xp Calc2 0x00002295 0x0 + 8853
18 ??? 0x00000002 0x0 + 2
)
It's some issue with an NSString != nil I think I saw, but how do I find out where?
-Lars