[Seaside] Internal Error

Philippe Marschall philippe.marschall at gmail.com
Tue Apr 17 06:47:54 UTC 2007


Hi

At first I would say:
- You have an error including a proxy object (proxies suck for debugging)
- Seaside tries to render the error stack
- Seaside falls on the face because of the proxy

But, the error is in #tempAt: (probably the argument is too big) which
is strange because that should only involve contexts.

What Seaside version do you use?
Can you post WAWalkback>>renderStackFrame:on:?

Cheers
Philippe

2007/4/16, Hilaire Fernandes <hilaire at ofset.org>:
> I have this error that show up in the browser, when I am rendering this
> code:
>
> It may look like an overflow (there are two PNG image) but I am not sure.
>
>
> ---
>         (html paragraph)
>                 attributeAt: 'color'
>                 put: (moment isSuccess ifTrue: ['#c0ffc0'] ifFalse: ['#ff5050']);
>                 with:
>                         [html heading: self description level: 2.
>                         html text: 'Pas d''étayage : ' , self steps asString.
>                         html heading: 'Capture écran' level: 3.
>                         html
>                                 text: 'Exercice de départ';
>                                 break.
>                         (html image)
>                                 document: moment pictureInitial;
>                                 altText: 'Capture de l''exercice';
>                                 fileName: 'sshot.png';
>                                 mimeType: 'image/png'.
>                         html break.
>                         html
>                                 text: 'Exercice réalisé';
>                                 break.
>                         (html image)
>                                 document: moment pictureFinal;
>                                 altText: 'Capture de l''exercice';
>                                 fileName: 'sshot.png';
>                                 mimeType: 'image/png'.
>
>
> ---
>
>
> Internal Error
> Error: subscript is out of bounds: 2
>
> MethodContext(Object)>>errorSubscriptBounds:
> MethodContext(Object)>>at:
> MethodContext>>tempAt:
> [] in WAWalkback>>renderStackFrame:on: {[:name :index | self
> renderObject: (aContext tempAt: index) labelled: na...]}
> OrderedCollection(SequenceableCollection)>>withIndexDo:
> [] in WAWalkback>>renderStackFrame:on: {[receiver := aContext receiver.
> self renderObject: receiver labelled: '...]}
> BlockContext>>renderOn:
> WATableTag(WATagBrush)>>within:
> [] in WATableTag(WATagBrush)>>with: {[self within: aBlock]}
> BlockContext>>renderOn:
> WARenderCanvas(WACanvas)>>nest:
> WATableTag(WABrush)>>with:
> WATableTag(WATagBrush)>>with:
> WARenderCanvas(WAHtmlCanvas)>>table:
> [] in WAWalkback>>renderStackFrame:on: {[html table: [receiver :=
> aContext receiver. self renderObject: rec...]}
> BlockContext>>renderOn:
> WAGenericTag(WATagBrush)>>within:
> [] in WAGenericTag(WATagBrush)>>with: {[self within: aBlock]}
> BlockContext>>renderOn:
> WARenderCanvas(WACanvas)>>nest:
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the Seaside mailing list