dustinrue / ControlPlane

ControlPlane - context-sensitive computing for OS X
http://www.controlplaneapp.com
BSD 3-Clause "New" or "Revised" License
1.76k stars 180 forks source link

ControlPlane 1.4.0 completely failing to launch #331

Closed wilfredjonathanjames closed 10 years ago

wilfredjonathanjames commented 10 years ago

ControlPlane asked to update the first time I ran it. Relaunched, and nothing happened. I've uninstalled it and now it won't even ask to update. Nothing happens. No windows or anything. Installed 1.2.3 and it's the same thing.

image

dustinrue commented 10 years ago

After updating does it just not run in your menubar? Look at Console.app to see if there are crash logs for it. Let me know what you find.

wilfredjonathanjames commented 10 years ago

This looks like it might be helpful

11/05/2014 1:49:13.830 pm ControlPlane[36370]: 1090
11/05/2014 1:49:13.923 pm ControlPlane[36370]: An uncaught exception was raised
11/05/2014 1:49:13.931 pm ControlPlane[36370]: *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil
11/05/2014 1:49:13.931 pm ControlPlane[36370]: (
    0   CoreFoundation                      0x00007fff8bf3725c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff8babfe75 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff8bdf8537 -[__NSArrayM insertObject:atIndex:] + 951
    3   CoreFoundation                      0x00007fff8beac215 __65-[__NSDictionaryI enumerateKeysAndObjectsWithOptions:usingBlock:]_block_invoke + 85
    4   CoreFoundation                      0x00007fff8beac13e -[__NSDictionaryI enumerateKeysAndObjectsWithOptions:usingBlock:] + 238
    5   ControlPlane                        0x000000010a4d7eae +[NetworkLocationAction limitedOptions] + 183
    6   ControlPlane                        0x000000010a4c49d0 -[CPController importVersion1Settings] + 44
    7   ControlPlane                        0x000000010a4c56b7 -[CPController awakeFromNib] + 378
    8   CoreFoundation                      0x00007fff8be573b9 -[NSSet makeObjectsPerformSelector:] + 201
    9   AppKit                              0x00007fff898d0c8d -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1157
    10  AppKit                              0x00007fff898c575e loadNib + 327
    11  AppKit                              0x00007fff898c4cfc +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 288
    12  AppKit                              0x00007fff898c4aec -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 197
    13  AppKit                              0x00007fff898c48db +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 357
    14  AppKit                              0x00007fff898c0727 NSApplicationMain + 448
    15  ControlPlane                        0x000000010a4ba514 start + 52
    16  ???                                 0x0000000000000001 0x0 + 1
)
11/05/2014 1:49:13.932 pm ControlPlane[36370]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff8bf3725c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff8babfe75 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff8bdf8537 -[__NSArrayM insertObject:atIndex:] + 951
    3   CoreFoundation                      0x00007fff8beac215 __65-[__NSDictionaryI enumerateKeysAndObjectsWithOptions:usingBlock:]_block_invoke + 85
    4   CoreFoundation                      0x00007fff8beac13e -[__NSDictionaryI enumerateKeysAndObjectsWithOptions:usingBlock:] + 238
    5   ControlPlane                        0x000000010a4d7eae +[NetworkLocationAction limitedOptions] + 183
    6   ControlPlane                        0x000000010a4c49d0 -[CPController importVersion1Settings] + 44
    7   ControlPlane                        0x000000010a4c56b7 -[CPController awakeFromNib] + 378
    8   CoreFoundation                      0x00007fff8be573b9 -[NSSet makeObjectsPerformSelector:] + 201
    9   AppKit                              0x00007fff898d0c8d -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1157
    10  AppKit                              0x00007fff898c575e loadNib + 327
    11  AppKit                              0x00007fff898c4cfc +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 288
    12  AppKit                              0x00007fff898c4aec -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 197
    13  AppKit                              0x00007fff898c48db +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 357
    14  AppKit                              0x00007fff898c0727 NSApplicationMain + 448
    15  ControlPlane                        0x000000010a4ba514 start + 52
    16  ???                                 0x0000000000000001 0x0 + 1
)
VladimirTechMan commented 10 years ago

Thanks, @wilfredjamesgodfrey, for the details. I have just pushed a fix to the CP 1.5.x branch, to prevent such crashes in the future. The fix will become a part of the next public or developer release of CP 1.5, whichever comes first — @dustinrue will decide on that.

Vladimir

wilfredjonathanjames commented 10 years ago

Thanks! Looking forward to seeing this.

dustinrue commented 10 years ago

There is an updated version, download it at http://www.controlplaneapp.com/download/1.5.2