Hi all,
i'm generating .html with CLT from .page.
In the .page insert the $PAGE_LINK for the path of the site page.
"a href="$PAGE_LINK[chiSiamo/skyPubblicita]"
img src="/img/menu/menuVoce0.gif" id="immagine0" border="0"
/a".
When i generate the html the generation attach after localhost the UNC path of the file:
http://localhost/Y:/default/main/ADV%20PROVA/WORKAREA/adSales/html/adsales/chiSiamo/skyPubblicita.html?This is the command:
"C:/Program Files/Interwoven/LiveSite/livesite/livesite_java.bat" com.interwoven.livesite.tools.PageGenerator Administrator admin "C:/PROGRA~1/INTERW~1/TeamSite/local/bin/ADV_genHtml/gen_html.properties" "//localhost/default/main/ADV PROVA/WORKAREA/adSales/sites/adsales/chiSiamo/contatti.page
This is the .properties file:
file.suffix=.html
destination.directory=Y:/default/main/ADV PROVA/WORKAREA/adSales/html
post.processor=com.interwoven.livesite.model.page.PostRenderingProcessor
This is our log with the NullPointerException:
[08:00:23] Area: /default/main/ADV PROVA/WORKAREA/adSales
[08:00:23] File: //localhost/default/main/ADV PROVA/WORKAREA/adSales/sites/adsales/chiSiamo/contatti.page
[08:00:23] CMD: "C:/Program Files/Interwoven/LiveSite/livesite/livesite_java.bat" com.interwoven.livesite.tools.PageGenerator Administrator admin "C:/PROGRA~1/INTERW~1/TeamSite/local/bin/ADV_genHtml/gen_html.properties" "//localhost/default/main/ADV PROVA/WORKAREA/adSales/sites/adsales/chiSiamo/contatti.page"
[08:00:27] CMD RESULT: Processing vPaths:
//localhost/default/main/ADV PROVA/WORKAREA/adSales/sites/adsales/chiSiamo/contatti.page
Initializing Context.
Organizing pages by workarea and site.
Workarea: //localhost/default/main/ADV PROVA/WORKAREA/adSales
Site: //localhost/default/main/ADV PROVA/WORKAREA/adSales/sites/adsales
Finding pages.
sites/adsales/chiSiamo/contatti.page -> Y:/default/main/ADV PROVA/WORKAREA/adSales/html/adsales/chiSiamo/contatti.html
Rendering pages.
java.lang.NullPointerException
at com.interwoven.livesite.model.page.enduser.RenderingContext.replaceForm(RenderingContext.java:473)
at com.interwoven.livesite.model.page.enduser.EndUserComponent.transform(EndUserComponent.java:280)
at com.interwoven.livesite.model.page.PreviewPage.getRenderedComponent(PreviewPage.java:180)
at com.interwoven.livesite.model.page.enduser.EndUserPage.transform(EndUserPage.java:303)
at com.interwoven.livesite.model.page.PreRenderedPage.transform(PreRenderedPage.java:156)
at com.interwoven.livesite.business.BusinessPageGenerator.generatePages(BusinessPageGenerator.java:224)
at com.interwoven.livesite.tools.PageGenerator.generate(PageGenerator.java:190)
at com.interwoven.livesite.tools.PageGenerator.main(PageGenerator.java:302)
Saving pages.
Y:/default/main/ADV PROVA/WORKAREA/adSales/html/adsales/chiSiamo/contatti.html
Done.
If generate from livesite tab all is ok and the link are correct.
Our enviroment is:
Teamsite 6.5.0 Service pack 2
Livesite 2.2.1.0.56495
It is a bug?
Thanks in advance.