IMKInputSession Error


Occasionally the standalone electron build logs the following to the Terminal. The app does not crash and keeps working fine.

2016-11-24 00:16:52.915 Electron[29163:592630] IMKInputSession presentFunctionRowItemTextInputViewWithEndpoint:completionHandler: : *NO* NSRemoteViewController to client, NSError=Error Domain=NSCocoaErrorDomain Code=4099 "The connection from pid 0 was invalidated from this process." UserInfo={NSDebugDescription=The connection from pid 0 was invalidated from this process.},

What does this error message mean?


I don’t have an answer, but I am experiencing the same thing and wanted to chime in. I’m pretty sure I started noticing this error after upgrading to Mac OS Sierra. Are you on Sierra also?


Yes, also on Sierra. The app keeps running fine, but every once in a while this error shows up.


same here, I am using macOS Sierra ( 10.12.3 )


I forgot to say: it is happening to me only when I focus back again on the app.


Same here, when focus back to electron app - error thrown. macOS Sierra 10.12.4