Not sure this is the right place, as Its probably a code problem
rather then a protocol one.
But I can't seem to get;
ClientUtils.getConversationRoot(wave);
To return anything other then null.
Heres my code;
public void openWavelet(String waveletID) {
if (waveletID==null){
return;
}
CurrentWaveletID=waveletID;
Log.i("wave", "opening wavelet = "+CurrentWaveletID);
ClientWaveView wave =
backend.getWave( WaveId.deserialise(CurrentWaveletID) );
Log.i("wave", "opening wavelet ="+wave.getWaveId()+";");
WaveletData tempWaveletData =
ClientUtils.getConversationRoot(wave);
if (tempWaveletData==null){
Log.i("wave","null wave error");
return;
}
Log.i("wave", "wavelet
participants="+tempWaveletData.getParticipants().toArray()[0]);
Map<String, BufferedDocOp> documentMap =
tempWaveletData.getDocuments();
BufferedDocOp manifest = documentMap.get("conversation");
//it's a
BufferedDocOpImpl actually
//clear current blips
blips.clear();
renderManifest(documentMap, manifest);
}
My code never gets past "null wave error".
Looking at my log, the waveID seems correct, indicating that "wave"
does indeed store the expected wave;
INFO/wave(13100): getting wave id-atresica.nl!w+1i11x2vunz2svA
So I'm a bit confused over whats happening.
Anything obvious I'm missing?
--
You received this message because you are subscribed to the Google Groups "Wave
Protocol" 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/wave-protocol?hl=en.