|Nov 23, 2006, 03:32 AM||#1|
Every time I try to build (any) project, I get the error message:
*** -[NSCFDictionary setObject:forKey:]: attempt to insert nil key
The stack backtrace has been logged to the console.
with options to Continue (does nothing) or Quit
I have tried trashing preferences (no difference), and am running 2.4.1
|Nov 23, 2006, 03:55 AM||#2|
Maybe a reinstall will help. Or you could let us have more information
|Nov 23, 2006, 04:25 AM||#3|
Have you modified the defaults somehow? My guess is that XCode is trying to build an NSDictionary of the project configuration and you've managed to set a null somewhere you shouldn't.
|Nov 23, 2006, 04:59 AM||#4|
Current projects are Java and were building fine before.
As far as I can see this is all languages. Creating a brand new c++ tool with the default code "Hello World!" code causes the same error. The same is true for a java tool, Cocoa project - I could try more but I am getting the picture.
A reinstall is the next step, I suppose ...
|Nov 23, 2006, 09:07 AM||#6|
|Nov 23, 2006, 09:30 AM||#8|
|Nov 23, 2006, 11:24 AM||#9|
Of course. In the meantime, I shall do my uttermost to break it again
FWIW and not that I have either the time or inclination to investigate, the stack trace is as follows:
2006-11-23 14:05:26.305 Xcode ** INTERNAL ERROR: Uncaught Exception **
Exception: *** -[NSCFDictionary setObject:forKey:]: attempt to insert nil key
0 0x956c1b90 -[TSException raise]
1 0x9297be58 +[NSException raise:format:]
2 0x92942464 -[NSCFDictionary setObject:forKey:]
3 0x99279814 -[PBXAEEditorSpecification _modifiedFileDictionary]
4 0x99279618 -[PBXAEEditorSpecification modifiedDocumentsArray]
5 0x991106bc -[PBXExternalEditorInterface modifiedDocumentsFromExternalEditors]
6 0x99110428 -[PBXProjectDocument editedFileDocuments]
7 0x99110240 -[PBXProjectDocument saveEditedDocumentsIfNeededWithCancelTitle:]
8 0x99331ee0 -[XCProjectSelection buildTargets:andDependencies:withAction:usingBuildStyles:usingBuildConfigurationverridingBuildSett ings:notifyingObject:]
9 0x991101e4 -[XCProjectSelection buildTargets:withAction:]
10 0x90a441f0 _objc_msgSendv
11 0x9295cc84 -[NSInvocation invoke]
12 0x9295d234 -[NSInvocation invokeWithTarget:]
13 0x92955030 -[NSObject(NSForwardInvocation) forward::]
14 0x90a440ac __objc_msgForward
15 0x937acc48 -[NSApplication sendAction:to:from:]
16 0x938074b4 -[NSMenu performActionForItemAtIndex:]
17 0x93807238 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:]
18 0x93806ce0 -[NSMenu performKeyEquivalent:]
19 0x938068c0 -[NSApplication _handleKeyEquivalent:]
20 0x9908ba1c -[PBXExtendedApplication sendEvent:]
21 0x93707d0c -[NSApplication run]
22 0x937f8878 _NSApplicationMain
All identities removed.
but it may be a little more meaningful to someone with a reasonable knowledge of Cocoa event handling.
Last edited by AlmostThere; Nov 23, 2006 at 11:33 AM.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Xcode 4.1 'Run' won't work..||DoodlyDoo||Mac Applications and Mac App Store||0||Sep 26, 2011 09:49 AM|
|changing Base SDK in xcode started giving errors||hrishidev||Mac Programming||4||Apr 21, 2011 01:29 AM|
|PLease, Please HELP! I Have an error that I cannot Fix!!!||Patoma16||iPhone/iPad Programming||5||Feb 16, 2011 09:03 PM|
|XCode Error ".objc_class_name_", referenced from:||Hot Sauce79||Mac Programming||7||Aug 2, 2010 05:56 PM|
|XCode Error whenever i compile||VisualBasicImp||Mac Programming||1||Mar 1, 2007 02:57 PM|
All times are GMT -5. The time now is 09:10 AM.