phanblogs / google-sites-liberation

Automatically exported from code.google.com/p/google-sites-liberation
1 stars 0 forks source link

Export fail at AbsoluteLinkConverterImpl #79

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 lsomc...@gmail.com on 10 Jul 2011 at 7:43

GoogleCodeExporter commented 9 years ago
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 jeffcard...@gmail.com on 13 Jan 2014 at 2:31