[OGo-GNUstep-Port] experiences with OGo and gunstep-base on OpenBSD

Sebastian Reitenbach gnustep-port@opengroupware.org
Mon, 28 May 2007 21:49:38 +0200


Hi,

sorry, I use the new code, and it fixes the Label problem. The exception 
looked so much the same that I did not recognized in the first place. 

#0  -[NSException raise] (self=0x7c78e8c8, _cmd=0x24de3040) at 
NSException.m:782
#1  0x04dde0b9 in -[NSObject(KeyValueCoding) setValue:forUndefinedKey:] 
(self=0x8b66fa48, _cmd=0x24e0a158, anObject=0x7c9dae48, aKey=0x7c78e6c8) at 
NSKeyValueCoding.m:351
#2  0x04e93d21 in GSObjCSetVal (self=0x8b66fa48, 
key=0xcfbc0760 "news_blocksize", val=0x7c9dae48, sel=0x0, type=0x0, size=14, 
offset=-809760928) at GSObjCRuntime.m:1811
#3  0x04ddd270 in SetValueForKey (self=0x8b66fa48, anObject=0x7c9dae48, 
key=0xcfbc0760 "news_blocksize", size=14) at NSKeyValueCoding.m:114
#4  0x04dddc71 in -[NSObject(KeyValueCoding) setValue:forKey:] 
(self=0x8b66fa48, _cmd=0x207b9fe8, anObject=0x7c9dae48, aKey=0x7d239948) at 
NSKeyValueCoding.m:288
#5  0x00800c35 in NGDecodeUrlFormParameters () 
from /usr/local/lib/libNGObjWeb.so.4.7.9
#6  0x00800e1d in NGDecodeUrlFormParameters () 
from /usr/local/lib/libNGObjWeb.so.4.7.9
#7  0x007a7f9e in WOGetKVCValueUsingMethod () 
from /usr/local/lib/libNGObjWeb.so.4.7.9
#8  0x06903317 in -[SkyTableView syncToParent] (self=0x87d6c708, 
_cmd=0x268fd938) at SkyTableView.m:674
#9  0x0690364a in -[SkyTableView appendToResponse:inContext:] 
(self=0x87d6c708, _cmd=0x207acb00, _response=0x8a89e308, _ctx=0x7f959c08) at 
SkyTableView.m:709
#10 0x007d2bab in WOApplicationMain () 
from /usr/local/lib/libNGObjWeb.so.4.7.9
#11 0x00820fb1 in NGDecodeUrlFormParameters () 
from /usr/local/lib/libNGObjWeb.so.4.7.9
#12 0x0080fbfa in NGDecodeUrlFormParameters () 
from /usr/local/lib/libNGObjWeb.so.4.7.9
#13 0x007a8ce3 in WOGetKVCValueUsingMethod () 
from /usr/local/lib/libNGObjWeb.so.4.7.9
#14 0x069e4180 in -[OGoComponent appendToResponse:inContext:] 
(self=0x8a0a6708, _cmd=0x207acb00, _r=0x8a89e308, _ctx=0x7f959c08) at 
OGoComponent.m:132
#15 0x007d2bab in WOApplicationMain () 
from /usr/local/lib/libNGObjWeb.so.4.7.9
#16 0x00820fb1 in NGDecodeUrlFormParameters () 
from /usr/local/lib/libNGObjWeb.so.4.7.9
#17 0x00821f04 in NGDecodeUrlFormParameters () 
from /usr/local/lib/libNGObjWeb.so.4.7.9
#18 0x00820fb1 in NGDecodeUrlFormParameters () 
from /usr/local/lib/libNGObjWeb.so.4.7.9

---Type <return> to continue, or q <return> to quit---Quit
(gdb) list NSKeyValueCoding.m:351
346         nil];
347     NSLog(@"dict: %@, [self class]: %@, [self] %@", dict, [self class], 
[self description]);
348       exp = [NSException exceptionWithName: NSInvalidArgumentException
349                                     reason: @"Unable to set nil value 
for key"
350                                   userInfo: dict];
351       [exp raise];
352     }
353
354
355     - (void) setValuesForKeysWithDictionary: (NSDictionary*)aDictionary

The last NSLog output is:
2007-05-28 21:27:00.115 ogo-webui-1.1[9507] dict: {NSTargetObjectUserInfoKey 
= 0; NSUnknownUserInfoKey = news_blocksize; }, [self class]: LSUserDefaults, 
[self] <LSUserDefaults: 0x8b66fa48>

kind regards
Sebastian