[Seaside] The rendering context XHTML document is nil on page
refresh
Damien Cassou
damien.cassou at gmail.com
Sun Aug 2 11:20:43 UTC 2009
Hi,
sometimes, when I hit the refresh button of my web browser, I get the
following stack trace from Seaside. It seems the WARenderingContext
has a document which is nil. I'm using
pharo1.0beta-10401web09.07.5.image which contains Seaside
2.8a1-pmm.593.
Can somebody help me please?
Thank you
2 August 2009 1:09:39 pm
VM: Win32 - IX86 - NT - Squeak3.10.2 of '5 June 2008' [latest update: #7179]
Image: Pharo1.0beta [Latest update: #10401]
SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir E:\Squeak VM 3.11.3 pharo 9.7.5
Trusted Dir E:\Squeak VM 3.11.3 pharo 9.7.5\Parents2
Untrusted Dir C:\Documents and Settings\Parents2\Mes documents\My Squeak
UndefinedObject(Object)>>doesNotUnderstand: #openTag:attributes:closed:
Receiver: nil
Arguments and temporary variables:
aMessage: openTag: 'div' attributes: a WAHtmlAttributes closed: false
exception: MessageNotUnderstood: receiver of
"openTag:attributes:closed:" is ni...etc...
resumeValue: nil
Receiver's instance variables:
nil
WADivTag(WATagBrush)>>openTag
Receiver: a WADivTag
Arguments and temporary variables:
Receiver's instance variables:
canvas: a WARenderCanvas
parent: nil
closed: false
attributes: a WAHtmlAttributes
WADivTag(WATagBrush)>>with:
Receiver: a WADivTag
Arguments and temporary variables:
anObject: [closure] in GdoHeader>>renderContentOn:
Receiver's instance variables:
canvas: a WARenderCanvas
parent: nil
closed: false
attributes: a WAHtmlAttributes
GdoHeader>>renderContentOn:
Receiver: a GdoHeader
Arguments and temporary variables:
html: a WARenderCanvas
Receiver's instance variables:
decoration: a WAValueHolder contents: a GdoHeader
titre: 'Gestion des opérations'
search: a GdoHeaderRecherches
chainesARechercher: nil
identif: nil
gdoMain: a GdoMain
GdoHeader(WAPresenter)>>renderWithContext:
Receiver: a GdoHeader
Arguments and temporary variables:
aRenderingContext: a WARenderingContext
html: a WARenderCanvas
callbacks: a WACallbackRegistry
Receiver's instance variables:
decoration: a WAValueHolder contents: a GdoHeader
titre: 'Gestion des opérations'
search: a GdoHeaderRecherches
chainesARechercher: nil
identif: nil
gdoMain: a GdoMain
[] in GdoHeader(WAComponent)>>renderOn:
Receiver: a GdoHeader
Arguments and temporary variables:
aRenderer: a GdoHeader
each: a WARenderCanvas
Receiver's instance variables:
decoration: a WAValueHolder contents: a GdoHeader
titre: 'Gestion des opérations'
search: a GdoHeaderRecherches
chainesARechercher: nil
identif: nil
gdoMain: a GdoMain
GdoHeader(WAComponent)>>decorationChainDo:
Receiver: a GdoHeader
Arguments and temporary variables:
aBlock: [closure] in GdoHeader(WAComponent)>>renderOn:
Receiver's instance variables:
decoration: a WAValueHolder contents: a GdoHeader
titre: 'Gestion des opérations'
search: a GdoHeaderRecherches
chainesARechercher: nil
identif: nil
gdoMain: a GdoMain
GdoHeader(WAComponent)>>renderOn:
Receiver: a GdoHeader
Arguments and temporary variables:
aRenderer: a WARenderCanvas
Receiver's instance variables:
decoration: a WAValueHolder contents: a GdoHeader
titre: 'Gestion des opérations'
search: a GdoHeaderRecherches
chainesARechercher: nil
identif: nil
gdoMain: a GdoMain
WARenderCanvas(WACanvas)>>render:
Receiver: a WARenderCanvas
Arguments and temporary variables:
anObject: a GdoHeader
Receiver's instance variables:
currentBrush: nil
parentBrush: nil
context: a WARenderingContext
callbacks: a WACallbackRegistry
[] in GdoMain>>renderContentOn:
Receiver: a GdoMain
Arguments and temporary variables:
html: a WARenderCanvas
Receiver's instance variables:
decoration: a WAValueHolder contents: a GdoMain
gdo: a Gdo
chainesEnCours: nil
collectOperations: nil
mesPreferences: a Dictionary('gdoActionDefaut'->'Initialisation'
'gdoClassement...etc...
equipe: an Equipe
collectOpRecherchees: nil
msgStatus: nil
dicoForms: a Dictionary(#bandeau->a GdoHeader #barreOutils->a
GdoHeaderToolsBar...etc...
dicoBools: a Dictionary(#boolIdent->false #chainesARechercher->nil
#selAffectat...etc...
dicoIdent: a Dictionary(#chaineIdent->nil #identifiant->'Cassou'
#initiales->'J...etc...
BlockClosure>>renderOn:
Receiver: [closure] in GdoMain>>renderContentOn:
Arguments and temporary variables:
aRenderer: a WARenderCanvas
Receiver's instance variables:
outerContext: GdoMain>>renderContentOn:
startpc: 111
numArgs: 0
[] in WAFormTag(WATagBrush)>>with:
Receiver: a WAFormTag
Arguments and temporary variables:
anObject: [closure] in GdoMain>>renderContentOn:
Receiver's instance variables:
canvas: a WARenderCanvas
parent: nil
closed: true
attributes: a WAHtmlAttributes
defaultAction: nil
BlockClosure>>renderOn:
Receiver: [closure] in WAFormTag(WATagBrush)>>with:
Arguments and temporary variables:
aRenderer: a WARenderCanvas
Receiver's instance variables:
outerContext: WAFormTag(WATagBrush)>>with:
startpc: 46
numArgs: 0
WARenderCanvas(WACanvas)>>nest:
Receiver: a WARenderCanvas
Arguments and temporary variables:
aBlock: [closure] in WAFormTag(WATagBrush)>>with:
Receiver's instance variables:
currentBrush: nil
parentBrush: nil
context: a WARenderingContext
callbacks: a WACallbackRegistry
WAFormTag(WABrush)>>with:
Receiver: a WAFormTag
Arguments and temporary variables:
aBlock: [closure] in WAFormTag(WATagBrush)>>with:
Receiver's instance variables:
canvas: a WARenderCanvas
parent: nil
closed: true
attributes: a WAHtmlAttributes
defaultAction: nil
WAFormTag(WATagBrush)>>with:
Receiver: a WAFormTag
Arguments and temporary variables:
anObject: [closure] in GdoMain>>renderContentOn:
Receiver's instance variables:
canvas: a WARenderCanvas
parent: nil
closed: true
attributes: a WAHtmlAttributes
defaultAction: nil
WARenderCanvas(WAHtmlCanvas)>>form:
Receiver: a WARenderCanvas
Arguments and temporary variables:
aBlock: [closure] in GdoMain>>renderContentOn:
Receiver's instance variables:
currentBrush: nil
parentBrush: nil
context: a WARenderingContext
callbacks: a WACallbackRegistry
GdoMain>>renderContentOn:
Receiver: a GdoMain
Arguments and temporary variables:
html: a WARenderCanvas
Receiver's instance variables:
decoration: a WAValueHolder contents: a GdoMain
gdo: a Gdo
chainesEnCours: nil
collectOperations: nil
mesPreferences: a Dictionary('gdoActionDefaut'->'Initialisation'
'gdoClassement...etc...
equipe: an Equipe
collectOpRecherchees: nil
msgStatus: nil
dicoForms: a Dictionary(#bandeau->a GdoHeader #barreOutils->a
GdoHeaderToolsBar...etc...
dicoBools: a Dictionary(#boolIdent->false #chainesARechercher->nil
#selAffectat...etc...
dicoIdent: a Dictionary(#chaineIdent->nil #identifiant->'Cassou'
#initiales->'J...etc...
GdoMain(WAPresenter)>>renderWithContext:
Receiver: a GdoMain
Arguments and temporary variables:
aRenderingContext: a WARenderingContext
html: a WARenderCanvas
callbacks: a WACallbackRegistry
Receiver's instance variables:
decoration: a WAValueHolder contents: a GdoMain
gdo: a Gdo
chainesEnCours: nil
collectOperations: nil
mesPreferences: a Dictionary('gdoActionDefaut'->'Initialisation'
'gdoClassement...etc...
equipe: an Equipe
collectOpRecherchees: nil
msgStatus: nil
dicoForms: a Dictionary(#bandeau->a GdoHeader #barreOutils->a
GdoHeaderToolsBar...etc...
dicoBools: a Dictionary(#boolIdent->false #chainesARechercher->nil
#selAffectat...etc...
dicoIdent: a Dictionary(#chaineIdent->nil #identifiant->'Cassou'
#initiales->'J...etc...
[] in GdoMain(WAComponent)>>renderOn:
Receiver: a GdoMain
Arguments and temporary variables:
aRenderer: a GdoMain
each: a WARenderCanvas
Receiver's instance variables:
decoration: a WAValueHolder contents: a GdoMain
gdo: a Gdo
chainesEnCours: nil
collectOperations: nil
mesPreferences: a Dictionary('gdoActionDefaut'->'Initialisation'
'gdoClassement...etc...
equipe: an Equipe
collectOpRecherchees: nil
msgStatus: nil
dicoForms: a Dictionary(#bandeau->a GdoHeader #barreOutils->a
GdoHeaderToolsBar...etc...
dicoBools: a Dictionary(#boolIdent->false #chainesARechercher->nil
#selAffectat...etc...
dicoIdent: a Dictionary(#chaineIdent->nil #identifiant->'Cassou'
#initiales->'J...etc...
GdoMain(WAComponent)>>decorationChainDo:
Receiver: a GdoMain
Arguments and temporary variables:
aBlock: [closure] in GdoMain(WAComponent)>>renderOn:
Receiver's instance variables:
decoration: a WAValueHolder contents: a GdoMain
gdo: a Gdo
chainesEnCours: nil
collectOperations: nil
mesPreferences: a Dictionary('gdoActionDefaut'->'Initialisation'
'gdoClassement...etc...
equipe: an Equipe
collectOpRecherchees: nil
msgStatus: nil
dicoForms: a Dictionary(#bandeau->a GdoHeader #barreOutils->a
GdoHeaderToolsBar...etc...
dicoBools: a Dictionary(#boolIdent->false #chainesARechercher->nil
#selAffectat...etc...
dicoIdent: a Dictionary(#chaineIdent->nil #identifiant->'Cassou'
#initiales->'J...etc...
GdoMain(WAComponent)>>renderOn:
Receiver: a GdoMain
Arguments and temporary variables:
aRenderer: a WARenderCanvas
Receiver's instance variables:
decoration: a WAValueHolder contents: a GdoMain
gdo: a Gdo
chainesEnCours: nil
collectOperations: nil
mesPreferences: a Dictionary('gdoActionDefaut'->'Initialisation'
'gdoClassement...etc...
equipe: an Equipe
collectOpRecherchees: nil
msgStatus: nil
dicoForms: a Dictionary(#bandeau->a GdoHeader #barreOutils->a
GdoHeaderToolsBar...etc...
dicoBools: a Dictionary(#boolIdent->false #chainesARechercher->nil
#selAffectat...etc...
dicoIdent: a Dictionary(#chaineIdent->nil #identifiant->'Cassou'
#initiales->'J...etc...
WARenderCanvas(WACanvas)>>render:
Receiver: a WARenderCanvas
Arguments and temporary variables:
anObject: a GdoMain
Receiver's instance variables:
currentBrush: nil
parentBrush: nil
context: a WARenderingContext
callbacks: a WACallbackRegistry
[] in [] in WAToolFrame>>renderChildOn:
Receiver: a WAToolFrame
Arguments and temporary variables:
html: a WARenderCanvas
Receiver's instance variables:
decoration: a WAValueHolder contents: a WAToolFrame
root: a GdoMain
plugins: a SortedCollection(a WANewSessionToolPlugin a
WAConfigureToolPlugin a ...etc...
showHalos: a WAValueHolder contents: false
processTime: nil
renderTime: 344
deprecated: a Set()
BlockClosure>>on:do:
Receiver: [closure] in [] in WAToolFrame>>renderChildOn:
Arguments and temporary variables:
exception: WADeprecatedApi
handlerAction: [closure] in WAToolFrame>>withDeprecatedHandlerDo:
handlerActive: true
Receiver's instance variables:
outerContext: [] in WAToolFrame>>renderChildOn:
startpc: 86
numArgs: 0
WAToolFrame>>withDeprecatedHandlerDo:
Receiver: a WAToolFrame
Arguments and temporary variables:
aBlock: [closure] in [] in WAToolFrame>>renderChildOn:
Receiver's instance variables:
decoration: a WAValueHolder contents: a WAToolFrame
root: a GdoMain
plugins: a SortedCollection(a WANewSessionToolPlugin a
WAConfigureToolPlugin a ...etc...
showHalos: a WAValueHolder contents: false
processTime: nil
renderTime: 344
deprecated: a Set()
[] in WAToolFrame>>renderChildOn:
Receiver: a WAToolFrame
Arguments and temporary variables:
html: a WARenderCanvas
Receiver's instance variables:
decoration: a WAValueHolder contents: a WAToolFrame
root: a GdoMain
plugins: a SortedCollection(a WANewSessionToolPlugin a
WAConfigureToolPlugin a ...etc...
showHalos: a WAValueHolder contents: false
processTime: nil
renderTime: 344
deprecated: a Set()
Time class>>millisecondsToRun:
Receiver: Time
Arguments and temporary variables:
timedBlock: [closure] in WAToolFrame>>renderChildOn:
initialMilliseconds: 17986803
Receiver's instance variables:
superclass: Magnitude
methodDict: a MethodDictionary(#<->a CompiledMethod (2992) #=->a
CompiledMethod...etc...
format: 134
instanceVariables: #('seconds' 'nanos')
organization: ('ansi protocol' < = duration hash hour hour12 hour24
meridianAbb...etc...
subclasses: nil
name: #Time
classPool: nil
sharedPools: an OrderedCollection(ChronologyConstants)
environment: Smalltalk
category: #'Kernel-Chronology'
traitComposition: nil
localSelectors: nil
WAToolFrame>>renderChildOn:
Receiver: a WAToolFrame
Arguments and temporary variables:
html: a WARenderCanvas
Receiver's instance variables:
decoration: a WAValueHolder contents: a WAToolFrame
root: a GdoMain
plugins: a SortedCollection(a WANewSessionToolPlugin a
WAConfigureToolPlugin a ...etc...
showHalos: a WAValueHolder contents: false
processTime: nil
renderTime: 344
deprecated: a Set()
WAToolFrame>>renderContentOn:
Receiver: a WAToolFrame
Arguments and temporary variables:
html: a WARenderCanvas
Receiver's instance variables:
decoration: a WAValueHolder contents: a WAToolFrame
root: a GdoMain
plugins: a SortedCollection(a WANewSessionToolPlugin a
WAConfigureToolPlugin a ...etc...
showHalos: a WAValueHolder contents: false
processTime: nil
renderTime: 344
deprecated: a Set()
WAToolFrame(WAPresenter)>>renderWithContext:
Receiver: a WAToolFrame
Arguments and temporary variables:
aRenderingContext: a WARenderingContext
html: a WARenderCanvas
callbacks: a WACallbackRegistry
Receiver's instance variables:
decoration: a WAValueHolder contents: a WAToolFrame
root: a GdoMain
plugins: a SortedCollection(a WANewSessionToolPlugin a
WAConfigureToolPlugin a ...etc...
showHalos: a WAValueHolder contents: false
processTime: nil
renderTime: 344
deprecated: a Set()
[] in WARenderContinuation>>processRendering:
Receiver: a WARenderContinuation
Arguments and temporary variables:
<<error during printing>
Receiver's instance variables:
root: a WAToolFrame
states: a WASnapshot
context: a WARenderingContext
WAToolFrame(WAComponent)>>decorationChainDo:
Receiver: a WAToolFrame
Arguments and temporary variables:
aBlock: [closure] in WARenderContinuation>>processRendering:
Receiver's instance variables:
decoration: a WAValueHolder contents: a WAToolFrame
root: a GdoMain
plugins: a SortedCollection(a WANewSessionToolPlugin a
WAConfigureToolPlugin a ...etc...
showHalos: a WAValueHolder contents: false
processTime: nil
renderTime: 344
deprecated: a Set()
WARenderContinuation>>processRendering:
Receiver: a WARenderContinuation
Arguments and temporary variables:
aResponse: a WAResponse 200
document: a WAHtmlStreamDocument
htmlRoot: a WAHtmlRoot
Receiver's instance variables:
root: a WAToolFrame
states: a WASnapshot
context: a WARenderingContext
[] in WARenderContinuation>>render
Receiver: a WARenderContinuation
Arguments and temporary variables:
response: a WAResponse 200
Receiver's instance variables:
root: a WAToolFrame
states: a WASnapshot
context: a WARenderingContext
WARenderContinuation(WASessionContinuation)>>respond:
Receiver: a WARenderContinuation
Arguments and temporary variables:
aBlock: [closure] in WARenderContinuation>>render
response: a WAResponse 200
Receiver's instance variables:
root: a WAToolFrame
states: a WASnapshot
context: a WARenderingContext
WARenderContinuation>>render
Receiver: a WARenderContinuation
Arguments and temporary variables:
Receiver's instance variables:
root: a WAToolFrame
states: a WASnapshot
context: a WARenderingContext
[] in WARenderContinuation>>run
Receiver: a WARenderContinuation
Arguments and temporary variables:
Receiver's instance variables:
root: a WAToolFrame
states: a WASnapshot
context: a WARenderingContext
BlockClosure>>on:do:
Receiver: [closure] in WARenderContinuation>>run
Arguments and temporary variables:
exception: an ExceptionSet
handlerAction: [closure] in WARenderContinuation>>withNotificationHandler:
handlerActive: true
Receiver's instance variables:
outerContext: WARenderContinuation>>run
startpc: 26
numArgs: 0
--- The full stack ---
UndefinedObject(Object)>>doesNotUnderstand: #openTag:attributes:closed:
WADivTag(WATagBrush)>>openTag
WADivTag(WATagBrush)>>with:
GdoHeader>>renderContentOn:
GdoHeader(WAPresenter)>>renderWithContext:
[] in GdoHeader(WAComponent)>>renderOn:
GdoHeader(WAComponent)>>decorationChainDo:
GdoHeader(WAComponent)>>renderOn:
WARenderCanvas(WACanvas)>>render:
[] in GdoMain>>renderContentOn:
BlockClosure>>renderOn:
[] in WAFormTag(WATagBrush)>>with:
BlockClosure>>renderOn:
WARenderCanvas(WACanvas)>>nest:
WAFormTag(WABrush)>>with:
WAFormTag(WATagBrush)>>with:
WARenderCanvas(WAHtmlCanvas)>>form:
GdoMain>>renderContentOn:
GdoMain(WAPresenter)>>renderWithContext:
[] in GdoMain(WAComponent)>>renderOn:
GdoMain(WAComponent)>>decorationChainDo:
GdoMain(WAComponent)>>renderOn:
WARenderCanvas(WACanvas)>>render:
[] in [] in WAToolFrame>>renderChildOn:
BlockClosure>>on:do:
WAToolFrame>>withDeprecatedHandlerDo:
[] in WAToolFrame>>renderChildOn:
Time class>>millisecondsToRun:
WAToolFrame>>renderChildOn:
WAToolFrame>>renderContentOn:
WAToolFrame(WAPresenter)>>renderWithContext:
[] in WARenderContinuation>>processRendering:
WAToolFrame(WAComponent)>>decorationChainDo:
WARenderContinuation>>processRendering:
[] in WARenderContinuation>>render
WARenderContinuation(WASessionContinuation)>>respond:
WARenderContinuation>>render
[] in WARenderContinuation>>run
BlockClosure>>on:do:
- - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - -
WARenderContinuation>>withNotificationHandler:
WARenderContinuation>>run
WARenderLoop>>run
WARenderLoopMain>>start:
WASession>>start:
[] in WASession>>performRequest:
Dictionary>>at:ifAbsent:
WASession>>performRequest:
[] in [] in [] in WASession>>responseForRequest:
BlockClosure>>on:do:
[] in WASession>>withErrorHandler:
BlockClosure>>on:do:
WASession>>withErrorHandler:
[] in [] in WASession>>responseForRequest:
BlockClosure>>on:do:
WACurrentSession class(WADynamicVariable class)>>use:during:
[] in WASession>>responseForRequest:
[] in WASession>>withEscapeContinuation:
EscapeContinuation class(Continuation class)>>currentDo:
WASession>>withEscapeContinuation:
WASession>>responseForRequest:
[] in WASession>>incomingRequest:
BlockClosure>>on:do:
[] in [] in [] in WAProcessMonitor>>critical:ifError:
BlockClosure>>ensure:
[] in [] in WAProcessMonitor>>critical:ifError:
[] in BlockClosure>>newProcess
--
Damien Cassou
http://damiencassou.seasidehosting.st
"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry
More information about the seaside
mailing list