[Seaside] [BUG] WARegistry unsynchronized handlers and keys

Derek Brans brans at nerdonawire.com
Mon May 5 16:14:30 CEST 2003


Don't know how to reproduce this, but for what it's worth I thought I'd post it.  I've only seen it happen this once.

The cause seems to be that WARegistry's handlersByKey and keysByHandlers became unsynchronized somehow.



May 5, 2003 15:09

VM: Win32 - Squeak3.4 of 1 March 2003 [latest update: #5170]
Image: Squeak3.4gamma [latest update: #5168]

Dictionary(Object)>>error:
 Receiver: a Dictionary(a BKBookingSession(/seaside/booking/@0c0eb8b5-1f85-2540-bfd5-6edf37b7e65d)->a...etc...
 Arguments and temporary variables: 
  aString:  'key not found'
 Receiver's instance variables: 
  tally:  52
  array:  #(nil nil nil nil a BKBookingSession(/seaside/booking/@45185ad3-fa7e-254...etc...

Dictionary>>errorKeyNotFound
 Receiver: a Dictionary(a BKBookingSession(/seaside/booking/@0c0eb8b5-1f85-2540-bfd5-6edf37b7e65d)->a...etc...
 Arguments and temporary variables: 

 Receiver's instance variables: 
  tally:  52
  array:  #(nil nil nil nil a BKBookingSession(/seaside/booking/@45185ad3-fa7e-254...etc...

[] in Dictionary>>at:
 Arguments and temporary variables: 
  key:  a BKBookingSession(/seaside/booking/@45185ad3-fa7e-2548-a546-d2fe8ba7e86c)...etc...

Dictionary>>at:ifAbsent:
 Receiver: a Dictionary(a BKBookingSession(/seaside/booking/@0c0eb8b5-1f85-2540-bfd5-6edf37b7e65d)->a...etc...
 Arguments and temporary variables: 
  key:  a BKBookingSession(/seaside/booking/@45185ad3-fa7e-2548-a546-d2fe8ba7e86c)...etc...
  aBlock:  [] in Dictionary>>at:
  assoc:  nil
 Receiver's instance variables: 
  tally:  52
  array:  #(nil nil nil nil a BKBookingSession(/seaside/booking/@45185ad3-fa7e-254...etc...


--- The full stack ---
Dictionary(Object)>>error:
Dictionary>>errorKeyNotFound
[] in Dictionary>>at:
Dictionary>>at:ifAbsent:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Dictionary>>at:
[] in WARegistry>>collectExpiredHandlers
[] in Dictionary>>do:
Dictionary(Set)>>do:
Dictionary>>do:
WARegistry>>collectExpiredHandlers
WARegistry>>registerRequestHandler:
[] in WARegistry>>urlForRequestHandler:path:
Dictionary>>at:ifAbsent:
WARegistry>>urlForRequestHandler:path:
BKBookingSession(WASession)>>actionUrlForKey:
BKBookingSession(WASession)>>actionUrlForContinuation:
[] in BKBookingSession(WASession)>>respond:
Continuation class>>currentDo:
BKBookingSession(WASession)>>respond:
BKBookingSession(WASession)>>redirect
[] in BKBookingSession(WASession)>>enterSession:
BlockContext>>on:do:
BKBookingSession(WASession)>>withErrorHandler:
[] in BKBookingSession(WASession)>>enterSession:
[] in BKBookingSession(WASession)>>withEscapeContinuation:
Continuation class>>currentDo:
BKBookingSession(WASession)>>withEscapeContinuation:
BKBookingSession(WASession)>>enterSession:
BKBookingSession(WASession)>>enterSession
WAApplication>>handleRequest:
WARegistry>>handlePathRequest:
WARegistry>>handleRequest:
WAKom>>process:
ComancheNetService>>processNetworkRequest:
HttpAdaptor(NetworkProtocolAdaptor)>>dispatchRequest:
[] in HttpAdaptor>>pvtGetResponseAndDo:
BlockContext>>on:do:
HttpAdaptor>>pvtGetResponseAndDo:
[] in HttpAdaptor>>beginConversation
BlockContext>>on:do:
HttpAdaptor>>beginConversation
HttpAdaptor class(NetworkProtocolAdaptor class)>>readAndWriteTo:target:
ComancheNetService>>serve:
[] in ComancheServer>>value:
[] in BlockContext>>newProcess

Derek Brans
Nerd on a Wire
Web design that's anything but square
http://www.nerdonawire.com 
phone: 604.874.6463
mailto: brans at nerdonawire.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lnx-12.ams-2.theinternetone.net/pipermail/seaside/attachments/20030505/4c7a938b/attachment.htm


More information about the Seaside mailing list