Please provide the full code (updateElements) and the full log output. - pamela
On Sun, May 9, 2010 at 12:50 PM, Sergey <[email protected]> wrote: > My appologize, I've made mistake with the my source > @Capability(contexts = {Context.ALL}) > public void onWaveletSelfAdded(WaveletSelfAddedEvent event){ > Wavelet wavelet = event.getWavelet(); > Map <String, Blip> mp = wavelet.getBlips(); > Collection<Blip> blips = mp.values(); > for(Blip blip: blips) > updateElements(blip); > > } > > Using the following code I got concurrent modification exception. How > can I solve this problem? > > On 9 май, 23:45, Serj <[email protected]> wrote: > > I'm trying to handle onWaveletSelfAdded event using Java Robot API. I > > wrote simple function that I think should insert message when I remove > > robot from wave > > > > @Capability(contexts = {Context.ALL}) > > public void onWaveletSelfRemoved(WaveletSelfRemovedEvent event) { > > Wavelet wavelet = event.getWavelet(); > > wavelet.getRootBlip().reply().append("Bye"); > > } > > > > Am I doing something wrong or it's really not working? > > > > -- > > 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 athttp:// > 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.
