google-sites-liberation icon indicating copy to clipboard operation
google-sites-liberation copied to clipboard

Export fail at AbsoluteLinkConverterImpl

Open GoogleCodeExporter opened this issue 9 years ago • 1 comments

What steps will reproduce the problem?
1.Export from somchailimsiroratana site.

What is the expected output? What do you see instead?
All data should be download but the download progress was not continue when it 
has exception as below:

Exception in thread "Thread-2" java.lang.StringIndexOutOfBoundsException: 
String index out of range: -1
    at java.lang.String.substring(String.java:1949)
    at com.google.sites.liberation.export.AbsoluteLinkConverterImpl.convertLinks(AbsoluteLinkConverterImpl.java:53)
    at com.google.sites.liberation.export.AbsoluteLinkConverterImpl.convertLinks(AbsoluteLinkConverterImpl.java:37)
    at com.google.sites.liberation.export.SiteExporterImpl.exportSite(SiteExporterImpl.java:126)
    at com.google.sites.liberation.util.GuiMain$ImportExportRunnable.run(GuiMain.java:279)
    at java.lang.Thread.run(Thread.java:636)



What version of the product are you using? On what operating system?
Running google-sites-liberation-1.0.4.jar on Ubuntu 10.04.

Original issue reported on code.google.com by [email protected] on 10 Jul 2011 at 7:43

GoogleCodeExporter avatar Jul 25 '15 23:07 GoogleCodeExporter

I have what I think is the same issue for the site
mcgillnrscgis2

as follow:
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String 
index out of range: -1
    at java.lang.String.substring(String.java:1937)
    at com.google.sites.liberation.export.AbsoluteLinkConverterImpl.convertLinks(AbsoluteLinkConverterImpl.java:53)
    at com.google.sites.liberation.export.AbsoluteLinkConverterImpl.convertLinks(AbsoluteLinkConverterImpl.java:37)
    at com.google.sites.liberation.export.SiteExporterImpl.exportSite(SiteExporterImpl.java:126)
    at com.google.sites.liberation.export.Main.doMain(Main.java:81)
    at com.google.sites.liberation.export.Main.main(Main.java:97)

thank you-

Original comment by [email protected] on 13 Jan 2014 at 2:31

GoogleCodeExporter avatar Jul 25 '15 23:07 GoogleCodeExporter