org.springframework.extensions.webscripts.WebScriptException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Error on Orgchart Admin page
    via GitHub by aviriel
    ,
  • undefined.split() in ringo/jsgi
    via GitHub by hns
    ,
    • org.springframework.extensions.webscripts.WebScriptException: 07240005 Failed to execute script 'classpath*:alfresco/web-extension/site-webscripts/com/alvexcore/console/orgchart-admin/orgchart-admin.get.js': 07240004 TypeError: Cannot parse XML: Scanner State 24 not Recognized (jar:file:/home/aviriel/alfresco/alfresco-201605/tomcat/webapps/share/WEB-INF/lib/com.alvexcore.share.orgchart-1.1.jar!/alfresco/web-extension/site-webscripts/com/alvexcore/console/orgchart-admin/orgchart-admin.get.js#19(eval)#1) 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.WebScriptProcessor.executeBody(WebScriptProcessor.java:311) at org.springframework.extensions.surf.render.AbstractProcessor.execute(AbstractProcessor.java:58) at org.springframework.extensions.surf.render.RenderService.process(RenderService.java:602) at org.springframework.extensions.surf.render.RenderService.renderSubComponent(RenderService.java:508) at org.springframework.extensions.surf.render.RenderService.renderChromeInclude(RenderService.java:1294) at org.springframework.extensions.directives.ChromeIncludeFreeMarkerDirective.execute(ChromeIncludeFreeMarkerDirective.java:82) at freemarker.core.Environment.visit(Environment.java:341) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:136) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.MixedContent.accept(MixedContent.java:93) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.IfBlock.accept(IfBlock.java:84) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.MixedContent.accept(MixedContent.java:93) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.Environment.process(Environment.java:243) at org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.process(FTLTemplateProcessor.java:192) at org.springframework.extensions.webscripts.WebTemplateProcessor.executeBody(WebTemplateProcessor.java:439) at org.springframework.extensions.surf.render.AbstractProcessor.execute(AbstractProcessor.java:58) at org.springframework.extensions.surf.render.RenderService.processRenderable(RenderService.java:206) at org.springframework.extensions.surf.render.bean.ChromeRenderer.body(ChromeRenderer.java:96) at org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:78) at org.springframework.extensions.surf.render.bean.ChromeRenderer.render(ChromeRenderer.java:87) at org.springframework.extensions.surf.render.RenderService.processComponent(RenderService.java:435) at org.springframework.extensions.surf.render.bean.ComponentRenderer.body(ComponentRenderer.java:95) at org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:78) at org.springframework.extensions.surf.render.RenderService.renderComponent(RenderService.java:970) at org.springframework.extensions.surf.render.RenderService.renderRegionComponents(RenderService.java:909) at org.springframework.extensions.surf.render.RenderService.renderChromeInclude(RenderService.java:1273) at org.springframework.extensions.directives.ChromeIncludeFreeMarkerDirective.execute(ChromeIncludeFreeMarkerDirective.java:82) at freemarker.core.Environment.visit(Environment.java:341) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:136) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.MixedContent.accept(MixedContent.java:93) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.Environment.process(Environment.java:243) at org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.process(FTLTemplateProcessor.java:192) at org.springframework.extensions.webscripts.WebTemplateProcessor.executeBody(WebTemplateProcessor.java:439) at org.springframework.extensions.surf.render.AbstractProcessor.execute(AbstractProcessor.java:58) at org.springframework.extensions.surf.render.RenderService.processRenderable(RenderService.java:206) at org.springframework.extensions.surf.render.bean.ChromeRenderer.body(ChromeRenderer.java:96) at org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:78) at org.springframework.extensions.surf.render.bean.ChromeRenderer.render(ChromeRenderer.java:87) at org.springframework.extensions.surf.render.bean.RegionRenderer.body(RegionRenderer.java:100) at org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:78) at org.springframework.extensions.surf.render.RenderService.renderRegion(RenderService.java:858) at org.springframework.extensions.directives.RegionDirectiveData.render(RegionDirectiveData.java:92) at org.springframework.extensions.surf.extensibility.impl.ExtensibilityModelImpl.merge(ExtensibilityModelImpl.java:414) at org.springframework.extensions.surf.extensibility.impl.AbstractExtensibilityDirective.merge(AbstractExtensibilityDirective.java:170) at org.springframework.extensions.surf.extensibility.impl.AbstractExtensibilityDirective.execute(AbstractExtensibilityDirective.java:137) at freemarker.core.Environment.visit(Environment.java:341) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:136) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.MixedContent.accept(MixedContent.java:93) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.Environment$1.render(Environment.java:313) at org.springframework.extensions.surf.extensibility.impl.DefaultExtensibilityDirectiveData.render(DefaultExtensibilityDirectiveData.java:119) at org.springframework.extensions.surf.extensibility.impl.ExtensibilityModelImpl.merge(ExtensibilityModelImpl.java:414) at org.springframework.extensions.surf.extensibility.impl.AbstractExtensibilityDirective.merge(AbstractExtensibilityDirective.java:170) at org.springframework.extensions.surf.extensibility.impl.AbstractExtensibilityDirective.execute(AbstractExtensibilityDirective.java:137) at freemarker.core.Environment.visit(Environment.java:341) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:136) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.MixedContent.accept(MixedContent.java:93) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.Environment.visit(Environment.java:487) at freemarker.core.BodyInstruction.accept(BodyInstruction.java:93) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.MixedContent.accept(MixedContent.java:93) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.Macro$Context.runMacro(Macro.java:209) at freemarker.core.Environment.visit(Environment.java:694) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:116) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.MixedContent.accept(MixedContent.java:93) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.Environment.process(Environment.java:243) at org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.process(FTLTemplateProcessor.java:192) at org.springframework.extensions.webscripts.WebTemplateProcessor.executeBody(WebTemplateProcessor.java:439) at org.springframework.extensions.surf.render.AbstractProcessor.execute(AbstractProcessor.java:58) at org.springframework.extensions.surf.render.RenderService.processTemplate(RenderService.java:724) at org.springframework.extensions.surf.render.bean.TemplateInstanceRenderer.body(TemplateInstanceRenderer.java:142) at org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:78) at org.springframework.extensions.surf.render.bean.PageRenderer.body(PageRenderer.java:86) at org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:78) at org.springframework.extensions.surf.render.RenderService.renderPage(RenderService.java:770) at org.springframework.extensions.surf.mvc.PageView.dispatchPage(PageView.java:412) at org.springframework.extensions.surf.mvc.PageView.renderView(PageView.java:307) at org.springframework.extensions.surf.mvc.AbstractWebFrameworkView.renderMergedOutputModel(AbstractWebFrameworkView.java:321) 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.doGet(FrameworkServlet.java:844) at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.alfresco.web.site.servlet.SecurityHeadersFilter.doFilter(SecurityHeadersFilter.java:182) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.alfresco.web.site.servlet.CSRFFilter.doFilter(CSRFFilter.java:315) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:450) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:74) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2466) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2455) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 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: 07240004 TypeError: Cannot parse XML: Scanner State 24 not Recognized (jar:file:/home/aviriel/alfresco/alfresco-201605/tomcat/webapps/share/WEB-INF/lib/com.alvexcore.share.orgchart-1.1.jar!/alfresco/web-extension/site-webscripts/com/alvexcore/console/orgchart-admin/orgchart-admin.get.js#19(eval)#1) at org.springframework.extensions.webscripts.processor.JSScriptProcessor.executeScriptImpl(JSScriptProcessor.java:343) at org.springframework.extensions.webscripts.processor.JSScriptProcessor.executeScript(JSScriptProcessor.java:209) ... 138 more Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot parse XML: Scanner State 24 not Recognized (jar:file:/home/aviriel/alfresco/alfresco-201605/tomcat/webapps/share/WEB-INF/lib/com.alvexcore.share.orgchart-1.1.jar!/alfresco/web-extension/site-webscripts/com/alvexcore/console/orgchart-admin/orgchart-admin.get.js#19(eval)#1) 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.xmlimpl.XMLLibImpl.parse(XMLLibImpl.java:419) at org.mozilla.javascript.xmlimpl.XMLLibImpl.ecmaToXml(XMLLibImpl.java:452) at org.mozilla.javascript.xmlimpl.XMLObjectImpl.ecmaToXml(XMLObjectImpl.java:822) at org.mozilla.javascript.xmlimpl.XML.jsConstructor(XML.java:186) at org.mozilla.javascript.xmlimpl.XMLObjectImpl.execIdCall(XMLObjectImpl.java:610) at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:97) at org.mozilla.javascript.BaseFunction.construct(BaseFunction.java:343) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1519) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109) at org.mozilla.javascript.ScriptRuntime.evalSpecial(ScriptRuntime.java:2508) at org.mozilla.javascript.ScriptRuntime.callSpecial(ScriptRuntime.java:2360) at org.mozilla.javascript.optimizer.OptRuntime.callSpecial(OptRuntime.java:131)

    Users with the same issue

    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Juraji
    5 times, last one,
    Unknown visitor1 times, last one,