You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 25, 2019. It is now read-only.
Hello. I am having a problem and I want a fresh look on this.
I have some ActiveRecord entities in my application and both the application / specs (using cedar) targets are crashing (randomly - can happen 3 times in a row, can happen once in a week). And that crash is being traced from the calls:
The cause of the crash is [NSObject(NSKeyValueCoding) valueForKey:]
I get an EXC_BAD_INSTRUCTION, code is EXC_i386_INVOP, subcode=0x0 on line:
id aValue = [aRecord valueForKey:aField]
from the ARValidatorPresence's validateField:ofRecord:method.
It has been bugging me for complete weeks and months and I could not find a solution for it. Do any of you know what could be possibly going on?
Also, the database does not initialize if sqlite3_unicode_load() is executed. (Please note that I've also commented that out, may that be the cause?) (Please don't get harsh on me, I've just did my best to make it work.)
Also, if I remove validate_presence_of from the entities validation, everything works OK.
Also, I've made specs coverage for the iActiveRecord specs, and some of classes like ARColumn or core columns are not fully covered by specs.
I would really love to get any directions on this, please let me know if I should provide any additional info, thanks in advance!
The text was updated successfully, but these errors were encountered:
Hello. I am having a problem and I want a fresh look on this.
I have some ActiveRecord entities in my application and both the application / specs (using cedar) targets are crashing (randomly - can happen 3 times in a row, can happen once in a week). And that crash is being traced from the calls:
It happens on random fields, on random classes.
The cause of the crash is
[NSObject(NSKeyValueCoding) valueForKey:]
I get an
EXC_BAD_INSTRUCTION
, code isEXC_i386_INVOP, subcode=0x0
on line:from the
ARValidatorPresence
'svalidateField:ofRecord:
method.It has been bugging me for complete weeks and months and I could not find a solution for it. Do any of you know what could be possibly going on?
Also, the database does not initialize if
sqlite3_unicode_load()
is executed. (Please note that I've also commented that out, may that be the cause?) (Please don't get harsh on me, I've just did my best to make it work.)Also, if I remove
validate_presence_of
from the entities validation, everything works OK.Also, I've made specs coverage for the iActiveRecord specs, and some of classes like
ARColumn
or core columns are not fully covered by specs.I would really love to get any directions on this, please let me know if I should provide any additional info, thanks in advance!
The text was updated successfully, but these errors were encountered: