Skip to content

Application crash on NSManagedObject model.export() take 2 #590

Open
@ghost

Description

I'm running into the same issue as was reported in August of last year.

When I export the model, the application crashes.
error is ;
Thread 1: EXC_BAD_ACCESS (code=2, address= 0x16bc8bf90)

(NSString *)remotePrefixUsingInflectionType:(SyncPropertyMapperInflectionType)inflectionType {
switch (inflectionType) {
case SyncPropertyMapperInflectionTypeSnakeCase:
return [NSString stringWithFormat:@"%@", [self.entity.name hyp_snakeCase]];
break;
case SyncPropertyMapperInflectionTypeCamelCase:
return [self.entity.name hyp_camelCase];
break;
}
}
it dies in the line return [NSString stringWithFormat:@"%@
", [self.entity.name hyp_snakeCase]];

from what I can see the code is caught in an infinite loop. see attached thread crawl.

bus error thread trace.txt

I've tried changing around my data model in various ways, to no avail. any clue as to what I can try next?

Richard Hood
[email protected]

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions