You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Attempt to export data from a site
2. use command `java -cp $SCRIPT_DIR/google-sites-liberation-1.0.1.jar
com.google.sites.liberation.export.Main -d domain.com -f $BACKUP_DIR -u
login -p passwd -r -w site-name` in a shell script
What is the expected output? What do you see instead?
The contents of our site in $BACKUP_DIR
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.1
Ubuntu Linux - Feisty
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)
Please provide any additional information below.
This tool works on two of our three sites.
On the third site it fails with the above error.
Attempting to pull the site from the GUI in Win7 hangs without any error
message.
Original issue reported on code.google.com by cskratti...@gmail.com on 2 Dec 2009 at 8:16
The text was updated successfully, but these errors were encountered:
Attempting without revision history '-r' makes it a bit further but then
crashes
again with a null pointer exception.
Exception in thread "main" java.lang.NullPointerException: text
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:203)
at
com.google.sites.liberation.renderers.RendererUtils.getHyperLink(RendererUtils.j
ava:1
40)
at
com.google.sites.liberation.renderers.RendererUtils.getAuthorElement(RendererUti
ls.ja
va:71)
at
com.google.sites.liberation.renderers.AttachmentsRendererImpl.renderAttachments(
Attac
hmentsRendererImpl.java:54)
at
com.google.sites.liberation.export.PageExporterImpl.exportPage(PageExporterImpl.
java:
177)
at
com.google.sites.liberation.export.SiteExporterImpl.exportPage(SiteExporterImpl.
java:
158)
at
com.google.sites.liberation.export.SiteExporterImpl.exportSite(SiteExporterImpl.
java:
131)
at com.google.sites.liberation.export.Main.doMain(Main.java:81)
at com.google.sites.liberation.export.Main.main(Main.java:97)
Original comment by cskratti...@gmail.com on 2 Dec 2009 at 8:20
Original issue reported on code.google.com by
cskratti...@gmail.com
on 2 Dec 2009 at 8:16The text was updated successfully, but these errors were encountered: