nicoSWD / put.io-adder

macOS put.io client that acts as handler for magnet: links and .torrent files, and adds them to your put.io download queue
MIT License
195 stars 23 forks source link

NSUnknownKeyException crash on start-up #18

Closed kblum closed 3 years ago

kblum commented 8 years ago

Hi,

The application crashes on start-up every time when running under Mac OS X 10.8.5 (Mountain Lion). Exception information:

Application Specific Information:
*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<NSView 0x7fc25984f6b0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key backgroundColor.'
terminate called throwing an exception
abort() called

Application Specific Backtrace 1:
0   CoreFoundation                      0x00007fff8b8e5b06 __exceptionPreprocess + 198
1   libobjc.A.dylib                     0x00007fff8f4a53f0 objc_exception_throw + 43
2   CoreFoundation                      0x00007fff8b979f49 -[NSException raise] + 9
3   Foundation                          0x00007fff8d852145 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 408
4   Foundation                          0x00007fff8d8b592f -[NSObject(NSKeyValueCoding) setValue:forKeyPath:] + 350
5   AppKit                              0x00007fff88b497ca -[NSView setValue:forKeyPath:] + 392
6   AppKit                              0x00007fff88ae90c9 -[NSIBUserDefinedRuntimeAttributesConnector establishConnection] + 332
7   AppKit                              0x00007fff88b8e09a -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1012
8   AppKit                              0x00007fff88b6d11d loadNib + 317
9   AppKit                              0x00007fff88b6c649 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 219
10  AppKit                              0x00007fff88b6c47e -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 200
11  AppKit                              0x00007fff88b6c25e +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 360
12  AppKit                              0x00007fff88b689ff NSApplicationMain + 398
13  put.io adder                        0x000000010b5fc474 put.io adder + 5236

Both the 3.0 (550) and 3.0.1 (601) releases have the same behaviour. The 2.9 (458) release does not crash.

nicoSWD commented 8 years ago

Thank you, @kblum! :) I'll look into this. I don't have a machine with Mountain Lion, but I think I know how to fix this.

Thanks!

kblum commented 8 years ago

Thanks. Let me know if you need help with testing on Mountain Lion.