Announcements problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Announcements problem

Sebastia Van Lacke
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
Reply | Threaded
Open this post in threaded view
|

RE: Announcements problem

Robert Sirois
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
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [GS/SS Beta] Announcements problem

Dale Henrichs
In reply to this post by Sebastia Van Lacke
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
Reply | Threaded
Open this post in threaded view
|

Re: [GS/SS Beta] Announcements problem

Sebastia Van Lacke
In reply to this post by Sebastia Van Lacke

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
Reply | Threaded
Open this post in threaded view
|

Re: [GS/SS Beta] Announcements problem

Henrik Sperre Johansen
In implementing Announcements, special care must be taken so that subscriptions can be added/removed to the announcer during delivery without the delivery failing during subscription iteration.

It might be that is not the case on Gemstone, OutOfRange sounds like the kind of error you'd encounter if it weren't.

Cheers,
Henry


Reply | Threaded
Open this post in threaded view
|

Re: [GS/SS Beta] Announcements problem

Dale Henrichs
On 03/16/2011 04:24 PM, Henrik Sperre Johansen wrote:

> In implementing Announcements, special care must be taken so that
> subscriptions can be added/removed to the announcer during delivery without
> the delivery failing during subscription iteration.
>
> It might be that is not the case on Gemstone, OutOfRange sounds like the
> kind of error you'd encounter if it weren't.
>
> Cheers,
> Henry
>
>
>
>
> --
> View this message in context: http://forum.world.st/Announcements-problem-tp3348261p3383322.html
> Sent from the Seaside General mailing list archive at Nabble.com.
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seasid

Your conjecture is very likely ... I haven't ported/merged the most
recent squeak updates to Announcements for several years now ... might
be time to revisit and refresh ...

Dale

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [GS/SS Beta] Announcements problem

Dale Henrichs
In reply to this post by Sebastia Van Lacke
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,
>     <[hidden email]
>     <mailto:[hidden email]>> wrote:
>
>         Send seaside mailing list submissions to
>         [hidden email]
>         <mailto:[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]
>         <mailto:[hidden email]>
>
>         You can reach the person managing the list at
>         [hidden email]
>         <mailto:[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]
>         <mailto:[hidden email]>>
>         Subject: [Seaside] Announcements problem
>         To: [hidden email]
>         <mailto:[hidden email]>,
>         [hidden email]
>         <mailto:[hidden email]>
>         Message-ID:
>         <[hidden email]
>         <mailto:[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]
>         <mailto:[hidden email]>>
>         Subject: RE: [Seaside] Announcements problem
>         To: <[hidden email]
>         <mailto:[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]
>         <mailto:[hidden email]>
>         To: [hidden email]
>         <mailto:[hidden email]>;
>         [hidden email]
>         <mailto:[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]
>         <mailto:[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]
>         <mailto:[hidden email]>>
>         Subject: [Seaside] Re: [GS/SS Beta] Announcements problem
>         To: GemStone Seaside beta discussion <[hidden email]
>         <mailto:[hidden email]>>
>         Cc: "[hidden email]
>         <mailto:[hidden email]>"
>         <[hidden email]
>         <mailto:[hidden email]>>
>         Message-ID: <[hidden email]
>         <mailto:[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]
>         <mailto:[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
Reply | Threaded
Open this post in threaded view
|

Re: [GS/SS Beta] Announcements problem

Sebastia Van Lacke
Dale, I tried it and the problem has been addressed!

Thank you

Sebastian

On Tue, Mar 22, 2011 at 9:00 PM, Dale Henrichs <[hidden email]> wrote:
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,
   <[hidden email]
   <mailto:[hidden email]>> wrote:

       Send seaside mailing list submissions to
       [hidden email]
       <mailto:[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]
       <mailto:[hidden email]>


       You can reach the person managing the list at
       [hidden email]
       <mailto:[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]
       <mailto:[hidden email]>>

       Subject: [Seaside] Announcements problem
       To: [hidden email]
       <mailto:[hidden email]>,
       [hidden email]
       <mailto:[hidden email]>

       Message-ID:
       <[hidden email]
       <mailto:[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]
       <mailto:[hidden email]>>

       Subject: RE: [Seaside] Announcements problem
       To: <[hidden email]
       <mailto:[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]
       <mailto:[hidden email]>

       To: [hidden email]
       <mailto:[hidden email]>;
       [hidden email]
       <mailto:[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]
       <mailto:[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]
       <mailto:[hidden email]>>

       Subject: [Seaside] Re: [GS/SS Beta] Announcements problem
       To: GemStone Seaside beta discussion <[hidden email]
       <mailto:[hidden email]>>

       Cc: "[hidden email]
       <mailto:[hidden email]>"
       <[hidden email]
       <mailto:[hidden email]>>

       Message-ID: <[hidden email]
       <mailto:[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]
       <mailto:[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