I have the same issue using Mac OS X 5.8.
I am not sure how to determine my exact java config (anyone?) and do not
know where
to find any logs that may have been generated.
Please explain how I can help trouble shoot this issue.
I have included a screenshot...
Attachments:
Picture 1.png 115 KB
This error is reproducible on MacOSX and Ubunutu. Below is the output from
the
terminal in Ubuntu...
$ java -jar google-sites-liberation-1.0.1.jar
Exception in thread "Thread-2" 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.util.GuiMain$ImportExportRunnable.run(GuiMain.java:279)
at java.lang.Thread.run(Thread.java:619)
In my case, this error is reproducible on Windows XP, on 3 different
networks, on 3
different computers.
Reproducible on a Win XP machine. It retrieves the entries okay and then
starts
grabbing the pages. And then at a seemingly random spot it dies. I don't
know if the
last page it lists is the one it dies on but it is a different page each
time I tried it.
C:\>java -jar google-sites-liberation-1.0.1.jar
Exception in thread "Thread-4" java.lang.NullPointerException: text
at
com.google.common.base.Preconditions.checkNotNull(Preconditions.java:203)
at
com.google.sites.liberation.renderers.RendererUtils.getHyperLink(RendererUtils.java:140)
at
com.google.sites.liberation.renderers.RendererUtils.getAuthorElement(RendererUtils.java:71)
at
com.google.sites.liberation.renderers.ContentRendererImpl.renderContent(ContentRendererImpl.java:39)
at
com.google.sites.liberation.export.PageExporterImpl.exportPage(PageExporterImpl.java:123)
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.util.GuiMain$ImportExportRunnable.run(GuiMain.java:279)
at java.lang.Thread.run(Unknown Source)
I dont know if it's related but, after the recent update to Google Sites
Api, I could
download 1 site, I'm trying with another one that is larger the the first
one.
I just tried again from MacBook Pro OS X 10.5.8:
$ java -jar google-sites-liberation-1.0.1.jar
Jan 27, 2010 8:21:11 AM
com.google.sites.liberation.export.InMemoryEntryStore addEntry
WARNING: All non-page entries must have a parent!
Exception in thread "Thread-2" java.lang.NullPointerException: text
at
com.google.common.base.Preconditions.checkNotNull(Preconditions.java:203)
at
com.google.sites.liberation.renderers.RendererUtils.getHyperLink(RendererUtils.java:140)
at
com.google.sites.liberation.renderers.RendererUtils.getAuthorElement(RendererUtils.java:71)
at
com.google.sites.liberation.renderers.ContentRendererImpl.renderContent(ContentRendererImpl.java:39)
at
com.google.sites.liberation.export.PageExporterImpl.exportPage(PageExporterImpl.java:123)
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.util.GuiMain$ImportExportRunnable.run(GuiMain.java:279)
at java.lang.Thread.run(Thread.java:613)
SEE my previoiusly posted screenshot (it about the same)
This is a potentially invaluable tool. Anyone ever going to deal with
this?...
4 months and no news... the issue persists besides the google sites api
update...
build or fill business technology gaps based on your specific vertical,
platform, target capability development and product direction. Cloud
Computing was started from a non-traditional IT player. Amazon.com, the
famous web based bookseller, has changed the traditional computer hosting
model by offering hosted computers
<a href="http://stratogic.com/">Hosting</a>
Hi All. If this issue was resolved for any of you, kindly let me know.
Hi, I have exact same problem as reported in comment #19. Here is my
stacktrace:
WARNING: All entries should have a unique non-null id!
Exception in thread "Thread-2" java.lang.NullPointerException: text
at
com.google.common.base.Preconditions.checkNotNull(Preconditions.java:203)
at
com.google.sites.liberation.renderers.RendererUtils.getHyperLink(RendererUtils.java:141)
at
com.google.sites.liberation.renderers.RendererUtils.getAuthorElement(RendererUtils.java:72)
at
com.google.sites.liberation.renderers.ContentRendererImpl.renderContent(ContentRendererImpl.java:39)
at
com.google.sites.liberation.export.PageExporterImpl.exportPage(PageExporterImpl.java:123)
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.util.GuiMain$ImportExportRunnable.run(GuiMain.java:279)
at java.lang.Thread.run(Thread.java:680)
Any workarounds? (I can't do the export, it always crashes at the same
point)
Why no reply from google ?
Lets it dies without any fix, why public it to customer ?
It worked for me most of the time, the only trouble seemed to be network
connection problems.
But today this error "All entries should have a unique non-null id!" keeps
showing up permanently now - in a site which did not change from the last
successful backup yesterday! Seems to me that there is something broken
within sites, and this triggers this error such that one can no more backup
sites. However according to the app dashboard everything is shown "OK" on
sites, which I doubt, because I checked with two different ISPs with
different routes to Google on two different machines, both show the exact
same behavior, so the only probable common error source is Google.
I even updated sites-liberation.jar to 1.0.4, no help.
The error message is non-helpful and there certainly is missing a fix like
a retry feature, which skips what was done properly and only retries what
failed. A complete run currently only backups portions of a site (at least
here), and you cannot be sure that N partial backups done really cover all
data in a site.
Again to stress it, I have an automated daily backup, and it ran fine the
last, say, 100 days. So, please, Google, fix that. Thanks.
Here is one example:
Retrieved 1120 entries.
Jul 1, 2011 12:58:31 PM
com.google.sites.liberation.export.ContinuousContentFeed$FeedIterator
catchException
WARNING: Error retrieving response from query.
com.google.gdata.util.ServiceException: Internal Server Error
Internal Error
at
com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:588)
at
com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:543)
at
com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:536)
at
com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:515)
at
com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:515)
at com.google.gdata.client.Service.getFeed(Service.java:1053)
at com.google.gdata.client.Service.getFeed(Service.java:995)
at
com.google.gdata.client.GoogleService.getFeed(GoogleService.java:662)
at com.google.gdata.client.Service.getFeed(Service.java:952)
at
com.google.sites.liberation.util.EntryProviderImpl.getEntries(EntryProviderImpl.java:45)
at
com.google.sites.liberation.export.ContinuousContentFeed$FeedIterator.getEntries(ContinuousContentFeed.java:141)
at
com.google.sites.liberation.export.ContinuousContentFeed$FeedIterator.computeNext(ContinuousContentFeed.java:115)
at
com.google.sites.liberation.export.ContinuousContentFeed$FeedIterator.computeNext(ContinuousContentFeed.java:95)
at
com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:135)
at
com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:130)
at
com.google.sites.liberation.export.SiteExporterImpl.exportSite(SiteExporterImpl.java:101)
at com.google.sites.liberation.export.Main.doMain(Main.java:81)
at com.google.sites.liberation.export.Main.main(Main.java:97)
Jul 1, 2011 12:59:14 PM
com.google.sites.liberation.export.InMemoryEntryStore addEntry
WARNING: All entries should have a unique non-null id!
Retrieved 1140 entries.
@ #6:
Thank you SO much. Your method worked flawlessly and instantly, completely
bypassing this tool.