[OGo-GNUstep-Port] exception when entering a project

Sebastian Reitenbach gnustep-port@opengroupware.org
Tue, 27 Nov 2007 12:14:03 +0100


Here is a very similar exception, like the other one, it happens when you 
are in the mail editor
and click the + button to add an e-mail:

Application Server caught exception:

  session: 1000100001474BF9A9
  element: 007474bf9ec7ef35408.0.17.1.1.1.1.1
  context: <0x0x89647008[WOContext]: 008474bfa3289647008 app=ogo-webui-1.1 
sn=1000100001474BF9A9 eid=007474bf9ec7ef35408.0.17.1.1.1.1.1 
rqeid=007474bf9ec7ef35408.0.17.1.1.1.1>
  request: <WORequest[0x0x7c27f308]: method=POST 
uri=/OpenGroupware.woa/wo/1000100001474BF9A9/007474bf9ec7ef35408.0.17.1.1.1.1 
app=OpenGroupware rqKey=wo 
rqPath=1000100001474BF9A9/007474bf9ec7ef35408.0.17.1.1.1.1>

  class:   NSException
  name:    NSUnknownKeyException
  reason:  Unable to set nil value for key
  info:
    {NSTargetObjectUserInfoKey = sebastia; NSUnknownUserInfoKey = login; }

(gdb) bt
#0  -[NSException raise] (self=0x7d643848, _cmd=0x25b4aca8) at 
NSException.m:782
#1  0x05b30e28 in -[NSObject(KeyValueCoding) setValue:forUndefinedKey:] 
(self=0x87c85c08, _cmd=0x25b73510, anObject=0x83a8e9e8, aKey=0x83a8e708) at 
NSKeyValueCoding.m:415
#2  0x05bd7ddf in GSObjCSetVal (self=0x87c85c08, key=0xcfbc1560 "login", 
val=0x83a8e9e8, sel=0x0, type=0x25b73510 "+", size=5, offset=95088011) at 
GSObjCRuntime.m:1810
#3  0x05b2fc6c in SetValueForKey (self=0x87c85c08, anObject=0x83a8e9e8, 
key=0xcfbc1560 "login", size=5) at NSKeyValueCoding.m:124
#4  0x05b30b8c in -[NSObject(KeyValueCoding) setValue:forKey:] 
(self=0x87c85c08, _cmd=0x2b9d2148, anObject=0x83a8e9e8, aKey=0x81d1a0a8) at 
NSKeyValueCoding.m:363
#5  0x0ba0c095 in _setValue (self=0x7f79efe8, _value=0x83a8e9e8) at 
WOKeyPathAssociation.m:920
#6  0x0ba33aab in -[WOInput takeValuesFromRequest:inContext:] 
(self=0x8a7ef788, _cmd=0x2b9da2d0, _req=0x7c27f308, _ctx=0x89647008) at 
WOInput.m:122
#7  0x0ba28003 in -[WOCompoundElement takeValuesFromRequest:inContext:] 
(self=0x83d4ba08, _cmd=0x2b9db1e8, _rq=0x7c27f308, _ctx=0x89647008) at 
WOCompoundElement.m:150
#8  0x0ba2b21d in -[WOForm takeValuesFromRequest:inContext:] 
(self=0x7f1a1788, _cmd=0x2b9da2d0, _rq=0x7c27f308, _ctx=0x89647008) at 
WOForm.m:176
#9  0x0ba28003 in -[WOCompoundElement takeValuesFromRequest:inContext:] 
(self=0x8a927e48, _cmd=0x2b9da710, _rq=0x7c27f308, _ctx=0x89647008) at 
WOCompoundElement.m:150
#10 0x0ba2930c in -[WOConditional takeValuesFromRequest:inContext:] 
(self=0x8a927e08, _cmd=0x2b9da2d0, _rq=0x7c27f308, _ctx=0x89647008) at 
WOConditional.m:198
#11 0x0ba28003 in -[WOCompoundElement takeValuesFromRequest:inContext:] 
(self=0x832702c8, _cmd=0x2c5d7f60, _rq=0x7c27f308, _ctx=0x89647008) at 
WOCompoundElement.m:150
#12 0x0c5e7463 in -[OGoWindowFrame takeValuesFromRequest:inContext:] 
(self=0x7f1a1888, _cmd=0x2b9da2d0, _rq=0x7c27f308, _ctx=0x89647008) at 
OGoWindowFrame.m:151
#13 0x0ba28003 in -[WOCompoundElement takeValuesFromRequest:inContext:] 
(self=0x83270208, _cmd=0x2b9d9ba8, _rq=0x7c27f308, _ctx=0x89647008) at 
WOCompoundElement.m:150
#14 0x0ba267a3 in -[WOComponentContent takeValuesFromRequest:inContext:] 
(self=0x8141e1a8, _cmd=0x2b9da2d0, _request=0x7c27f308, _ctx=0x89647008) at 
WOComponentContent.m:67
#15 0x0ba28003 in -[WOCompoundElement takeValuesFromRequest:inContext:] 
(self=0x7c98a508, _cmd=0x2b9d4d78, _rq=0x7c27f308, _ctx=0x89647008) at 
WOCompoundElement.m:150
#16 0x0ba187f1 in -[WOTemplate takeValuesFromRequest:inContext:] 
(self=0x5b109e4, _cmd=0x2b9ba100, _req=0x7c27f308, _ctx=0x89647008) at 
WOTemplate.m:120
#17 0x0b9c30d9 in -[WOComponent takeValuesFromRequest:inContext:] 
(self=0x7f1a1a08, _cmd=0x2aa4e698, _req=0x7c27f308, _ctx=0x89647008) at 
WOComponent.m:877
#18 0x0aa51b35 in -[OGoComponent takeValuesFromRequest:inContext:] 
(self=0x7f1a1a08, _cmd=0x2b9c4b80, _rq=0x7c27f308, _ctx=0x89647008) at 
OGoComponent.m:116
#19 0x0b9e570b in -[WOChildComponentReference 
takeValuesFromRequest:inContext:] (self=0x83270108, _cmd=0x2b9da2d0, 
_request=0x7c27f308, _ctx=0x89647008) at WOChildComponentReference.m:110
#20 0x0ba28003 in -[WOCompoundElement takeValuesFromRequest:inContext:] 
(self=0x8a927f08, _cmd=0x2b9d4d78, _rq=0x7c27f308, _ctx=0x89647008) at 
WOCompoundElement.m:150
#21 0x0ba187f1 in -[WOTemplate takeValuesFromRequest:inContext:] 
(self=0x5b109e4, _cmd=0x2b9ba100, _req=0x7c27f308, _ctx=0x89647008) at 
WOTemplate.m:120
#22 0x0b9c30d9 in -[WOComponent takeValuesFromRequest:inContext:] 
(self=0x83d4bb08, _cmd=0x2aa4e698, _req=0x7c27f308, _ctx=0x89647008) at 
WOComponent.m:877
#23 0x0aa51b35 in -[OGoComponent takeValuesFromRequest:inContext:] 
(self=0x83d4bb08, _cmd=0x2b9bfb20, _rq=0x7c27f308, _ctx=0x89647008) at 
OGoComponent.m:116
#24 0x0b9d5ab7 in -[WOSession takeValuesFromRequest:inContext:] 
(self=0x89647008, _cmd=0x2aa52750, _request=0x7c27f308, _ctx=0x89647008) at 
WOSession.m:455
#25 0x0aa5ab66 in -[OGoSession takeValuesFromRequest:inContext:] 
(self=0x7d77ba08, _cmd=0x2b9b8820, _req=0x7c27f308, _ctx=0x89647008) at 
OGoSession.m:366
#26 0x0b9bc0f4 in -[WOApplication takeValuesFromRequest:inContext:] 
(self=0x83825908, _cmd=0x2b9c1f90, _req=0x7c27f308, _ctx=0x89647008) at 
WOApplication.m:895
#27 0x0b9dc352 in -[OWViewRequestHandler runTransactionWithContext:] 
(self=0x86b130f8, _cmd=0x2b9c20d0, _ctx=0x89647008) at 
OWViewRequestHandler.m:80
#28 0x0b9dce6f in -[OWViewRequestHandler 
handleRequest:inContext:session:application:] (self=0x86b130f8, 
_cmd=0x2b9ca858, _request=0x7c27f308, context=0x89647008, 
session=0x7d77ba08,
    app=0x83825908) at OWViewRequestHandler.m:279
#29 0x0b9f831c in -[WORequestHandler handleRequest:] (self=0x86b130f8, 
_cmd=0x2b9b94d0, _request=0x7c27f308) at WORequestHandler.m:241
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) list NSKeyValueCoding.m:415
410           o = [NSObject instanceMethodForSelector:
411             @selector(handleTakeValue:forUnboundKey:)];
412         }
413       if ([self methodForSelector: 
@selector(handleTakeValue:forUnboundKey:)] != o)
414         {
415           [self handleTakeValue: anObject forUnboundKey: aKey];
416           return;
417         }
418     NSLog(@"NSKeyValueCoding.m: setValue: %@ forUndefinedKey: %@, i am 
self: %@", anObject, aKey, [self description]);
419       dict = [NSDictionary dictionaryWithObjectsAndKeys:
(gdb) list WOKeyPathAssociation.m:920
915     #endif
916         return YES;
917       }
918       else if (info->type == WOKeyType_binding) { // 
setValue:forBinding:
919         NSCAssert(info->extra.key, @"no key object set ..");
920         [object setValue:_value forBinding:info->extra.key];
921         return YES;
922       }
923       else {
924         // TODO: use errorWithFormat?
(gdb) list NSKeyValueCoding.m:363
358
359       [aKey getCString: key
360              maxLength: size+1
361               encoding: NSUTF8StringEncoding];
362       size = strlen(key);
363       SetValueForKey(self, anObject, key, size);
364     }
365
366
367     - (void) setValue: (id)anObject forKeyPath: (NSString*)aKey


Sebastian