Re: [[eSellerateObject alloc] init] causes SIGTRAP
Re: [[eSellerateObject alloc] init] causes SIGTRAP
- Subject: Re: [[eSellerateObject alloc] init] causes SIGTRAP
- From: Bill Cheeseman <email@hidden>
- Date: Sun, 22 May 2005 07:16:55 -0400
on 2005-05-21 1:23 PM, Graham Jones at email@hidden wrote:
> In the debugger, it tells me the bad line is in the awakeFromNib:
>
> eSeller = [[eSellerateObject alloc] init];
>
> And the errors reported in the Run Log for this line are:
>
> <NSInvalidArgumentException> *** -[NSURL initFileURLWithPath:]: nil string
> parameter
>
> Does anyone know why I would be getting this error when I try to instantiate
> this object?
Have you added the required eSellerate files to your project and made sure
they are getting copied into your application bundle? I believe three
eSellerate files must be installed in your project folder, and in your
project's Groups & Files pane their Target Membership checkbox should be
checked to ensure that they are copied into the build application bundle:
eSellerateObjc.h
libeSellerateObjc.a
eSellerateEngine_Datafork.rsrc
Come to think about it, I'm not sure the first one needs to have its Target
Membership checkbox checked, but that's the way I do it.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden