[Seaside] BUG]UndefinedObject(Object)>>doesNotUnderstand: #internalError:

Brian Brown rbb at techgame.net
Thu Aug 30 03:56:22 UTC 2007


On Aug 29, 2007, at 4:45 PM, Philippe Marschall wrote:

> 2007/8/30, Brian Brown <rbb at techgame.net>:
>> Hey folks,
>>
>> I just upgraded to Seaside2.8a1-lr.440 and now I'm getting the below
>> error when trying to access the app I'm working on. I have cleared my
>> handlers, and did the WADispatcher resetAll as it said in the commit
>> text; I can get to the configuration screens but can't render the  
>> site.
>
> It looks as if there is a configuration problem with your application.
> WADispatcher resetAll unregisters all applications hence they have to
> be reregistered. Did you reregister your application manually or with
> an #initialize on the class side?

After your questions, I re-registered it manually and everything  
works again. Something that threw me off was that it was still listed  
as an application while I was working through these things, but this  
evening after firing up the image again, it wasn't listed anymore.

thanks for your help!

-Brian



> Do you do any custom configuration
> stuff? Can you check the configuration of your application and make
> sure that an error handler is set?
>
> Cheers
> Philippe
>
>> Any ideas?
>>
>> Thanks!
>>
>> Brian
>> ---------------------------------------------------
>>
>> 29 August 2007 4:01:59 pm
>>
>> VM: Mac OS - a SmalltalkImage
>> Image: Squeak3.10alpha [latest update: #7121]
>>
>> SecurityManager state:
>> Restricted: false
>> FileAccess: true
>> SocketAccess: true
>> Working Dir /Users/brian/Squeak/Bridge
>> Trusted Dir /foobar/tooBar/forSqueak/bogus
>> Untrusted Dir /Users/brian/Library/Preferences/Squeak/Internet/My  
>> Squeak
>>
>> UndefinedObject(Object)>>doesNotUnderstand: #internalError:
>>         Receiver: nil
>>         Arguments and temporary variables:
>>                 aMessage:       internalError: MessageNotUnderstood:
>> UndefinedObject>>handleError:
>>         Receiver's instance variables:
>> nil
>>
>> [] in AWCSession(WASession)>>incomingRequest: {[:error | self
>> errorHandler internalError: error]}
>>         Arguments and temporary variables:
>>                 aRequest:       a WARequest GET /seaside/webadmin
>>                 error:  MessageNotUnderstood:  
>> UndefinedObject>>handleError:
>>
>> BlockContext>>valueWithPossibleArgs:
>>         Receiver: [] in AWCSession(WASession)>>incomingRequest:  
>> {[:error |
>> self errorHandler internalError: ...etc...
>>         Arguments and temporary variables:
>>                 anArray:        an Array(MessageNotUnderstood:
>> UndefinedObject>>handleError:)
>>         Receiver's instance variables:
>>                 sender:         BlockContext>>valueWithPossibleArgs:
>>                 pc:     109
>>                 stackp:         0
>>                 nargs:  1
>>                 startpc:        104
>>                 home:   AWCSession(WASession)>>incomingRequest:
>>
>> [] in MethodContext(ContextPart)>>handleSignal: {[(self tempAt: 2)
>> valueWithPossibleArgs: {exception}]}
>>         Arguments and temporary variables:
>>                 exception:      MessageNotUnderstood:  
>> UndefinedObject>>handleError:
>>                 val:    nil
>>
>>
>> --- The full stack ---
>> UndefinedObject(Object)>>doesNotUnderstand: #internalError:
>> [] in AWCSession(WASession)>>incomingRequest: {[:error | self
>> errorHandler internalError: error]}
>> BlockContext>>valueWithPossibleArgs:
>> [] in MethodContext(ContextPart)>>handleSignal: {[(self tempAt: 2)
>> valueWithPossibleArgs: {exception}]}
>>   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>> BlockContext>>ensure:
>> MethodContext(ContextPart)>>handleSignal:
>> MethodContext(ContextPart)>>handleSignal:
>> MethodContext(ContextPart)>>handleSignal:
>> MethodContext(ContextPart)>>handleSignal:
>> MessageNotUnderstood(Exception)>>signal
>> UndefinedObject(Object)>>doesNotUnderstand: #handleError:
>> [] in AWCSession(WASession)>>withErrorHandler: {[:e |  self
>> errorHandler handleError: e.  WAPageExpired raiseSignal]}
>> BlockContext>>valueWithPossibleArgs:
>> [] in MethodContext(ContextPart)>>handleSignal: {[(self tempAt: 2)
>> valueWithPossibleArgs: {exception}]}
>> BlockContext>>ensure:
>> MethodContext(ContextPart)>>handleSignal:
>> NonBooleanReceiver(Exception)>>signal
>> NonBooleanReceiver(Exception)>>signal:
>> UndefinedObject(Object)>>mustBeBooleanIn:
>> UndefinedObject(Object)>>mustBeBoolean
>> AWCSession(WASession)>>start:
>> [] in AWCSession(WASession)>>performRequest: {[^ self start:  
>> aRequest]}
>> Dictionary>>at:ifAbsent:
>> AWCSession(WASession)>>performRequest:
>> [] in AWCSession(WASession)>>responseForRequest: {[self
>> performRequest: aRequest]}
>> BlockContext>>on:do:
>> [] in AWCSession(WASession)>>withErrorHandler: {[aBlock   on: Error
>> do: [:e |     self errorHandler handleError: e.    WAP...]}
>> BlockContext>>on:do:
>> AWCSession(WASession)>>withErrorHandler:
>> [] in AWCSession(WASession)>>responseForRequest: {[self
>> withErrorHandler: [self performRequest: aRequest]]}
>> BlockContext>>on:do:
>> WACurrentSession class(WADynamicVariable class)>>use:during:
>> [] in AWCSession(WASession)>>responseForRequest: {[WACurrentSession
>> use: self   during: [self     withErrorHandler: [self pe...]}
>> [] in AWCSession(WASession)>>withEscapeContinuation: {[:cc |
>> escapeContinuation := cc.  aBlock value.  self
>> pageIntentionallyLeft...]}
>> EscapeContinuation class(Continuation class)>>currentDo:
>> AWCSession(WASession)>>withEscapeContinuation:
>> AWCSession(WASession)>>responseForRequest:
>> [] in AWCSession(WASession)>>incomingRequest: {[self
>> responseForRequest: aRequest]}
>> BlockContext>>on:do:
>> [] in WAProcessMonitor>>critical:ifError: {[value := aBlock on: Error
>> do: anErrorBlock]}
>> BlockContext>>ensure:
>> [] in WAProcessMonitor>>critical:ifError: {[[value := aBlock on:
>> Error do: anErrorBlock]   ensure: [semaphore signal]]}
>> [] in BlockContext>>newProcess {[self value.  Processor
>> terminateActive]}
>>
>> _______________________________________________
>> Seaside mailing list
>> Seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list