• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: -[NSInvocation length]: selector not recognized [self = 0x30abd0]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -[NSInvocation length]: selector not recognized [self = 0x30abd0]


  • Subject: Re: -[NSInvocation length]: selector not recognized [self = 0x30abd0]
  • From: NSTask <email@hidden>
  • Date: Mon, 24 Sep 2007 10:16:29 +0200

Hi Jim,

On 9/24/07, Jim Correia <email@hidden> wrote:
>
> On Sep 23, 2007, at 5:26 PM, NSTask wrote:
>
> > Follow the advice of the logged message, and when you stop look at
> > the backtrace and work backwards to find the memory management bug.
> >
> > I backtraced it to see the memory management bug and fixed it. By
> > the time object
> > reaches to the client it automatically gets released.
> > So for testing I retained it again and got this
> >
> >  [NSConcreteData _fastCharacterContents]: selector not recognized
> > [self = 0x30d000]
>
> Now you've got another bug. Someone is sending a string method to a
> NSData.



Your debugging tips have been very helpful to me. I have managed to
understand the cause of problem but I do not know the solution. What I
understand is by the time passed object (_sess) using following method =>
[client performSelector:@selector(appendMessageString:) withObject:_sess];
reach to the client it looses its class and displays the object class as
<NSDistantObject: 0xa27e76e0>, while it should have been my defined
SOAPSESSION class.

Further ahead I tried retrieving values on the client side from this _sess
variable and it worked fine [_sess valueForKey:@"username"] but when I try
to use it with soapapi because its loosing its class reference, I can not
get the soap call working.


Best regards

S
_______________________________________________

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

References: 
 >-[NSInvocation length]: selector not recognized [self = 0x30abd0] (From: NSTask <email@hidden>)
 >Re: -[NSInvocation length]: selector not recognized [self = 0x30abd0] (From: Jim Correia <email@hidden>)
 >Re: -[NSInvocation length]: selector not recognized [self = 0x30abd0] (From: NSTask <email@hidden>)

  • Prev by Date: Re: Sort a NSArrayController using case-insensitive compare, possible ?
  • Next by Date: Re: Issue with RootDirectory key in launchd plist file
  • Previous by thread: Fwd: -[NSInvocation length]: selector not recognized [self = 0x30abd0]
  • Next by thread: [SOLVED] Re: -[NSInvocation length]: selector not recognized [self = 0x30abd0]
  • Index(es):
    • Date
    • Thread