[Seaside] Re: [GS/SS Beta] Announcements problem
Dale Henrichs
dhenrich at vmware.com
Wed Mar 23 00:00:54 UTC 2011
Sebastian,
Could you give Announcements.g-DaleHenrichs.14 a try and let me know if
it addresses your problem?
Dale
On 03/16/2011 06:32 AM, Sebastian Van Lacke wrote:
>
> More details:
>
> I found that some components are unsubscribed within de action
> sequence block, and that seems to be the problem.
>
> In Squeak, the same code works correctly.
> Once the announcement is executed the current component is replaced
> with another, and I need to unsubscribe the previous one.
>
>
> CMSPanel>>registerAnnouncements
>
> self session announcer
> on: EditRecordItemSelected
> do: [ :each | self editRecord: each item. ].
>
> editRecord: aRecord
>
> self current: (RecordEditor for: aRecord)
>
> CMSPanel>>current: aComponent
>
> self session announcer unsubscribe: current.
> current := aComponent.
>
> If I comment the the first line, then the application stop crashing.
>
>
> Any help?
>
> Thanks!
>
> Sebastian
>
>
>
> On Sat, Mar 12, 2011 at 9:00 AM,
> <seaside-request at lists.squeakfoundation.org
> <mailto:seaside-request at lists.squeakfoundation.org>> wrote:
>
> Send seaside mailing list submissions to
> seaside at lists.squeakfoundation.org
> <mailto:seaside at lists.squeakfoundation.org>
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> or, via email, send a message with subject or body 'help' to
> seaside-request at lists.squeakfoundation.org
> <mailto:seaside-request at lists.squeakfoundation.org>
>
> You can reach the person managing the list at
> seaside-owner at lists.squeakfoundation.org
> <mailto:seaside-owner at lists.squeakfoundation.org>
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of seaside digest..."
>
>
> Today's Topics:
>
> 1. Announcements problem (Sebastian Van Lacke)
> 2. RE: Announcements problem (Robert Sirois)
> 3. Re: [GS/SS Beta] Announcements problem (Dale Henrichs)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 11 Mar 2011 11:35:18 -0300
> From: Sebastian Van Lacke <svanlacke at caesarsystems.com
> <mailto:svanlacke at caesarsystems.com>>
> Subject: [Seaside] Announcements problem
> To: beta at seaside.gemstone.com
> <mailto:beta at seaside.gemstone.com>,
> seaside at lists.squeakfoundation.org
> <mailto:seaside at lists.squeakfoundation.org>
> Message-ID:
> <AANLkTikVd6PzjgNxCTHDPUYyWj3PkAfu48ikJoF4_7cd at mail.gmail.com
> <mailto:AANLkTikVd6PzjgNxCTHDPUYyWj3PkAfu48ikJoF4_7cd at mail.gmail.com>>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi, I am having problems using Announcements framework
> (Announcements.g-DaleHenrichs.13).
> I get this error:
>
> InterpreterError 2003: An indexable object or NSC
> <anIdentityCollisionBucket> was referenced with an index <3>
> that was out of
> range.
>
> The problem occurs when I do:
> self session announcer announce: (EditRecordItemSelected new
> item: item),
> it crashes on IdentityDictionary>>keysAndValuesDo:
>
> and I am registering the announcements on this way:
>
> registerAnnouncements
>
> self session announcer
> on: EditRecordItemSelected
> do: [ :each | self editRecord: each item ].
>
> The weird thing is that if I request the page on a second time,
> before the
> error, it works.
>
> Any idea?
>
> Sebastian
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110311/45af7207/attachment.html
>
> ------------------------------
>
> Message: 2
> Date: Fri, 11 Mar 2011 09:02:10 -0700
> From: Robert Sirois <watchlala at hotmail.com
> <mailto:watchlala at hotmail.com>>
> Subject: RE: [Seaside] Announcements problem
> To: <seaside at lists.squeakfoundation.org
> <mailto:seaside at lists.squeakfoundation.org>>
> Message-ID: <BAY158-W2030A81AA3CC0466E8802EA6CB0 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> Could be the block is out of scope or something? Is that an
> error on IdentityDictionary? I'm no expert on this.
>
> RS
>
>
>
> Date: Fri, 11 Mar 2011 11:35:18 -0300
> From: svanlacke at caesarsystems.com
> <mailto:svanlacke at caesarsystems.com>
> To: beta at seaside.gemstone.com
> <mailto:beta at seaside.gemstone.com>;
> seaside at lists.squeakfoundation.org
> <mailto:seaside at lists.squeakfoundation.org>
> Subject: [Seaside] Announcements problem
>
> Hi, I am having problems using Announcements framework
> (Announcements.g-DaleHenrichs.13).
> I get this error:
>
> InterpreterError 2003: An indexable object or NSC
> <anIdentityCollisionBucket> was referenced with an index <3>
> that was out of range.
>
> The problem occurs when I do:
> self session announcer announce: (EditRecordItemSelected new
> item: item),
> it crashes on IdentityDictionary>>keysAndValuesDo:
>
> and I am registering the announcements on this way:
>
> registerAnnouncements
>
> self session announcer
> on: EditRecordItemSelected
> do: [ :each | self editRecord: each item ].
>
> The weird thing is that if I request the page on a second time,
> before the error, it works.
>
> Any idea?
>
> Sebastian
>
> _______________________________________________ seaside mailing
> list seaside at lists.squeakfoundation.org
> <mailto:seaside at lists.squeakfoundation.org>
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110311/9f3953a7/attachment-0001.htm
>
> ------------------------------
>
> Message: 3
> Date: Fri, 11 Mar 2011 08:51:29 -0800
> From: Dale Henrichs <dhenrich at vmware.com
> <mailto:dhenrich at vmware.com>>
> Subject: [Seaside] Re: [GS/SS Beta] Announcements problem
> To: GemStone Seaside beta discussion <beta at seaside.gemstone.com
> <mailto:beta at seaside.gemstone.com>>
> Cc: "seaside at lists.squeakfoundation.org
> <mailto:seaside at lists.squeakfoundation.org>"
> <seaside at lists.squeakfoundation.org
> <mailto:seaside at lists.squeakfoundation.org>>
> Message-ID: <998F8642-1094-4B68-BBDE-F784F2C7F5E8 at vmware.com
> <mailto:998F8642-1094-4B68-BBDE-F784F2C7F5E8 at vmware.com>>
> Content-Type: text/plain; charset="us-ascii"
>
> Sebastian I would like to see a stack with a little more context.
>
> The error indicates that a collision bucket is corrupt, or....?
> It would be interesting to know which dictionary is involved and
> what key is being use in the lookup ...
>
> Without further info I'd be suspicious of a commit or abort
> happening in another thread or another session committing before
> an update to the dictionary was complete (again involving
> multiple threads or commit on almost out of memory).
>
> But just guessing at this point...
>
> Dale
>
> On Mar 11, 2011, at 6:35 AM, Sebastian Van Lacke wrote:
>
> > Hi, I am having problems using Announcements framework
> (Announcements.g-DaleHenrichs.13).
> > I get this error:
> >
> > InterpreterError 2003: An indexable object or NSC
> <anIdentityCollisionBucket> was referenced with an index <3>
> that was out of range.
> >
> > The problem occurs when I do:
> > self session announcer announce: (EditRecordItemSelected new
> item: item),
> > it crashes on IdentityDictionary>>keysAndValuesDo:
> >
> > and I am registering the announcements on this way:
> >
> > registerAnnouncements
> >
> > self session announcer
> > on: EditRecordItemSelected
> > do: [ :each | self editRecord: each item ].
> >
> > The weird thing is that if I request the page on a second
> time, before the error, it works.
> >
> > Any idea?
> >
> > Sebastian
>
>
>
> ------------------------------
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> <mailto:seaside at lists.squeakfoundation.org>
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
> End of seaside Digest, Vol 99, Issue 22
> ***************************************
>
>
>
More information about the seaside
mailing list