hholtmann / smcFanControl

Control the fans of every Intel Mac to make it run cooler
GNU General Public License v2.0
2.41k stars 303 forks source link

Terminating app due to uncaught exception 'NSInvalidArgumentException' #84

Open schlotterp opened 5 years ago

schlotterp commented 5 years ago

Hi, I installed it though homebrew/cask. After starting the app, I got this output.

I have a Hackintosh (Nuc7i5BNK, Mojave (10.14.2). Does anyone have a idea what the problem is and how it can be solved? Thanks in advance.

Greetings schlotterp

-- Last login: Tue Dec 18 13:56:20 on ttys000 iMac:~ administrator$ /Applications/smcFanControl.app/Contents/MacOS/smcFanControl ; exit; 2018-12-18 14:01:22.400 smcFanControl[703:10631] Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: ' -[NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[4]' *** First throw call stack: ( 0 CoreFoundation 0x00007fff517baecd exceptionPreprocess + 256 1 libobjc.A.dylib 0x00007fff7d872720 objc_exception_throw + 48 2 CoreFoundation 0x00007fff517fa4a0 -[CFPrefsConfigurationFileSource initWithConfigurationPropertyList:containingPreferences:] + 0 3 CoreFoundation 0x00007fff516d1cd2 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 311 4 CoreFoundation 0x00007fff5170d715 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 59 5 smcFanControl 0x000000010831d657 -[MachineDefaults readFromSMC] + 1246 6 smcFanControl 0x000000010831dacb -[MachineDefaults get_machine_defaults] + 461 7 smcFanControl 0x0000000108315021 -[FanControl awakeFromNib] + 240 8 CoreFoundation 0x00007fff5176b6ff -[NSSet makeObjectsPerformSelector:] + 236 9 AppKit 0x00007fff4ec4b7ed -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 1652 10 AppKit 0x00007fff4ec495e9 loadNib + 401 11 AppKit 0x00007fff4ec48ab1 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 696 12 AppKit 0x00007fff4ec486f6 -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 204 13 AppKit 0x00007fff4ec484b7 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 447 14 AppKit 0x00007fff4ec3c790 NSApplicationMain + 505 15 smcFanControl 0x0000000108314a64 start + 52 16 ??? 0x0000000000000001 0x0 + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException Abort trap: 6 logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed.

[Prozess beendet]

dpecile commented 5 years ago

Same here in El Capitan...