Distributed Objects "connection went invalid while waiting for a reply"
Distributed Objects "connection went invalid while waiting for a reply"
- Subject: Distributed Objects "connection went invalid while waiting for a reply"
- From: "Hamish Allan" <email@hidden>
- Date: Wed, 9 Jul 2008 01:11:19 +0100
I'm seeing "connection went invalid while waiting for a reply" in a DO
callback. The client passes self in a call to the server; some time
later, the server calls a method on that client (proxy), the program
hangs for a second or so, the "connection went invalid" connection
appears, but the method call is successful anyway, so it would appear
that the DO machinery is re-connecting everything okay.
According to the debugger, the message appears as a result of an
uncaught NSException from -[NSConnection sendInvocation:internal:],
called from -[NSDistantObject forwardInvocation].
Server and client are both properly retained.
There seem to be a lot of messages of late on Apple's forums about
problems with iSync (10.5.4) and even Interface Builder (10.5.3,
IB3.1beta6) in which this message is reported. Is it perhaps a bug in
recent versions of the OS rather than in my code?
Hamish
P.S. This question has been asked before, but the OP didn't get an
answer (http://www.cocoabuilder.com/archive/message/cocoa/2006/12/29/176458)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden