AnsweredAssumed Answered

Admin-Console error (v.4.2c)

Question asked by dnguyen on Feb 18, 2013
Latest reply on Feb 18, 2013 by dnguyen
Hello,

Everytime I login to the admin-console (http://localhost:8080/share/page/console/admin-console) I get this error. Can someone please tell me what do I need to do to resolve the problems?  Thanks for your help!

"A problem has occurred.
This page could not be rendered:
admin-console
Please notify your system administrator."


These are the messages in the log:

2013-02-18 08:18:02,443 ERROR [surf.render.RenderService] [http-8080-7] An exception occurred while rendering: admin-console
org.springframework.extensions.surf.exception.RendererExecutionException: 01180097 Failed to execute script 'classpath*:alfresco/templates/org/alfresco/console.js': 01180096 TypeError: Cannot read property "length" from null (file:/C:/Alfresco4e/tomcat/webapps/share/WEB-INF/classes/alfresco/templates/org/alfresco/console.js#39)
at org.springframework.extensions.webscripts.WebTemplateProcessor.executeBody(WebTemplateProcessor.java:338)
at org.springframework.extensions.surf.render.AbstractProcessor.execute(AbstractProcessor.java:57)
at org.springframework.extensions.surf.render.RenderService.processTemplate(RenderService.java:722)
at org.springframework.extensions.surf.render.bean.TemplateInstanceRenderer.calculateComponentDependencies(TemplateInstanceRenderer.java:61)
at org.springframework.extensions.surf.render.bean.TemplateInstanceRenderer.body(TemplateInstanceRenderer.java:118)
at org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:77)
at org.springframework.extensions.surf.render.bean.PageRenderer.body(PageRenderer.java:85)
at org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:77)
at org.springframework.extensions.surf.render.RenderService.renderPage(RenderService.java:763)
at org.springframework.extensions.surf.mvc.PageView.dispatchPage(PageView.java:419)
at org.springframework.extensions.surf.mvc.PageView.renderView(PageView.java:314)
at org.springframework.extensions.surf.mvc.AbstractWebFrameworkView.renderMergedOutputModel(AbstractWebFrameworkView.java:316)
at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1047)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:74)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:307)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.springframework.extensions.webscripts.WebScriptException: 01180097 Failed to execute script 'classpath*:alfresco/templates/org/alfresco/console.js': 01180096 TypeError: Cannot read property "length" from null (file:/C:/Alfresco4e/tomcat/webapps/share/WEB-INF/classes/alfresco/templates/org/alfresco/console.js#39)
at org.springframework.extensions.webscripts.processor.JSScriptProcessor.executeScript(JSScriptProcessor.java:200)
at org.springframework.extensions.webscripts.WebTemplateProcessor.executeBody(WebTemplateProcessor.java:332)
… 38 more
Caused by: org.springframework.extensions.webscripts.WebScriptException: 01180096 TypeError: Cannot read property "length" from null (file:/C:/Alfresco4e/tomcat/webapps/share/WEB-INF/classes/alfresco/templates/org/alfresco/console.js#39)
at org.springframework.extensions.webscripts.processor.JSScriptProcessor.executeScriptImpl(JSScriptProcessor.java:328)
at org.springframework.extensions.webscripts.processor.JSScriptProcessor.executeScript(JSScriptProcessor.java:192)
… 39 more
Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot read property "length" from null (file:/C:/Alfresco4e/tomcat/webapps/share/WEB-INF/classes/alfresco/templates/org/alfresco/console.js#39)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3350)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3340)
at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3356)
at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3375)
at org.mozilla.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:3388)
at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1362)
at org.mozilla.javascript.gen.c3._c1(file:/C:/Alfresco4e/tomcat/webapps/share/WEB-INF/classes/alfresco/templates/org/alfresco/console.js:39)
at org.mozilla.javascript.gen.c3.call(file:/C:/Alfresco4e/tomcat/webapps/share/WEB-INF/classes/alfresco/templates/org/alfresco/console.js)
at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
at org.mozilla.javascript.gen.c3._c0(file:/C:/Alfresco4e/tomcat/webapps/share/WEB-INF/classes/alfresco/templates/org/alfresco/console.js:146)
at org.mozilla.javascript.gen.c3.call(file:/C:/Alfresco4e/tomcat/webapps/share/WEB-INF/classes/alfresco/templates/org/alfresco/console.js)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
at org.mozilla.javascript.gen.c3.call(file:/C:/Alfresco4e/tomcat/webapps/share/WEB-INF/classes/alfresco/templates/org/alfresco/console.js)
at org.mozilla.javascript.gen.c3.exec(file:/C:/Alfresco4e/tomcat/webapps/share/WEB-INF/classes/alfresco/templates/org/alfresco/console.js)
at org.springframework.extensions.webscripts.processor.JSScriptProcessor.executeScriptImpl(JSScriptProcessor.java:318)
… 40 more


Outcomes