cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting site or content

maryush
Champ in-the-making
Champ in-the-making
Hi,
I have 3,2 alfresco community. and I have problem if I want to delete site or directiories inside this site.
In the log I found ERROR:

09:34:39,647 ERROR [org.alfresco.web.scripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 08080001 Failed to load script '/org/alfresco/modules/delete-site.post.json.js (in classpath store fileSmiley Very Happy:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts)': 08080000 TypeError: Cannot read property "success" from null (fileSmiley Very Happy:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/delete-site.post.json.js#12)
org.alfresco.web.scripts.WebScriptException: 08080001 Failed to load script '/org/alfresco/modules/delete-site.post.json.js (in classpath store fileSmiley Very Happy:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts)': 08080000 TypeError: Cannot read property "success" from null (fileSmiley Very Happy:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/delete-site.post.json.js#12)
   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.DeclarativeWebScript.execute(DeclarativeWebScript.java:90)
   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.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: 08080000 TypeError: Cannot read property "success" from null (fileSmiley Very Happy:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/delete-site.post.json.js#12)
   at org.alfresco.web.scripts.PresentationScriptProcessor.executeScriptImpl(PresentationScriptProcessor.java:316)
   at org.alfresco.web.scripts.PresentationScriptProcessor.executeScript(PresentationScriptProcessor.java:189)
   … 20 more
Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot read property "success" from null (fileSmiley Very Happy:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/delete-site.post.json.js#12)
   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.c9._c1(fileSmiley Very Happy:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/delete-site.post.json.js:12)
   at org.mozilla.javascript.gen.c9.call(fileSmiley Very Happy:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/delete-site.post.json.js)
   at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
   at org.mozilla.javascript.gen.c9._c0(fileSmiley Very Happy:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/delete-site.post.json.js:42)
   at org.mozilla.javascript.gen.c9.call(fileSmiley Very Happy:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/delete-site.post.json.js)
   at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
   at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
   at org.mozilla.javascript.gen.c9.call(fileSmiley Very Happy:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/delete-site.post.json.js)
   at org.mozilla.javascript.gen.c9.exec(fileSmiley Very Happy:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/delete-site.post.json.js)
   at org.alfresco.web.scripts.PresentationScriptProcessor.executeScriptImpl(PresentationScriptProcessor.java:306)
   … 21 more


Thanks for any help.
2 REPLIES 2

maryush
Champ in-the-making
Champ in-the-making
After restart server -  Site disappeared.
So for this time problem solved.

gronfelt
Champ in-the-making
Champ in-the-making
I have the same issue, however for me a restart does nothing.