Re: Some crash.
Re: Some crash.
- Subject: Re: Some crash.
- From: "mm w" <email@hidden>
- Date: Sat, 2 Aug 2008 11:06:37 -0700
maybe a retain problem
On Sat, Aug 2, 2008 at 11:03 AM, Sandro Noel <email@hidden> wrote:
> Greetings,
>
> I don't quite know how to explain this.. :) so please excuse me if I'm not
> very precise.
>
> In my application controller i have an object "statement" that contains an
> array of "transactions" called transactions.
> here is the structure of transaction.
> @interface OFXTransaction : NSObject {
> NSString *transactionType;
> NSDate *datePosted;
> double transactionAmount;
> NSString *uniqueID;
> NSString *displayName;
> NSString *memo;
> }
> @property (readwrite, copy) NSString *transactionType;
> @property (readwrite, copy) NSDate *datePosted;
> @property (readwrite, assign) double transactionAmount;
> @property (readwrite, copy) NSString *uniqueID;
> @property (readwrite, copy) NSString *displayName;
> @property (readwrite, copy) NSString *memo;
>
> - (void) setStringDatePosted: (NSString *)dateString;
> @end
>
> In interface builder I've set my appController as the Datasource of the
> tableview, implemented the methods for the table to load data.
> the array controller is bound to "statement.transactions" as the keypath.
> the table view is bound to the array controller, and each column is bound to
> a field in the transaction class.
>
> everything seems to be working good, except when i have a value in the
> transactionAmount property.
>
> can anyone enlighten me as for why it breaks ? please :)
>
> I get this error.
> 2008-08-02 13:52:23.411 OFXImport[27702:10b] *** -[OFXTransaction
> copyWithZone:]: unrecognized selector sent to instance 0xf4fb80
> 2008-08-02 13:52:23.412 OFXImport[27702:10b] An uncaught exception was
> raised
> 2008-08-02 13:52:23.413 OFXImport[27702:10b] *** -[OFXTransaction
> copyWithZone:]: unrecognized selector sent to instance 0xf4fb80
> 2008-08-02 13:52:23.413 OFXImport[27702:10b] *** Terminating app due to
> uncaught exception 'NSInvalidArgumentException', reason: '***
> -[OFXTransaction copyWithZone:]: unrecognized selector sent to instance
> 0xf4fb80'
> 2008-08-02 13:52:23.414 OFXImport[27702:10b] Stack: (
> 2417631563,
> 2425491707,
> 2417660746,
> 2417654092,
> 2417654290,
> 2519207652,
> 2519290634,
> 2519290371,
> 2519978356,
> 2519977828,
> 2519975066,
> 2519603468,
> 2519598064,
> 2520189316,
> 2520183931,
> 2520184850,
> 2520184850,
> 2520184850,
> 2520184850,
> 2520178129,
> 2520176403,
> 2520162871,
> 2519379087,
> 2519377981,
> 2520146833,
> 2520145384,
> 2520350309,
> 2519174399,
> 2519133714,
> 2519132020,
> 2519131063,
> 2519130869,
> 2519130020
> )
>
>
>
> _______________________________________________
>
> 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
>
--
-mmw
_______________________________________________
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: | |
| >Some crash. (From: Sandro Noel <email@hidden>) |