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,
<[hidden email]> wrote:
Send seaside mailing list submissions to
[hidden email]
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
[hidden email]
You can reach the person managing the list at
[hidden email]
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 <[hidden email]>
Subject: [Seaside] Announcements problem
To: [hidden email], [hidden email]
Message-ID:
<[hidden email]>
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 <[hidden email]>
Subject: RE: [Seaside] Announcements problem
To: <[hidden email]>
Message-ID: <[hidden email]>
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: [hidden email]
To: [hidden email]; [hidden email]
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 [hidden email] 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 <[hidden email]>
Subject: [Seaside] Re: [GS/SS Beta] Announcements problem
To: GemStone Seaside beta discussion <[hidden email]>
Cc: "[hidden email]"
<[hidden email]>
Message-ID: <[hidden email]>
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
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
End of seaside Digest, Vol 99, Issue 22
***************************************
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside