[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gorm loading problems
From: |
Riccardo Mottola |
Subject: |
Re: Gorm loading problems |
Date: |
Thu, 21 Feb 2013 14:51:41 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15.2 |
Hi,
Fred Kiefer wrote:
On 19.02.2013 23:37, Riccardo Mottola wrote:
Run your application in a debugger and place a break point on
[NSException raise] it will stop on the error and a few lines up the
stack trace you will see the offending line in the initWithCoder:
method. Most likely the type of an enumerator was changed and you need
to replace that enumerator in the coding and decoding code with
NSInteger.
All 4 exceptions have the same trace:
#0 -[NSException raise] (self=0xb9ff3ce4, _cmd=0xbb6ad448)
at NSException.m:955
#1 0xbb3d89b7 in +[NSException raise:format:arguments:] (self=0xbb6ad260,
_cmd=0xbb6ad430, name=0xbb6ad578, format=0xbb6e62f8,
argList=0xbfbfcca0
"aÙ`»jÙ`»æu1»\204<ÿ¹`=h»\004_&»`=h»,çg»ïi1»¤<ÿ¹øÿÿÿÌ>\032»`Òj»I") at
NSException.m:849
#2 0xbb3d95fc in +[NSException raise:format:] (self=0xbb6ad260,
_cmd=0xbb6e5fe0, name=0xbb6ad578, format=0xbb6e62f8) at
NSException.m:835
#3 0xbb4a6f3b in typeCheck (t2=<optimized out>, t1=<optimized out>)
at NSUnarchiver.m:248
#4 -[NSUnarchiver decodeValueOfObjCType:at:] (self=0xb9f71e24,
_cmd=0xbbb0f430, type=0xbba1baa4 "I", address=0xb9fb0d88)
at NSUnarchiver.m:1022
#5 0xbb8d165c in -[NSParagraphStyle initWithCoder:] (self=0xb9fb0d44,
_cmd=0xbb6e60c8, aCoder=0xb9f71e24) at NSParagraphStyle.m:474
that would hint to NSParagraphStyle.m
474: [aCoder decodeValueOfObjCType: @encode(NSLineBreakMode) at:
&_lineBreakMode];
I suppose thus it is due to the change of NSLinebreakMode ? And now? It
doesn't look like an enumerator.
Riccardo
- Gorm loading problems, Riccardo Mottola, 2013/02/20
- Re: Gorm loading problems, Fred Kiefer, 2013/02/21
- Re: Gorm loading problems,
Riccardo Mottola <=
- Re: Gorm loading problems, Fred Kiefer, 2013/02/21
- Re: Gorm loading problems, Riccardo Mottola, 2013/02/21
- Re: Gorm loading problems, Ivan Vučica, 2013/02/21
- Re: Gorm loading problems, Fred Kiefer, 2013/02/21
- Re: Gorm loading problems, Riccardo Mottola, 2013/02/21