[opencms-dev] subSitePath exception when starting 9.0.1 workplace

Christoph Kukulies kuku at physik.rwth-aachen.de
Tue Aug 26 16:50:16 CEST 2014


No one can take on this?

Am 25.08.2014 um 12:43 schrieb Christoph Kukulies:
> When I login into the workplace on an OpenCms 9.0.1 site I just 
> established,
> I'm getting this in the browser:
>
> javax.servlet.jsp.JspException: javax.el.ELException: Error reading 
> 'subSitePath' on type org.opencms.jsp.util.CmsJspStandardContextBean
> Reason: Error reading 'subSitePath' on type 
> org.opencms.jsp.util.CmsJspStandardContextBean
> Reason: An unexpected error happened, but no error message has been 
> provided.
> Please check the error details or contact your system administrator.
>
I still have this, even after the third or fourth installation attempt. 
The  most recent one is the most promising,
but I still get this subSitePath thing. Details:

javax.servlet.ServletException: javax.servlet.jsp.JspException: javax.el.ELException: Error reading 'subSitePath' on type org.opencms.jsp.util.CmsJspStandardContextBean
	at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:912)
	at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:845)
	at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_alkacon_bootstrap_formatters.templates.bootstrap_002dpage_jsp._jspService(bootstrap_002dpage_jsp.java:229)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	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.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
	at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:188)
	at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:163)
	at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:645)
	at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:417)
	at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:167)
	at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:929)
	at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:525)
	at org.opencms.loader.CmsXmlContainerPageLoader.load(CmsXmlContainerPageLoader.java:115)
	at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1193)
	at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1719)
	at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
	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.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:501)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	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:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: javax.el.ELException: Error reading 'subSitePath' on type org.opencms.jsp.util.CmsJspStandardContextBean
	at javax.el.BeanELResolver.getValue(BeanELResolver.java:98)
	at org.apache.jasper.el.JasperELResolver.getValue(JasperELResolver.java:104)
	at org.apache.el.parser.AstValue.getValue(AstValue.java:182)
	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:184)
	at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:967)
	at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_alkacon_bootstrap_formatters.search.context_js_jsp._jspx_meth_c_005fout_005f0(context_js_jsp.java:170)
	at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_alkacon_bootstrap_formatters.search.context_js_jsp._jspService(context_js_jsp.java:96)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	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.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
	at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:188)
	at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:163)
	at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:645)
	at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:417)
	at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:167)
	at org.opencms.jsp.CmsJspTagInclude.includeActionWithCache(CmsJspTagInclude.java:365)
	at org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:241)
	at org.opencms.jsp.CmsJspTagInclude.doEndTag(CmsJspTagInclude.java:476)
	at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_alkacon_bootstrap_formatters.search.config_jsp._jspx_meth_cms_005finclude_005f0(config_jsp.java:107)
	at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_alkacon_bootstrap_formatters.search.config_jsp._jspService(config_jsp.java:72)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	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.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
	at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:188)
	at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:163)
	at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:645)
	at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:417)
	at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:167)
	at org.opencms.jsp.CmsJspTagInclude.includeActionWithCache(CmsJspTagInclude.java:365)
	at org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:241)
	at org.opencms.jsp.CmsJspTagInclude.doEndTag(CmsJspTagInclude.java:476)
	at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_alkacon_bootstrap_formatters.templates.bootstrap_002dpage_jsp._jspx_meth_cms_005finclude_005f0(bootstrap_002dpage_jsp.java:894)
	at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_alkacon_bootstrap_formatters.templates.bootstrap_002dpage_jsp._jspService(bootstrap_002dpage_jsp.java:197)
	... 40 more
Caused by: java.lang.NullPointerException
	at java.lang.String.startsWith(String.java:1385)
	at java.lang.String.startsWith(String.java:1414)
	at org.opencms.ade.configuration.CmsADEManager.getSubSiteRoot(CmsADEManager.java:632)
	at org.opencms.jsp.util.CmsJspStandardContextBean.getSubSitePath(CmsJspStandardContextBean.java:571)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at javax.el.BeanELResolver.getValue(BeanELResolver.java:87)
	... 88 more



-- 
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de



More information about the opencms-dev mailing list