Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can you post some more information for the author to address / fix this? OS version? Hardware?


10.7.4, MacBook Pro, 2.2 Intel Core i7

    Sep  7 10:29:14 wwd2-robert Foreman[3030]: 15.000000Sep  7 10:29:20 wwd2-robert Foreman[3030]: Exception detected while handling key input.
    Sep  7 10:29:20 wwd2-robert Foreman[3030]: -[__NSCFDictionary setObject:forKey:]: mutating method sent to immutable object
    Sep  7 10:29:20 wwd2-robert Foreman[3030]: (
        0   CoreFoundation                      0x00007fff8dd9df56 __exceptionPreprocess + 198 
        1   libobjc.A.dylib                     0x00007fff94046d5e objc_exception_throw + 43
        2   CoreFoundation                      0x00007fff8dd9dd8a +[NSException raise:format:arguments:] + 106
        3   CoreFoundation                      0x00007fff8dd9dd14 +[NSException raise:format:] + 116
        4   CoreFoundation                      0x00007fff8dd5abd0 -[__NSCFDictionary setObject:forKey:] + 96 
        5   Foreman                             0x0000000100002bf2 -[AppGroupController saveName] + 103
        6   Foreman                             0x0000000100002c5f -[AppGroupController control:textShouldEndEditing:] + 17
        7   AppKit                              0x00007fff8e83d5ff -[NSTextField textShouldEndEditing:] + 236
        8   AppKit                              0x00007fff8e89f0ca -[NSTextView(NSSharing) resignFirstResponder] + 426
        9   AppKit                              0x00007fff8e38a429 -[NSWindow makeFirstResponder:] + 429
        10  Foreman                             0x0000000100002cb2 -[AppGroupController control:textView:doCommandBySelector:] + 76
        11  AppKit                              0x00007fff8e83c7ac -[NSTextField textView:doCommandBySelector:] + 105
        12  AppKit                              0x00007fff8e86db48 -[NSTextView doCommandBySelector:] + 160
        13  AppKit                              0x00007fff8e6c6c93 -[NSKeyBindingManager(NSKeyBindingManager_MultiClients) interpretEventAsCommand:forClient:] + 1799
        14  AppKit                              0x00007fff8ea1b6ca -[NSTextInputContext handleEvent:] + 747 
        15  AppKit                              0x00007fff8e8e5298 -[NSView interpretKeyEvents:] + 248        16  AppKit                              0x00007fff8e85dec5 -[NSTextView keyDown:] + 691
        17  AppKit                              0x00007fff8e33b7ac -[NSWindow sendEvent:] + 7430
        18  AppKit                              0x00007fff8e2d4a55 -[NSApplication sendEvent:] + 5593
        19  AppKit                              0x00007fff8e26b0c6 -[NSApplication run] + 555 
        20  AppKit                              0x00007fff8e4e7244 NSApplicationMain + 867
        21  Foreman                             0x0000000100000fe0 start + 52
    )
The syslog also contains a list of all the apps that are running and the list of apps to close, the apps to close include things I didn't add to Foreman and other things like /Applications/Xcode.app/Contents/Library/LoginItems/backgroundinstruments.app which I'm not even running. When it catches an exception it seems to shutdown everything in the "to close" list.


Thank you, this is useful.


Another suggestion, don't close any apps when exceptions are raised :-)


Man, yeah, that shouldn't happen :)

I've fixed the bug and updated the download. It would occur when you created a new app group and then changed the app group name. Thanks again for your detailed feedback, it helped me fix this bug.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: