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

- pamela

On Apr 8, 4:05 am, Joel Dietz <jdi...@gmail.com> 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 <chrisdrobi...@gmail.com>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 google-wave-...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-wave-api+unsubscr...@googlegroups.com<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 google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.

Reply via email to