An Error Occurred:

javax.faces.el.EvaluationException: Cannot get value for expression '#{!empty category.categories}'

Caused by:
org.postgresql.util.PSQLException - FATAL: terminating connection due to administrator command

+ Stack Trace

javax.faces.FacesException: javax.faces.el.EvaluationException: Cannot get value for expression '#{!empty category.categories}'
	at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:432)
	at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:255)
	at eu.ndtech.cms.common.CMSViewHandler.renderView(CMSViewHandler.java:55)
	at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:146)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:147)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:374)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:743)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:410)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337)
	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:394)
	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:218)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1087)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.jasper.JasperException: javax.faces.el.EvaluationException: Cannot get value for expression '#{!empty category.categories}'
	at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:561)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:477)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:743)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:410)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337)
	at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:426)
	... 39 more
Caused by: javax.faces.el.EvaluationException: Cannot get value for expression '#{!empty category.categories}'
	at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:405)
	at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:1417)
	at org.apache.myfaces.custom.htmlTag.AbstractHtmlTag.isRendered(AbstractHtmlTag.java:76)
	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:420)
	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildren(RendererUtils.java:412)
	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:429)
	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildren(RendererUtils.java:412)
	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:429)
	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildren(RendererUtils.java:412)
	at org.apache.myfaces.custom.datalist.HtmlListRenderer.encodeChildren(HtmlListRenderer.java:179)
	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:776)
	at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:663)
	at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:544)
	at org.apache.jsp.view_jsp._jspx_meth_t_005fdataList_005f2(view_jsp.java:1287)
	at org.apache.jsp.view_jsp._jspx_meth_t_005fhtmlTag_005f5(view_jsp.java:1235)
	at org.apache.jsp.view_jsp._jspx_meth_f_005fview_005f0(view_jsp.java:312)
	at org.apache.jsp.view_jsp._jspService(view_jsp.java:153)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
	... 52 more
Caused by: org.hibernate.exception.GenericJDBCException: could not initialize a collection: [eu.ndtech.cms.data.Category.categories#38]
	at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	at org.hibernate.loader.Loader.loadCollection(Loader.java:2173)
	at org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:62)
	at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:627)
	at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:83)
	at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1863)
	at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:369)
	at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:111)
	at org.hibernate.collection.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:134)
	at org.hibernate.collection.PersistentBag.isEmpty(PersistentBag.java:255)
	at org.apache.commons.el.EmptyOperator.apply(EmptyOperator.java:134)
	at org.apache.commons.el.UnaryOperatorExpression.evaluate(UnaryOperatorExpression.java:163)
	at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:386)
	... 71 more
Caused by: org.postgresql.util.PSQLException: FATAL: terminating connection due to administrator command
	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1592)
	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1327)
	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:192)
	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:451)
	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:350)
	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:254)
	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
	at org.hibernate.loader.Loader.getResultSet(Loader.java:1953)
	at org.hibernate.loader.Loader.doQuery(Loader.java:802)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
	at org.hibernate.loader.Loader.loadCollection(Loader.java:2166)
	... 82 more

+ Component Tree

<UIViewRoot locale="cs_CZ" renderKitId="HTML_BASIC" rendered="true" transient="false" viewId="/view.jsp">
<HtmlOutputText escape="false" forceId="false" forceIdIndex="true" id="_idJsp0" rendered="true" transient="false" value="#{webRequest.category.name} - =Lázeňské domy - "/>
<Stylesheet filtered="false" id="_idJsp1" inline="false" media="screen" path="/css/defaultLayout.css" rendered="true" transient="false"/>
<Stylesheet filtered="false" id="_idJsp2" inline="false" media="screen" path="#{webRequest.webTree.css}=/css/content-pegisan.css" rendered="#{!empty webRequest.webTree.css}=true" transient="false"/>
<Stylesheet filtered="false" id="_idJsp3" inline="false" media="screen" rendered="#{!empty webRequest.category.customCss}=false" transient="false"/>
<HtmlTag forceId="false" forceIdIndex="true" id="_idJsp4" rendered="#{!empty webRequest.rootCategories}=true" styleClass="categories" transient="false" value="ul">
<HtmlDataList border="-2147483648" derivedRowKeyPrefix="r_id_" first="0" forceId="false" forceIdIndex="true" id="_idJsp5" layout="simple" preserveRowStates="false" rendered="true" rowIndex="-1" rows="0" transient="false" var="category">
<UIColumn id="_idJsp6" rendered="true" transient="false">
<HtmlTag forceId="false" forceIdIndex="true" id="_idJsp7" rendered="#{!category.disabled && category.showInMenu}=true" transient="false" value="li">
<HtmlOutputLink id="_idJsp8" rendered="#{empty category.url}=true" styleClass="#{webRequest.rootCategory == category ? 'active' : ''}=" transient="false" value="#{contextPath}/web/#{category.fullSeoPath}=/web/cs/reference/mosty">
<HtmlOutputText escape="false" id="_idJsp9" rendered="true" transient="false" value="#{category.name}=Mosty"/>
</HtmlOutputLink>
<HtmlOutputLink id="_idJsp10" rendered="#{!empty category.url}=false" styleClass="#{webRequest.rootCategory == category ? 'active' : ''}=" transient="false" value="#{category.url}=">
<HtmlOutputText escape="false" id="_idJsp11" rendered="true" transient="false" value="#{category.name}=Mosty"/>
</HtmlOutputLink>
</HtmlTag>
</UIColumn>
</HtmlDataList>
</HtmlTag>
<HtmlTag forceId="false" forceIdIndex="true" id="_idJsp12" rendered="#{!empty webRequest.entity.menuPath}=true" styleClass="menuPath" transient="false" value="ul">
<HtmlDataList border="-2147483648" derivedRowKeyPrefix="r_id_" first="0" forceId="false" forceIdIndex="true" id="_idJsp13" layout="simple" preserveRowStates="false" rendered="true" rowIndex="-1" rows="0" transient="false" var="entity">
<UIColumn id="_idJsp14" rendered="true" transient="false">
<HtmlTag forceId="false" forceIdIndex="true" id="_idJsp15" rendered="#{!category.disabled}=true" transient="false" value="li">
<HtmlOutputLink id="_idJsp16" rendered="#{empty entity.url}=true" transient="false" value="#{contextPath}/web/#{entity.fullSeoPath}=/web/">
<HtmlOutputText escape="false" id="_idJsp17" rendered="true" transient="false"/>
</HtmlOutputLink>
<HtmlOutputLink id="_idJsp18" rendered="#{!empty entity.url}=false" transient="false">
<HtmlOutputText escape="false" id="_idJsp19" rendered="true" transient="false"/>
</HtmlOutputLink>
<HtmlOutputText escape="false" id="_idJsp20" rendered="true" transient="false" value=" / "/>
</HtmlTag>
</UIColumn>
</HtmlDataList>
<HtmlTag forceId="false" forceIdIndex="true" id="_idJsp21" rendered="true" transient="false" value="li">
<HtmlOutputText escape="false" id="_idJsp22" rendered="true" transient="false" value="#{webRequest.entity.name}=Lázeňské domy"/>
</HtmlTag>
</HtmlTag>
<HtmlTag forceId="false" forceIdIndex="true" id="_idJsp23" rendered="#{!empty webRequest.rootCategory.categories}=true" styleClass="categories" transient="false" value="ul">
<HtmlDataList border="-2147483648" derivedRowKeyPrefix="r_id_" first="0" forceId="false" forceIdIndex="true" id="_idJsp24" layout="simple" preserveRowStates="false" rendered="true" rowIndex="3" rows="0" transient="false" var="category">
<UIColumn id="_idJsp25" rendered="true" transient="false">
<HtmlTag forceId="false" forceIdIndex="true" id="_idJsp26" rendered="#{!category.disabled && category.showInMenu}=true" transient="false" value="li">
<HtmlOutputLink id="_idJsp27" rendered="#{empty category.url}=true" styleClass="#{webRequest.category == category ? 'active' : ''}=" transient="false" value="#{contextPath}/web/#{category.fullSeoPath}=/web/cs/reference/mosty">
<HtmlOutputText escape="false" id="_idJsp28" rendered="true" transient="false" value="#{category.name}=Mosty"/>
</HtmlOutputLink>
<HtmlOutputLink id="_idJsp29" rendered="#{!empty category.url}=false" styleClass="#{webRequest.category == category ? 'active' : ''}=" transient="false" value="#{category.url}=">
<HtmlOutputText escape="false" id="_idJsp30" rendered="true" transient="false" value="#{category.name}=Mosty"/>
</HtmlOutputLink>
<HtmlTag forceId="false" forceIdIndex="true" id="_idJsp31" rendered="#{!empty category.categories}=false" styleClass="subCategories" transient="false" value="ul">
<HtmlDataList border="-2147483648" derivedRowKeyPrefix="r_id_" first="0" forceId="false" forceIdIndex="true" id="_idJsp32" layout="simple" preserveRowStates="false" rendered="true" rowIndex="-1" rows="0" transient="false" var="subCategory">
<UIColumn id="_idJsp33" rendered="true" transient="false">
<HtmlTag forceId="false" forceIdIndex="true" id="_idJsp34" rendered="#{!subCategory.disabled && subCategory.showInMenu}=false" transient="false" value="li">
<HtmlOutputLink id="_idJsp35" rendered="#{empty subCategory.url}=true" styleClass="#{webRequest.category == subCategory ? 'active' : ''}=" transient="false" value="#{contextPath}/web/#{subCategory.fullSeoPath}=/web/">
<HtmlOutputText escape="false" id="_idJsp36" rendered="true" transient="false"/>
</HtmlOutputLink>
<HtmlOutputLink id="_idJsp37" rendered="#{!empty subCategory.url}=false" styleClass="#{webRequest.category == subCategory ? 'active' : ''}=" transient="false">
<HtmlOutputText escape="false" id="_idJsp38" rendered="true" transient="false"/>
</HtmlOutputLink>
</HtmlTag>
</UIColumn>
</HtmlDataList>
</HtmlTag>
</HtmlTag>
</UIColumn>
</HtmlDataList>
</HtmlTag>
</UIViewRoot>

+ Scoped Variables

Request Parameters
NameValue
None
Request Attributes
NameValue
categoryeu.ndtech.cms.data.Category@f1a2577
contextPath
webRequesteu.ndtech.cms.web.WebRequest@5e383c40
Session Attributes
NameValue
None
Application Attributes
NameValue
None
Oct 18, 2019 1:32:06 PM - Generated by MyFaces - for information on disabling or modifying this error-page, see Server error handling