<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">More details:<br><br>I found that some components are unsubscribed within de action sequence block, and that seems to be the problem.<br>
<br>In Squeak, the same code works correctly.<br>Once the announcement is executed the current component is replaced with another, and I need to unsubscribe the previous one.<br>
<br><br>CMSPanel>>registerAnnouncements<div class="im"><br>self session announcer <br> on: EditRecordItemSelected<br></div> do: [ :each | self editRecord: each item. ].<br><br>editRecord: aRecord<br><br>
self current: (RecordEditor for: aRecord)<br>
<br>CMSPanel>>current: aComponent<br><br> self session announcer unsubscribe: current.<br> current := aComponent.<br><br>If I comment the the first line, then the application stop crashing. </blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>Any help?<br>
<br>Thanks!<br><font color="#888888"><br>Sebastian</font><div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Sat, Mar 12, 2011 at 9:00 AM, <span dir="ltr"><<a href="mailto:seaside-request@lists.squeakfoundation.org" target="_blank">seaside-request@lists.squeakfoundation.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Send seaside mailing list submissions to<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:seaside-request@lists.squeakfoundation.org" target="_blank">seaside-request@lists.squeakfoundation.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:seaside-owner@lists.squeakfoundation.org" target="_blank">seaside-owner@lists.squeakfoundation.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of seaside digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Announcements problem (Sebastian Van Lacke)<br>
2. RE: Announcements problem (Robert Sirois)<br>
3. Re: [GS/SS Beta] Announcements problem (Dale Henrichs)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 11 Mar 2011 11:35:18 -0300<br>
From: Sebastian Van Lacke <<a href="mailto:svanlacke@caesarsystems.com" target="_blank">svanlacke@caesarsystems.com</a>><br>
Subject: [Seaside] Announcements problem<br>
To: <a href="mailto:beta@seaside.gemstone.com" target="_blank">beta@seaside.gemstone.com</a>, <a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
Message-ID:<br>
<<a href="mailto:AANLkTikVd6PzjgNxCTHDPUYyWj3PkAfu48ikJoF4_7cd@mail.gmail.com" target="_blank">AANLkTikVd6PzjgNxCTHDPUYyWj3PkAfu48ikJoF4_7cd@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi, I am having problems using Announcements framework<br>
(Announcements.g-DaleHenrichs.13).<br>
I get this error:<br>
<br>
InterpreterError 2003: An indexable object or NSC<br>
<anIdentityCollisionBucket> was referenced with an index <3> that was out of<br>
range.<br>
<br>
The problem occurs when I do:<br>
self session announcer announce: (EditRecordItemSelected new item: item),<br>
it crashes on IdentityDictionary>>keysAndValuesDo:<br>
<br>
and I am registering the announcements on this way:<br>
<br>
registerAnnouncements<br>
<br>
self session announcer<br>
on: EditRecordItemSelected<br>
do: [ :each | self editRecord: each item ].<br>
<br>
The weird thing is that if I request the page on a second time, before the<br>
error, it works.<br>
<br>
Any idea?<br>
<br>
Sebastian<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110311/45af7207/attachment.html" target="_blank">http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110311/45af7207/attachment.html</a><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 11 Mar 2011 09:02:10 -0700<br>
From: Robert Sirois <<a href="mailto:watchlala@hotmail.com" target="_blank">watchlala@hotmail.com</a>><br>
Subject: RE: [Seaside] Announcements problem<br>
To: <<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a>><br>
Message-ID: <BAY158-W2030A81AA3CC0466E8802EA6CB0@phx.gbl><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
<br>
Could be the block is out of scope or something? Is that an error on IdentityDictionary? I'm no expert on this.<br>
<br>
RS<br>
<br>
<br>
<br>
Date: Fri, 11 Mar 2011 11:35:18 -0300<br>
From: <a href="mailto:svanlacke@caesarsystems.com" target="_blank">svanlacke@caesarsystems.com</a><br>
To: <a href="mailto:beta@seaside.gemstone.com" target="_blank">beta@seaside.gemstone.com</a>; <a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
Subject: [Seaside] Announcements problem<br>
<br>
Hi, I am having problems using Announcements framework (Announcements.g-DaleHenrichs.13).<br>
I get this error:<br>
<br>
InterpreterError 2003: An indexable object or NSC <anIdentityCollisionBucket> was referenced with an index <3> that was out of range.<br>
<br>
The problem occurs when I do:<br>
self session announcer announce: (EditRecordItemSelected new item: item),<br>
it crashes on IdentityDictionary>>keysAndValuesDo:<br>
<br>
and I am registering the announcements on this way:<br>
<br>
registerAnnouncements<br>
<br>
self session announcer<br>
on: EditRecordItemSelected<br>
do: [ :each | self editRecord: each item ].<br>
<br>
The weird thing is that if I request the page on a second time, before the error, it works.<br>
<br>
Any idea?<br>
<br>
Sebastian<br>
<br>
_______________________________________________ seaside mailing list <a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110311/9f3953a7/attachment-0001.htm" target="_blank">http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110311/9f3953a7/attachment-0001.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Fri, 11 Mar 2011 08:51:29 -0800<br>
From: Dale Henrichs <<a href="mailto:dhenrich@vmware.com" target="_blank">dhenrich@vmware.com</a>><br>
Subject: [Seaside] Re: [GS/SS Beta] Announcements problem<br>
To: GemStone Seaside beta discussion <<a href="mailto:beta@seaside.gemstone.com" target="_blank">beta@seaside.gemstone.com</a>><br>
Cc: "<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a>"<br>
<<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a>><br>
Message-ID: <<a href="mailto:998F8642-1094-4B68-BBDE-F784F2C7F5E8@vmware.com" target="_blank">998F8642-1094-4B68-BBDE-F784F2C7F5E8@vmware.com</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Sebastian I would like to see a stack with a little more context.<br>
<br>
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 ...<br>
<br>
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).<br>
<br>
But just guessing at this point...<br>
<br>
Dale<br>
<br>
On Mar 11, 2011, at 6:35 AM, Sebastian Van Lacke wrote:<br>
<br>
> Hi, I am having problems using Announcements framework (Announcements.g-DaleHenrichs.13).<br>
> I get this error:<br>
><br>
> InterpreterError 2003: An indexable object or NSC <anIdentityCollisionBucket> was referenced with an index <3> that was out of range.<br>
><br>
> The problem occurs when I do:<br>
> self session announcer announce: (EditRecordItemSelected new item: item),<br>
> it crashes on IdentityDictionary>>keysAndValuesDo:<br>
><br>
> and I am registering the announcements on this way:<br>
><br>
> registerAnnouncements<br>
><br>
> self session announcer<br>
> on: EditRecordItemSelected<br>
> do: [ :each | self editRecord: each item ].<br>
><br>
> The weird thing is that if I request the page on a second time, before the error, it works.<br>
><br>
> Any idea?<br>
><br>
> Sebastian<br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br>
<br>
End of seaside Digest, Vol 99, Issue 22<br>
***************************************<br>
</blockquote></div><br>
</div></div></blockquote></div><br>