PDA

View Full Version : Xcode error, can't use it any more.




orfeas0
Nov 29, 2011, 04:50 PM
I clicked something in xCode while writing some code and it popped up an error:

Internal Error
Xcode encountered an internal logic error. Choose "Continue" to continue running Xcode in an inconsistent state. Choose "Crash" to halt Xcode and file a bug with Crash Reporter. Choosing "Crash" will result in the loss of all unsaved data.

Details:

ASSERTION FAILURE in /SourceCache/IDELogNavigator/IDELogNavigator-820/IDELogNavigator.m:582
Details: (self.rootNavigableItem) should not be nil.
Object: <IDELogNavigator: 0x401b7ee40>
Method: -revertStateWithDictionary:
Thread: <NSThread: 0x40010a260>{name = (null), num = 1}
Hints:
0: Replacement view is installing: <IDELogNavigator: 0x401b7ee40 representing: <DVTExtension 0x4004c9c20: Log Navigator (Xcode.IDEKit.Navigator.Logs) v0.1>>
Backtrace:
0 0x000000010eb7a366 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
1 0x000000010e1f41a4 _DVTAssertionFailureHandler (in DVTFoundation)
2 0x0000000112edecb1 -[IDELogNavigator revertStateWithDictionary:] (in IDELogNavigator)
3 0x000000010e1b6e5b -[DVTStateToken _pullStateFromDictionary:] (in DVTFoundation)
4 0x000000010e1b6c12 -[DVTStateToken pullStateFromRepository] (in DVTFoundation)
5 0x000000010eac533d -[IDENavigatorArea replacementView:didInstallViewController:] (in IDEKit)
6 0x000000010e3ae5f1 __42-[DVTReplacementView _setupViewController]_block_invoke_0 (in DVTKit)
7 0x000000010e1b7f4e DVTInvokeWithFailureHint (in DVTFoundation)
8 0x000000010e3ae473 -[DVTReplacementView _setupViewController] (in DVTKit)
9 0x000000010e3ae345 -[DVTReplacementView installedViewController] (in DVTKit)
10 0x000000010e3b943c -[DVTReplacementView layoutTopDown] (in DVTKit)
11 0x000000010e3a91c3 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)
12 0x000000010e3a9272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)
13 0x000000010e3a9272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)
14 0x000000010e3a9272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)
15 0x000000010e3a9272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)
16 0x000000010e3a9272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)
17 0x000000010e3a9272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)
18 0x000000010e3a9272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)
19 0x000000010e3a9272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)
20 0x000000010e3a9272 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit)
21 0x000000010e3a9037 +[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:] (in DVTKit)
22 0x000000010e3b9028 -[DVTDelayedValidator doValidation:] (in DVTKit)
23 0x00007fff88908e18 __NSFirePerformWithOrder (in Foundation)
24 0x00007fff8e929f37 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ (in CoreFoundation)
25 0x00007fff8e929e96 __CFRunLoopDoObservers (in CoreFoundation)
26 0x00007fff8e8ff159 __CFRunLoopRun (in CoreFoundation)
27 0x00007fff8e8feae6 CFRunLoopRunSpecific (in CoreFoundation)
28 0x00007fff8d5f13d3 RunCurrentEventLoopInMode (in HIToolbox)
29 0x00007fff8d5f863d ReceiveNextEventCommon (in HIToolbox)
30 0x00007fff8d5f84ca BlockUntilNextEventMatchingListInMode (in HIToolbox)
31 0x00007fff904763f1 _DPSNextEvent (in AppKit)
32 0x00007fff90475cf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
33 0x00007fff9047262d -[NSApplication run] (in AppKit)
34 0x00007fff906f180c NSApplicationMain (in AppKit)
35 0x000000010e185eec (in Xcode)


If I click continue, it pops up again. I must click continue 8 times for it to stop popping. But then if I try to open/create a file, xcode closes.
If I click crash instead of continue, it closes, and same things happen when I reopen it.
Should I try to reinstall or can I fix it another way?



Senor Cuete
Nov 29, 2011, 04:55 PM
Is this with XCode 3 or 4?

File a bug report with Apple.

I have a similar problem with similar error reports if I comment on the developer documentation.

orfeas0
Nov 29, 2011, 05:03 PM
Is this with XCode 3 or 4?

File a bug report with Apple.

I have a similar problem with similar error reports if I comment on the developer documentation.

It automatically filed a bug report to apple when I clicked crash... But will they answer shortly, if at all?
The bug report does help apple and future xCode users, but I kinda need it now, so... Reinstall I guess.

mduser63
Nov 29, 2011, 10:22 PM
It automatically filed a bug report to apple when I clicked crash... But will they answer shortly, if at all?


Sending the crash log isn't really the same as filing a bug report. File a real bug report here: http://bugreport.apple.com/

gnasher729
Nov 30, 2011, 02:40 AM
Delete all build directories.

Finder, Command-Shift-F, enter "build" to find them.