Feedback? HTTP Status 500 – Internal Server Error

HTTP Status 500 – Internal Server Error


Type Exception Report

Message An exception occurred processing [/doctopia/apps/hospitalIndex.jsp] at line [12]

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

org.apache.jasper.JasperException: An exception occurred processing [/doctopia/apps/hospitalIndex.jsp] at line [12]

9: <sophora:getContentMap var="h" externalid="1e4a5895-c578-46b7-96b8-66c67cdf4bf6"/>
10: <sophora:forcePregeneration />
11: 
12: <c:set var="city2Hospital" value="${h.allHospitals}" />
13: 
14: <div id="hospitalIndex" class="container">
15: 	<div class="row">


Stacktrace:
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:626)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:515)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
	org.springframework.security.web.header.HeaderWriterFilter$HeaderWriterRequestDispatcher.forward(HeaderWriterFilter.java:172)
	com.subshell.sophora.delivery.cache.filter.CacheRequestDispatcherWrapper.forward(CacheRequestDispatcherWrapper.java:29)
	com.subshell.sophora.delivery.filter.ServletRequestWrapper$1.forward(ServletRequestWrapper.java:52)
	com.subshell.sophora.delivery.filter.URLDecoderFilter.doFilter(URLDecoderFilter.java:190)
	com.subshell.sophora.delivery.filter.SophoraSessionFilter.doFilter(SophoraSessionFilter.java:125)
	com.subshell.sophora.delivery.filter.SiteEnvironmentSetupFilter.doFilter(SiteEnvironmentSetupFilter.java:56)
	com.subshell.sophora.delivery.filter.BenchmarkFilter.doFilter(BenchmarkFilter.java:36)
	com.subshell.sophora.delivery.cache.filter.FilterCacheDataProvider.getCacheData(FilterCacheDataProvider.java:59)
	com.subshell.sophora.delivery.cache.CacheImpl.getInternal(CacheImpl.java:117)
	com.subshell.sophora.delivery.cache.CacheImpl.get(CacheImpl.java:98)
	com.subshell.sophora.delivery.cache.filter.CacheManager.getContent(CacheManager.java:71)
	com.subshell.sophora.delivery.cache.filter.CacheManager.manageContent(CacheManager.java:42)
	com.subshell.sophora.delivery.cache.filter.CacheFilter.doFilter(CacheFilter.java:132)
	com.subshell.sophora.delivery.filter.SSIFilter.doFilter(SSIFilter.java:142)
	com.subshell.sophora.commons.filter.ExceptionLoggingFilter.doFilter(ExceptionLoggingFilter.java:101)
	com.oreilly.servlet.MultipartFilter.doFilter(MultipartFilter.java:58)
	com.subshell.sophora.delivery.filter.SetUtf8EncodingFilter.doFilter(SetUtf8EncodingFilter.java:26)
	de.doctopia.webapp.filter.LoggingFilter.doFilter(LoggingFilter.java:27)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)
	org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)
	org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:150)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:155)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92)
	org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:152)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)
	org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)
	org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
	org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)

Root Cause

java.lang.NullPointerException
	de.doctopia.webapp.solr.SolrClient.initConfig(SolrClient.java:92)
	de.doctopia.webapp.solr.SolrClient.init(SolrClient.java:63)
	de.doctopia.webapp.sophora.functions.SiteMap.<init>(SiteMap.java:49)
	java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
	com.subshell.sophora.delivery.content.model.AutowiringSupport.create(AutowiringSupport.java:103)
	com.subshell.sophora.delivery.content.model.AutowiringSupport.createAndInitialize(AutowiringSupport.java:83)
	com.subshell.sophora.delivery.content.model.function.Functions.invoke(Functions.java:193)
	com.subshell.sophora.delivery.content.model.function.Functions.invokeForNode(Functions.java:86)
	com.subshell.sophora.delivery.content.model.ContentMap.get(ContentMap.java:109)
	javax.el.MapELResolver.getValue(MapELResolver.java:62)
	org.apache.jasper.el.JasperELResolver.getValue(JasperELResolver.java:125)
	org.apache.el.parser.AstValue.getValue(AstValue.java:169)
	org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:190)
	org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:115)
	org.apache.jsp.doctopia.apps.hospitalIndex_jsp._jspx_meth_c_005fset_005f0(hospitalIndex_jsp.java:288)
	org.apache.jsp.doctopia.apps.hospitalIndex_jsp._jspService(hospitalIndex_jsp.java:158)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:71)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:477)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
	org.springframework.security.web.header.HeaderWriterFilter$HeaderWriterRequestDispatcher.forward(HeaderWriterFilter.java:172)
	com.subshell.sophora.delivery.cache.filter.CacheRequestDispatcherWrapper.forward(CacheRequestDispatcherWrapper.java:29)
	com.subshell.sophora.delivery.filter.ServletRequestWrapper$1.forward(ServletRequestWrapper.java:52)
	com.subshell.sophora.delivery.filter.URLDecoderFilter.doFilter(URLDecoderFilter.java:190)
	com.subshell.sophora.delivery.filter.SophoraSessionFilter.doFilter(SophoraSessionFilter.java:125)
	com.subshell.sophora.delivery.filter.SiteEnvironmentSetupFilter.doFilter(SiteEnvironmentSetupFilter.java:56)
	com.subshell.sophora.delivery.filter.BenchmarkFilter.doFilter(BenchmarkFilter.java:36)
	com.subshell.sophora.delivery.cache.filter.FilterCacheDataProvider.getCacheData(FilterCacheDataProvider.java:59)
	com.subshell.sophora.delivery.cache.CacheImpl.getInternal(CacheImpl.java:117)
	com.subshell.sophora.delivery.cache.CacheImpl.get(CacheImpl.java:98)
	com.subshell.sophora.delivery.cache.filter.CacheManager.getContent(CacheManager.java:71)
	com.subshell.sophora.delivery.cache.filter.CacheManager.manageContent(CacheManager.java:42)
	com.subshell.sophora.delivery.cache.filter.CacheFilter.doFilter(CacheFilter.java:132)
	com.subshell.sophora.delivery.filter.SSIFilter.doFilter(SSIFilter.java:142)
	com.subshell.sophora.commons.filter.ExceptionLoggingFilter.doFilter(ExceptionLoggingFilter.java:101)
	com.oreilly.servlet.MultipartFilter.doFilter(MultipartFilter.java:58)
	com.subshell.sophora.delivery.filter.SetUtf8EncodingFilter.doFilter(SetUtf8EncodingFilter.java:26)
	de.doctopia.webapp.filter.LoggingFilter.doFilter(LoggingFilter.java:27)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)
	org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)
	org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:150)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:155)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92)
	org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:152)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
	org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)
	org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)
	org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
	org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)

Note The full stack trace of the root cause is available in the server logs.


Apache Tomcat/9.0.41