jorkey/WaveImport — Issue #3: Import failures
Author: tal-itinnov
Created: 2012-01-11 12:12:10+00:00
State: open

With the fix for getting all wave deltas, most waves now import correctly (thanks!):

Imported count 1091
Not imported count 110
Skipped count 498

(skipped ones due to earlier parts of the wave not importing)

I changed the query to:

api.search("with:me", wave_num, 100);

to avoid a load of public waves I don't care about. Then I got:

Imported count 934
Not imported count 8
Skipped count 98

7 of the 8 failures were for public waves - these seem to cause problems. The 8th one was for a normal, short and simple wave, so not sure why that didn't work.

The 7 public errors were all about participants, e.g.

Only applied 30 of 233 operations at version 0, rolling back, failed op was add participant shell9000@... by gzrbot@... at Wed Jan 11 11:40:40 GMT 2012 version null

Caused by:

java.io.IOException: Only applied 30 of 233 operations at version 0, rolling back, failed op was add participant shell9000@... by gzrbot@... at Wed Jan 11 11:40:40 GMT 2012 version null

and

Error 500 bthate@... is not a participant of [WaveletName .../w+93imw7ZkMu/.../conv+root]

The last one (with the non-public wave) was:

java.lang.NullPointerException

Caused by:

java.io.IOException: java.lang.NullPointerException
at org.waveprotocol.box.server.waveserver.ImportServlet.doPost(ImportServlet.java:172)

according to the server logs, this was caused by:

Caused by:
java.lang.NullPointerException
at org.waveprotocol.box.server.waveserver.WaveletContainerImpl.getCurrentVersion(WaveletContainerImpl.java:543)
at org.waveprotocol.box.server.waveserver.ImportServlet.doPost(ImportServlet.java:147)