Re: Distributed Objects nsproxy object problem
Re: Distributed Objects nsproxy object problem
- Subject: Re: Distributed Objects nsproxy object problem
- From: Scott Stevenson <email@hidden>
- Date: Mon, 1 Oct 2007 22:24:15 -0700
On Sep 23, 2007, at 12:14 AM, NSTask wrote:
Now my problem is whenever client receives the session info and try to
use it in their api for futher processing it always gets the error
*** -[NSInvocation length]: selector not recognized [self = 0x30afc0]
While the same command used with the same session id on the server
for the
same api works fine.
My doubt is it has got something to do wih target setting for the
session
id.
Please advise, where and what I am missing.
After lot of digging on google and list I found this
http://theocacao.com/document.page/264
which is not working for me or I do not know where to fit this.
Without reading and testing all of the code, I can tell you that the
"length" error usually means there's a method that's expecting an
NSString as input, and you're giving it something else instead. In
this case, it looks like the "something else" is an NSInvocation.
Trying setting up Xcode/gdb to break on [NSException raise]. That
should allow you to see the strack trace and figure out what series
of function calls triggered this error.
Hope that helps,
- Scott
_______________________________________________
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