[Seaside] Re: SubscriptOutOfBounds error when adding class initializer for the sample counter application

Terrence Brannon metaperl at gmail.com
Tue Mar 31 16:14:29 UTC 2015


There is no error when `Webcount initialize` is executed in a Workspace.
Here is the stacktrace:

Array(Object)>>errorSubscriptBounds:
Array(Object)>>at:
Browser>>selectedMessageCategoryName
Browser>>compileMessage:notifying:
Browser>>contents:notifying:
PluggableTextMorph>>acceptTextInModel in Block: [ ...
BlockClosure>>ensure:
PluggableTextMorph>>acceptTextInModel
PluggableTextMorph>>acceptBasic
PluggableTextMorph>>accept
TextMorphForEditView>>acceptContents
TextMorph class>>buildTextEditorKeymapsOn: in Block: [ :morph | morph
acceptContents ]
BlockClosure>>cull:
BlockClosure>>cull:cull:
BlockClosure>>cull:cull:cull:
KMCategoryBinding>>completeMatch:buffer:
KMKeymap>>notifyCompleteMatchTo:buffer: in Block: [ :l | l completeMatch:
self buffer: aBuffer ]
Array(SequenceableCollection)>>do:
KMKeymap>>notifyCompleteMatchTo:buffer:
KMKeymap>>onMatchWith:notify:andDo:
KMCategory>>onMatchWith:notify:andDo: in Block: [ :entry | entry
onMatchWith: anEventBuffer notify...etc...
Set>>do:
KMCategory>>onMatchWith:notify:andDo:
KMCategoryBinding>>verifyMatchWith:notifying:thenDoing:
KMDispatcher>>dispatch: in Block: [ :aTarget | ...
OrderedCollection>>do:
KMDispatcher>>dispatch:
KMTarget>>dispatch:
KMDispatchChain>>dispatch: in Block: [ :targetToDispatch | ...
KMDispatchChain>>do:


On Tue, Mar 31, 2015 at 7:18 AM, Paul DeBruicker <pdebruic at gmail.com> wrote:

> Hi Terrence,
>
>
> To get a copy of the stack hit the 'Debug' button then right click on the
> stack and choose 'Copy to clipboard'.
>
>
> The stack you've shown doesn't have enough info to tell what's wrong.
>
> In a workspace when you run
>
> WebCounter initialize
>
>
> do you get the error?
>
>
> Hope this helps
>
>
> Paul
>
>
>
>
>
> Terrence Brannon wrote
> > The Seaside book has a section on automatically registering component
> > &lt;
> http://book.seaside.st/book/getting-started/pharo/first-component/auto-register&gt
> ;
> > s.
> >
> > For some reason, I cannot copy and paste the stack trace, so here is a
> > screenshot of the error
> > &lt;
> https://www.evernote.com/shard/s309/sh/6cbdcb47-a4d0-4200-8c6a-7a36d29a3703/43a46810da5740fa2dc5cfd7cb93a48a/deep/0/Pharo3.0.image.png&gt
> ;
> > .
> >
> > --
> > Terrence Brannon
> >
> > _______________________________________________
> > seaside mailing list
>
> > seaside at .squeakfoundation
>
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
>
>
>
> --
> View this message in context:
> http://forum.world.st/SubscriptOutOfBounds-error-when-adding-class-initializer-for-the-sample-counter-application-tp4816334p4816365.html
> Sent from the Seaside General mailing list archive at Nabble.com.
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



-- 
Terrence Brannon
818-359-0893 (cell)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20150331/9730037f/attachment.htm


More information about the seaside mailing list