cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot add Wiki page in share.

arundech_l
Confirmed Champ
Confirmed Champ

Dear All

I'm using alfresco CE 5.1 and separate share.war to another tomcat with different machine.

I'm able to login to alfresco share, but when I try to add wiki page in site, there is an pop up screen error.

"Internal Error 08270003 Failed to execute script 'classpath*:alfresco/site-webscripts/org/alfresco/modules/wiki/config-wiki.post.json.js': 08270002 TypeError: Cannot read property "properties" from null (file:/tomcatshare/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/wiki/config-wiki.post.json.js#164)"

 

Does anyone use to face this error?

Thanks in advance.

1 ACCEPTED ANSWER

arundech_l
Confirmed Champ
Confirmed Champ

The issue was closed.

Just downgrade from tomcat 8 to tomcat 7.

View answer in original post

4 REPLIES 4

arundech_l
Confirmed Champ
Confirmed Champ

Error inside catalina.log

2016-09-27 15:28:35,337 ERROR [extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-1] Exception from executeScript - redirecting to status template error: 08270001 Failed to execute script 'classpath*:alfresco/site-webscripts/org/alfresco/modules/wiki/config-wiki.post.json.js': 08270000 TypeError: Cannot read property "properties" from null (file:/tomcatshare/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/wiki/config-wiki.post.json.js#164)
org.springframework.extensions.webscripts.WebScriptException: 08270001 Failed to execute script 'classpath*:alfresco/site-webscripts/org/alfresco/modules/wiki/config-wiki.post.json.js': 08270000 TypeError: Cannot read property "properties" from null (file:/tomcatshare/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/wiki/config-wiki.post.json.js#164)
at org.springframework.extensions.webscripts.processor.JSScriptProcessor.executeScript(JSScriptProcessor.java:217)
at org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:1376)
at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:86)
at org.springframework.extensions.webscripts.PresentationContainer.executeScript(PresentationContainer.java:70)
at org.springframework.extensions.webscripts.LocalWebScriptRuntimeContainer.executeScript(LocalWebScriptRuntimeContainer.java:240)
at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:382)
at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:210)
at org.springframework.extensions.webscripts.servlet.mvc.WebScriptView.renderMergedOutputModel(WebScriptView.java:104)
at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:264)
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1216)
at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1001)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:945)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:867)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:855)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.alfresco.web.site.servlet.SecurityHeadersFilter.doFilter(SecurityHeadersFilter.java:182)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.alfresco.web.site.servlet.CSRFFilter.doFilter(CSRFFilter.java:315)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:450)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.extensions.webscripts.WebScriptException: 08270000 TypeError: Cannot read property "properties" from null (file:/tomcatshare/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/wiki/config-wiki.post.json.js#164)
at org.springframework.extensions.webscripts.processor.JSScriptProcessor.executeScriptImpl(JSScriptProcessor.java:343)
at org.springframework.extensions.webscripts.processor.JSScriptProcessor.executeScript(JSScriptProcessor.java:209)
... 58 more
Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot read property "properties" from null (file:/tomcatshare/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/wiki/config-wiki.post.json.js#164)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3687)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3665)
at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3693)
at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3712)
at org.mozilla.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:3725)
at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1483)
at org.mozilla.javascript.gen.file__tomcatshare_tomcat_webapps_share_WEB_INF_classes_alfresco_site_webscripts_org_alfresco_modules_wiki_config_wiki_post_json_js_43._c_getPageText_11(file:/tomcatshare/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/wiki/config-wiki.post.json.js:164)
at org.mozilla.javascript.gen.file__tomcatshare_tomcat_webapps_share_WEB_INF_classes_alfresco_site_webscripts_org_alfresco_modules_wiki_config_wiki_post_json_js_43.call(file:/tomcatshare/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/wiki/config-wiki.post.json.js)
at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
at org.mozilla.javascript.gen.file__tomcatshare_tomcat_webapps_share_WEB_INF_classes_alfresco_site_webscripts_org_alfresco_modules_wiki_config_wiki_post_json_js_43._c_script_0(file:/tomcatshare/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/wiki/config-wiki.post.json.js:152)
at org.mozilla.javascript.gen.file__tomcatshare_tomcat_webapps_share_WEB_INF_classes_alfresco_site_webscripts_org_alfresco_modules_wiki_config_wiki_post_json_js_43.call(file:/tomcatshare/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/wiki/config-wiki.post.json.js)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
at org.mozilla.javascript.gen.file__tomcatshare_tomcat_webapps_share_WEB_INF_classes_alfresco_site_webscripts_org_alfresco_modules_wiki_config_wiki_post_json_js_43.call(file:/tomcatshare/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/wiki/config-wiki.post.json.js)
at org.mozilla.javascript.gen.file__tomcatshare_tomcat_webapps_share_WEB_INF_classes_alfresco_site_webscripts_org_alfresco_modules_wiki_config_wiki_post_json_js_43.exec(file:/tomcatshare/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/wiki/config-wiki.post.json.js)
at org.springframework.extensions.webscripts.processor.JSScriptProcessor.executeScriptImpl(JSScriptProcessor.java:333)
... 59 more

afaust
Legendary Innovator
Legendary Innovator

Which specific version of 5.1 CE are you using? Is it a EA or GA release, and which one? They typically have name fragments such as 201603 when you download the releases.

I user Alfresco version: 5.1.0 (r127059-b7)

alfresco-community-installer-201605-linux-x64.bin

arundech_l
Confirmed Champ
Confirmed Champ

The issue was closed.

Just downgrade from tomcat 8 to tomcat 7.