AppleEvents: Send port for process has no send right
Asked Answered
P

1

16

I'm seeing this in my Mac OS X Yosemite Console:

AppleEvents: Send port for process has no send right, 
port=( port:30743/0x7817 rcv:1,send:0,d:0 limit:5)    
(findOrCreate()/AEMachUtils.cp #526) 
com.apple.NSXPCConnection.user.1963

I'm developing an XPC service that handles inter-process communication from a client Mac OS App running on the same Mac.

Obviously the error is coming from:

(findOrCreate() method of /AEMachUtils.cp #526 (Line #?)

The XPC service receives the request and calls the right methods to handle the request but each time I see the above warning. The @protocol is:

 - (oneway void)doService:(NSString *)aString withReply:(void (^)(NSString *))reply;

I never see the reply NSString comeback. Does the - (oneway void) have something to do with that? The error appears in the Console tracking stderr for theXPCservice. Is the error saying that I need to give rights to the sender process? If so how?

Thanks in advance for your consideration. Regards, AK

Perdue answered 15/5, 2015 at 21:1 Comment(2)
Do you have a firewall on? Your port could be denied.Nth
I see this issue as well all the time with DXFinderWindowServer on 10.10.5 and my OS X firewall is disabled.Burrell
P
1

Take a look at Apple's Q&A 1888.

Sending apple events requires a scripting-targets entitlement, and from the error I suspect you don't have one.

Penny answered 3/8, 2016 at 16:40 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.