I believe you still get a ConcurrentModificationException when:

(1) You attempt to delete a blip with a gadget in it
(2) You attempt to delete a blip while parsing its annotations


Jd

d3developer.com | twitter.com/fractastical | twitter.com/jdietz


On Wed, Apr 7, 2010 at 8:24 PM, pamela (Google employee) <
[email protected]> wrote:

> Please update to the latest Java client library - it contains the fix.
>
> You can follow the changelog wave here for client library updates, by
> the way:
>
> https://wave.google.com/wave/#restored:search:java+changelog,restored:wave:googlewave.com!w%252B3djWsKA4A<https://wave.google.com/wave/#restored:search:java+changelog,restored:wave:googlewave.com%21w%252B3djWsKA4A>
>
> - pamela
>
> On Apr 8, 4:05 am, Joel Dietz <[email protected]> wrote:
> > I've been having the same problem when deleting blips.
> >
> > d3developer.com | twitter.com/fractastical | twitter.com/jdietz
> >
> > On Wed, Apr 7, 2010 at 1:22 PM, ChrisDRobison <[email protected]
> >wrote:
> >
> >
> >
> > > Has something changed with the wave recently. A robot that I have,
> > > inserts a form button. After that button has been clicked, the robot
> > > deletes that button and adds another. Here is a code snippet:
> >
> > > // Remove start presentation button
> > > ref = event.getBlip().first(ElementType.BUTTON,
> > > Restriction.of(FormElement.NAME, FormAction.StartPresentation));
> > > if (ref.value().asElement().isFormElement())
> > > {
> > >        ref.delete();
> > > }
> >
> > > //add syndication button
> > > FormElement formElement = new FormElement(ElementType.BUTTON,
> > > FormAction.SyndicatePresentation, "Syndicate Presentation");
> > > event.getBlip().append(formElement);
> >
> > > It is bombing out on the ref.delete() call. It wasn't doing this
> > > before. Any help would be appreciated.
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Wave API" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<google-wave-api%[email protected]>
> <google-wave-api%2Bunsubscribe@ googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-wave-api?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Wave API" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-wave-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-wave-api?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.

Reply via email to