fchavescebar / google-sites-liberation

Automatically exported from code.google.com/p/google-sites-liberation
https://sites.google.com/a/sfacebar.com/cumpleanios_clara_gloria_2015/
0 stars 0 forks source link

java.lang.NullPointerException #77

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Launch the jar file with the class : 
java -cp google-sites-liberation-1.0.4.jar 
com.google.sites.liberation.export.Main -h sites.google.com -d <mydomain> -w 
<doc> -u <user> -p <password> -f /path/backup -r

What is the expected output? What do you see instead?

Retrieving site data (this may take a few minutes).
Retrieved 20 entries.
Retrieved 40 entries.
Retrieved 60 entries.
Retrieved 80 entries.
Retrieved 100 entries.
Retrieved 120 entries.
Retrieved 140 entries.
Retrieved 160 entries.
Exporting page: bla.
Exception in thread "main" java.lang.NullPointerException
    at com.google.gdata.util.common.base.Preconditions.checkNotNull(Preconditions.java:187)
    at com.google.sites.liberation.util.XmlElement.addText(XmlElement.java:76)
    at com.google.sites.liberation.export.HistoryExporterImpl.exportHistory(HistoryExporterImpl.java:77)
    at com.google.sites.liberation.export.RevisionsExporterImpl.exportRevisions(RevisionsExporterImpl.java:100)
    at com.google.sites.liberation.export.SiteExporterImpl.exportSite(SiteExporterImpl.java:133)
    at com.google.sites.liberation.export.Main.doMain(Main.java:81)
    at com.google.sites.liberation.export.Main.main(Main.java:97)

What version of the product are you using? On what operating system?
- google-sites-liberation-1.0.4.jar
- Linux, Ubuntu 10.10, java version "1.6.0_20"

Please provide any additional information below.

Sometimes it crash a bit farther than that but it ends with the same error so i 
can't have the full backup.

Original issue reported on code.google.com by niples...@gmail.com on 25 May 2011 at 6:11