AnsweredAssumed Answered

Web studio - Failed to load script wizard.get.js

Question asked by krzysiek85 on Feb 10, 2010
I am trying to use Web Studio.
At first, I had to rename files in C:\Alfresco\tomcat\webapps\studio\WEB-INF\classes\alfresco\web-extension.
Now I am trying to follow http://wiki.alfresco.com/wiki/Web_Studio_Tutorial_-_Custom_Site.
I can log in but when I want to assign a template there nothing happens.
In the server terminal I get:

13:47:40,055  ERROR [web.scripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 0
1100001 Failed to load script '/web-studio/wizards/navigation/edit/wizard.get.js (in classpath store file:C:/Alfresco/to
mcat/webapps/studio/WEB-INF/classes/alfresco/webscripts)': 01100000
org.alfresco.web.scripts.WebScriptException: 01100001 Failed to load script '/web-studio/wizards/navigation/edit/wizard.
get.js (in classpath store file:C:/Alfresco/tomcat/webapps/studio/WEB-INF/classes/alfresco/webscripts)': 01100000
        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.DeclarativeWebStudioWizardWebScript.executeScript(DeclarativeWebStudioWizardWebScrip
t.java:110)
        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:192
)
        at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:306)
        at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:183)
        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:619)
Caused by: org.alfresco.web.scripts.WebScriptException: 01100000
        at org.alfresco.web.scripts.PresentationScriptProcessor.executeScriptImpl(PresentationScriptProcessor.java:320)
        at org.alfresco.web.scripts.PresentationScriptProcessor.executeScript(PresentationScriptProcessor.java:189)
        … 24 more
Caused by: java.lang.NullPointerException
        at org.alfresco.web.scripts.ScriptWizard.getSafeProperty(ScriptWizard.java:957)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
        at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
        at org.mozilla.javascript.gen.c14._c0(file:C:/Alfresco/tomcat/webapps/studio/WEB-INF/classes/alfresco/webscripts
/web-studio/wizards/navigation/edit/wizard.get.js:753)
        at org.mozilla.javascript.gen.c14.call(file:C:/Alfresco/tomcat/webapps/studio/WEB-INF/classes/alfresco/webscript
s/web-studio/wizards/navigation/edit/wizard.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.c14.call(file:C:/Alfresco/tomcat/webapps/studio/WEB-INF/classes/alfresco/webscript
s/web-studio/wizards/navigation/edit/wizard.get.js)
        at org.mozilla.javascript.gen.c14.exec(file:C:/Alfresco/tomcat/webapps/studio/WEB-INF/classes/alfresco/webscript
s/web-studio/wizards/navigation/edit/wizard.get.js)
        at org.alfresco.web.scripts.PresentationScriptProcessor.executeScriptImpl(PresentationScriptProcessor.java:314)
        … 25 more

Outcomes