alcatraz / Alcatraz

Package manager for Xcode
alcatraz.io
MIT License
9.88k stars 1.15k forks source link

Crash after installing Alcatraz : "could not load the nibName: ATZPackageListTableCellView" #444

Open aaronbrethorst opened 8 years ago

aaronbrethorst commented 8 years ago

I had previously had Alcatraz installed with 7.2, and wiped it out and reinstalled for this upgrade.

Process:               Xcode [88515]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               7.3 (10183.3)
Build Info:            IDEFrameworks-10183003000000000~2
App Item ID:           497799835
App External ID:       816750016
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [88515]
User ID:               501

Date/Time:             2016-03-26 16:04:13.777 -0700
OS Version:            Mac OS X 10.11.4 (15E65)
Report Version:        11
Anonymous UUID:        D9134338-3A92-5646-EB7C-EBC28C70030E

Sleep/Wake UUID:       0EA65CC2-AB6F-4DA7-8AA1-232D5A9DB212

Time Awake Since Boot: 82000 seconds
Time Since Wake:       2300 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
ProductBuildVersion: 7D175
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): -[NSNib _initWithNibNamed:bundle:options:] could not load the nibName: ATZPackageListTableCellView in bundle NSBundle </Users/aaron/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin> (loaded).
UserInfo: (null)
Hints: None
Backtrace:
  0   __exceptionPreprocess (in CoreFoundation)
  1   DVTFailureHintExceptionPreprocessor (in DVTFoundation)
  2   objc_exception_throw (in libobjc.A.dylib)
  3   +[NSException raise:format:] (in CoreFoundation)
  4   -[NSNib _initWithNibNamed:bundle:options:] (in AppKit)
  5   -[ATZPackageTableViewDelegate configureTableView:] (in Alcatraz)
  6   -[ATZPluginWindowController reloadTableView] (in Alcatraz)
  7   __44-[ATZPluginWindowController reloadPackages:]_block_invoke (in Alcatraz)
  8   __51-[ATZDownloader downloadPackageListWithCompletion:]_block_invoke_2 (in Alcatraz)
  9   -[ATZDownloader URLSession:downloadTask:didFinishDownloadingToURL:] (in Alcatraz)
 10   __82-[NSURLSession delegate_downloadTask:didFinishDownloadingToURL:completionHandler:]_block_invoke (in CFNetwork)
 11   __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ (in Foundation)
 12   -[NSBlockOperation main] (in Foundation)
 13   -[__NSOperationInternal _start:] (in Foundation)
 14   __NSOQSchedule_f (in Foundation)
 15   _dispatch_client_callout (in libdispatch.dylib)
 16   _dispatch_main_queue_callback_4CF (in libdispatch.dylib)
 17   __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ (in CoreFoundation)
 18   __CFRunLoopRun (in CoreFoundation)
 19   CFRunLoopRunSpecific (in CoreFoundation)
 20   RunCurrentEventLoopInMode (in HIToolbox)
 21   ReceiveNextEventCommon (in HIToolbox)
 22   _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
 23   _DPSNextEvent (in AppKit)
 24   -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)
 25   -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
 26   -[NSApplication run] (in AppKit)
 27   NSApplicationMain (in AppKit)
 28  0x000000010ad1339b (in Xcode)
 29   start (in libdyld.dylib)
designerfuzzi commented 8 years ago

Same happens here with clean install into Xcode 7.3 1.) After restarting Xcode asks if the unexpected Bundle should be loaded..? -> OK! 2.) Xcode opens -> as expected 3.) run Package Manager out of the menu -> calc calc crash! same error code.

guillaumealgis commented 8 years ago

Same issue as #370, #327, #284, #223, #220.

A clean reinstall seems to fix the problem for most people:

rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin
curl -fsSL https://raw.githubusercontent.com/supermarin/Alcatraz/deploy/Scripts/install.sh | sh

Not quite sure why this keeps randomly happening, though.

aaronbrethorst commented 8 years ago

¯\_(ツ)_/¯

guillaumealgis commented 8 years ago

@aaronbrethorst If that's alright with you, I'd like to keep this one open so we don't forget we have to fix this. Thanks!

aaronbrethorst commented 8 years ago

sure, i'll unsubscribe from notifications.

Kirankin commented 8 years ago

Tried uninstalling alcatraz and installing again. When i try to select package manager Xcode crashes and also the clang formatter behaves weird after that.

guillaumealgis commented 8 years ago

@Kirankin is the crash the same as in the first comment ? ""could not load the nibName: ATZPackageListTableCellView"" ?

Kirankin commented 8 years ago

Yes it is!

guillaumealgis commented 8 years ago

Still happening, just had the error while running from Xcode. This rules out a possible packaging / downloading problem. Some kind of race condition when loading the main VC?