Hi all,
I am using alfresco 4.2.c. I am trying to use afresco fdk for 4.2.c i have downloaded and installed the amp to alfresco.war and place fdk.jar file into alfresco/tomcat/shared/lib folder.
When i am trying to access the form-console in alfresco it is giving error like
"" A problem has occurred. This page could not be rendered: form-console Please notify your system administrator""
And in my log i have errors like,,
Java backtrace for programmers:
———-
freemarker.core.InvalidReferenceException: Expression templateStylesheets is und
efined on line 4, column 11 in org/alfresco/form-console.ftl.
at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:125)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:100)
at freemarker.core.Environment.visit(Environment.java:221)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:221)
at freemarker.core.Macro$Context.runMacro(Macro.java:172)
at freemarker.core.Environment.visit(Environment.java:614)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
at freemarker.core.Environment.visit(Environment.java:221)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:221)
at freemarker.core.Environment.process(Environment.java:199)
at org.springframework.extensions.webscripts.processor.FTLTemplateProces
sor.process(FTLTemplateProcessor.java:171)
at org.springframework.extensions.webscripts.WebTemplateProcessor.execut
eBody(WebTemplateProcessor.java:438)
at org.springframework.extensions.surf.render.AbstractProcessor.execute(
AbstractProcessor.java:57)
at org.springframework.extensions.surf.render.RenderService.processTempl
ate(RenderService.java:721)
at org.springframework.extensions.surf.render.bean.TemplateInstanceRende
rer.calculateComponentDependencies(TemplateInstanceRenderer.java:75)
at org.springframework.extensions.surf.render.bean.TemplateInstanceRende
rer.body(TemplateInstanceRenderer.java:134)
at org.springframework.extensions.surf.render.AbstractRenderer.render(Ab
stractRenderer.java:77)
at org.springframework.extensions.surf.render.bean.PageRenderer.body(Pag
eRenderer.java:85)
at org.springframework.extensions.surf.render.AbstractRenderer.render(Ab
stractRenderer.java:77)
at org.springframework.extensions.surf.render.RenderService.renderPage(R
enderService.java:762)
at org.springframework.extensions.surf.mvc.PageView.dispatchPage(PageVie
w.java:411)
at org.springframework.extensions.surf.mvc.PageView.renderView(PageView.
java:306)
at org.springframework.extensions.surf.mvc.AbstractWebFrameworkView.rend
erMergedOutputModel(AbstractWebFrameworkView.java:316)
at org.springframework.web.servlet.view.AbstractView.render(AbstractView
.java:250)
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherSe
rvlet.java:1047)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatch
erServlet.java:817)
at org.springframework.web.servlet.DispatcherServlet.doService(Dispatche
rServlet.java:719)
at org.springframework.web.servlet.FrameworkServlet.processRequest(Frame
workServlet.java:644)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServl
et.java:549)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthe
nticationFilter.java:74)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAut
henticationFilter.java:374)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
11Processor.java:1002)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
AbstractProtocol.java:585)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoin
t.java:1813)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:603)
at java.lang.Thread.run(Thread.java:722)
2013-03-13 15:25:29,356 ERROR [surf.render.RenderService] [http-apr-8070-exec-3
] Unable to process template: form-console
2013-03-13 15:25:29,357 ERROR [surf.render.RenderService] [http-apr-8070-exec-
3] An exception occurred while rendering: form-console
org.springframework.extensions.surf.exception.RendererExecutionException: WebTe
mplateProcessor failed to process template uri: org/alfresco/form-console
at org.springframework.extensions.webscripts.WebTemplateProcessor.execut
eBody(WebTemplateProcessor.java:467)
at org.springframework.extensions.surf.render.AbstractProcessor.execute(
AbstractProcessor.java:57)
at org.springframework.extensions.surf.render.RenderService.processTempl
ate(RenderService.java:721)
at org.springframework.extensions.surf.render.bean.TemplateInstanceRende
rer.calculateComponentDependencies(TemplateInstanceRenderer.java:75)
at org.springframework.extensions.surf.render.bean.TemplateInstanceRende
rer.body(TemplateInstanceRenderer.java:134)
at org.springframework.extensions.surf.render.AbstractRenderer.render(Ab
stractRenderer.java:77)
at org.springframework.extensions.surf.render.bean.PageRenderer.body(Pag
eRenderer.java:85)
at org.springframework.extensions.surf.render.AbstractRenderer.render(Ab
stractRenderer.java:77)
at org.springframework.extensions.surf.render.RenderService.renderPage(R
enderService.java:762)
at org.springframework.extensions.surf.mvc.PageView.dispatchPage(PageVie
w.java:411)
at org.springframework.extensions.surf.mvc.PageView.renderView(PageView.
java:306)
at org.springframework.extensions.surf.mvc.AbstractWebFrameworkView.rend
erMergedOutputModel(AbstractWebFrameworkView.java:316)
at org.springframework.web.servlet.view.AbstractView.render(AbstractView
.java:250)
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherSe
rvlet.java:1047)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatch
erServlet.java:817)
at org.springframework.web.servlet.DispatcherServlet.doService(Dispatche
rServlet.java:719)
at org.springframework.web.servlet.FrameworkServlet.processRequest(Frame
workServlet.java:644)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServl
et.java:549)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthe
nticationFilter.java:74)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAut
henticationFilter.java:374)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
11Processor.java:1002)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
AbstractProtocol.java:585)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoin
t.java:1813)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.springframework.extensions.webscripts.WebScriptException: 0213000
0 Failed to process template org/alfresco/form-console.ftl
at org.springframework.extensions.webscripts.processor.FTLTemplateProces
sor.process(FTLTemplateProcessor.java:175)
at org.springframework.extensions.webscripts.WebTemplateProcessor.execut
eBody(WebTemplateProcessor.java:438)
… 41 more
Caused by: freemarker.core.InvalidReferenceException: Expression templateStylesh
eets is undefined on line 4, column 11 in org/alfresco/form-console.ftl.
at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:125)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:100)
at freemarker.core.Environment.visit(Environment.java:221)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:221)
at freemarker.core.Macro$Context.runMacro(Macro.java:172)
at freemarker.core.Environment.visit(Environment.java:614)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
at freemarker.core.Environment.visit(Environment.java:221)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:221)
at freemarker.core.Environment.process(Environment.java:199)
at org.springframework.extensions.webscripts.processor.FTLTemplateProces
sor.process(FTLTemplateProcessor.java:171)
… 42 more
Please help me,
Goutham