AnsweredAssumed Answered

Web Studio not loading

Question asked by gmurphy on Sep 4, 2009
Latest reply on Sep 21, 2009 by gmurphy
Folks,

I have just installed the Community 3.2, so I could have a look at Web Studio and have tried to create a site based on 1 of the tutorials, but when I expand the Create new website, The drop down Based on the following never appears, just an Icon circulating continually and in the Alfresco.log I am getting the following error.

Can anyone offer any advise?




15:26:47,801 ERROR [org.alfresco.web.scripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 08040001 Failed to load script '/web-studio/api/prebuilt/list.get.js (in classpath store file:D:/AlfrescoC32/tomcat/webapps/studio/WEB-INF/classes/alfresco/webscripts)': 08040000 TypeError: Cannot read property "results" from null (file:D:/AlfrescoC32/tomcat/webapps/studio/WEB-INF/classes/alfresco/webscripts/web-studio/api/prebuilt/list.get.js#47)
org.alfresco.web.scripts.WebScriptException: 08040001 Failed to load script '/web-studio/api/prebuilt/list.get.js (in classpath store file:D:/AlfrescoC32/tomcat/webapps/studio/WEB-INF/classes/alfresco/webscripts)': 08040000 TypeError: Cannot read property "results" from null (file:D:/AlfrescoC32/tomcat/webapps/studio/WEB-INF/classes/alfresco/webscripts/web-studio/api/prebuilt/list.get.js#47)
   at org.alfresco.web.scripts.PresentationScriptProcessor.executeScript(PresentationScriptProcessor.java:193)
   at org.alfresco.web.scripts.AbstractWebScript.executeScript(AbstractWebScript.java:819)
   at org.alfresco.web.scripts.DeclarativeJSONWebScript.execute(DeclarativeJSONWebScript.java:103)
   at org.alfresco.web.scripts.PresentationContainer.executeScript(PresentationContainer.java:60)
   at org.alfresco.web.scripts.LocalWebScriptRuntimeContainer.executeScript(LocalWebScriptRuntimeContainer.java:186)
   at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:262)
   at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:139)
   at org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:122)
   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.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:391)
   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.core.StandardHostValve.invoke(StandardHostValve.java:128)
   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:286)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
   at java.lang.Thread.run(Thread.java:595)
Caused by: org.alfresco.web.scripts.WebScriptException: 08040000 TypeError: Cannot read property "results" from null (file:D:/AlfrescoC32/tomcat/webapps/studio/WEB-INF/classes/alfresco/webscripts/web-studio/api/prebuilt/list.get.js#47)
   at org.alfresco.web.scripts.PresentationScriptProcessor.executeScriptImpl(PresentationScriptProcessor.java:316)
   at org.alfresco.web.scripts.PresentationScriptProcessor.executeScript(PresentationScriptProcessor.java:189)
   … 23 more
Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot read property "results" from null (file:D:/AlfrescoC32/tomcat/webapps/studio/WEB-INF/classes/alfresco/webscripts/web-studio/api/prebuilt/list.get.js#47)
   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.c2._c4(file:D:/AlfrescoC32/tomcat/webapps/studio/WEB-INF/classes/alfresco/webscripts/web-studio/api/prebuilt/list.get.js:47)
   at org.mozilla.javascript.gen.c2.call(file:D:/AlfrescoC32/tomcat/webapps/studio/WEB-INF/classes/alfresco/webscripts/web-studio/api/prebuilt/list.get.js)
   at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
   at org.mozilla.javascript.gen.c2._c2(file:D:/AlfrescoC32/tomcat/webapps/studio/WEB-INF/classes/alfresco/webscripts/web-studio/api/prebuilt/list.get.js:19)
   at org.mozilla.javascript.gen.c2.call(file:D:/AlfrescoC32/tomcat/webapps/studio/WEB-INF/classes/alfresco/webscripts/web-studio/api/prebuilt/list.get.js)
   at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
   at org.mozilla.javascript.gen.c2._c0(file:D:/AlfrescoC32/tomcat/webapps/studio/WEB-INF/classes/alfresco/webscripts/web-studio/api/prebuilt/list.get.js:57)
   at org.mozilla.javascript.gen.c2.call(file:D:/AlfrescoC32/tomcat/webapps/studio/WEB-INF/classes/alfresco/webscripts/web-studio/api/prebuilt/list.get.js)
   at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
   at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
   at org.mozilla.javascript.gen.c2.call(file:D:/AlfrescoC32/tomcat/webapps/studio/WEB-INF/classes/alfresco/webscripts/web-studio/api/prebuilt/list.get.js)
   at org.mozilla.javascript.gen.c2.exec(file:D:/AlfrescoC32/tomcat/webapps/studio/WEB-INF/classes/alfresco/webscripts/web-studio/api/prebuilt/list.get.js)
   at org.alfresco.web.scripts.PresentationScriptProcessor.executeScriptImpl(PresentationScriptProcessor.java:306)
   … 24 more

Outcomes