An Error Occurred:

/webpages/template/template.xhtml @91,55 test="#{templateBean.output.bannertype==1}" javax.faces.FacesException: Cant instantiate class: com.syntek.egazette.bean.home.TemplateBean.. class com.syntek.egazette.bean.home.TemplateBean : org.hibernate.HibernateException: collection is not associated with any session

+ Stack Trace

com.sun.facelets.tag.TagAttributeException: /webpages/template/template.xhtml @91,55 test="#{templateBean.output.bannertype==1}" javax.faces.FacesException: Cant instantiate class: com.syntek.egazette.bean.home.TemplateBean.. class com.syntek.egazette.bean.home.TemplateBean : org.hibernate.HibernateException: collection is not associated with any session
	at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:235)
	at com.sun.facelets.tag.TagAttribute.getBoolean(TagAttribute.java:79)
	at com.sun.facelets.tag.jstl.core.IfHandler.apply(IfHandler.java:49)
	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
	at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
	at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
	at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
	at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
	at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
	at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
	at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
	at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
	at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
	at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
	at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
	at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:510)
	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:553)
	at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
	at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:233)
	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
	at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.syntek.egazette.hibernate.utils.HibernateFilter.doFilter(HibernateFilter.java:43)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:75)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Unknown Source)
Caused by: javax.faces.FacesException: javax.faces.FacesException: Cant instantiate class: com.syntek.egazette.bean.home.TemplateBean.. class com.syntek.egazette.bean.home.TemplateBean : org.hibernate.HibernateException: collection is not associated with any session
	at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:523)
	at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82)
	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
	at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
	at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:61)
	at org.apache.el.parser.AstValue.getValue(AstValue.java:103)
	at org.apache.el.parser.AstEqual.getValue(AstEqual.java:37)
	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
	at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:233)
	... 54 more
Caused by: javax.faces.FacesException: Cant instantiate class: com.syntek.egazette.bean.home.TemplateBean.. class com.syntek.egazette.bean.home.TemplateBean : org.hibernate.HibernateException: collection is not associated with any session
	at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:277)
	at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:512)
	... 63 more
Caused by: java.lang.ClassNotFoundException: class com.syntek.egazette.bean.home.TemplateBean : org.hibernate.HibernateException: collection is not associated with any session
	at java.beans.Beans.instantiate(Unknown Source)
	at java.beans.Beans.instantiate(Unknown Source)
	at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:271)
	... 64 more
Caused by: org.hibernate.HibernateException: collection is not associated with any session
	at org.hibernate.collection.AbstractPersistentCollection.forceInitialization(AbstractPersistentCollection.java:471)
	at org.hibernate.engine.StatefulPersistenceContext.initializeNonLazyCollections(StatefulPersistenceContext.java:867)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:264)
	at org.hibernate.loader.Loader.doList(Loader.java:2232)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2129)
	at org.hibernate.loader.Loader.list(Loader.java:2124)
	at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:118)
	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1597)
	at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:306)
	at com.syntek.egazette.hibernate.dao.list.SiteDAO.findBacklinkSite(SiteDAO.java:113)
	at com.syntek.egazette.hibernate.processors.list.SiteProcessor.getActiveBackLinkSiteList(SiteProcessor.java:66)
	at com.syntek.egazette.bean.home.TemplateBean.init(TemplateBean.java:104)
	at com.syntek.egazette.bean.home.TemplateBean.<init>(TemplateBean.java:63)
	at sun.reflect.GeneratedConstructorAccessor55.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	... 67 more

+ Component Tree

<AjaxViewRoot id="_viewRoot" immediate="false" locale="en" renderKitId="HTML_BASIC" renderRegionOnly="false" rendered="true" selfRendered="false" submitted="false" transient="false" viewId="/webpages/home/home.xhtml">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/> <link rel="SHORTCUT ICON" type="ico" href="#{nav.path}/images/cbdt.ico"/> <link rel="stylesheet" type="text/css" href="#{nav.path}/style/style.css"/> <link rel="stylesheet" type="text/css" href="#{nav.path}/style/allpages.css"/> <link rel="stylesheet" type="text/css" href="#{nav.path}/style/common.css"/> <link rel="stylesheet" type="text/css" href="#{nav.path}/style/congbao.css"/> <link rel="stylesheet" type="text/css" href="#{nav.path}/style/css.css"/> <link rel="stylesheet" type="text/css" href="#{nav.path}/style/display.css"/> <link rel="stylesheet" type="text/css" href="#{nav.path}/style/font.css"/> <link rel="stylesheet" type="text/css" href="#{nav.path}/style/theme.css"/> <link rel="stylesheet" type="text/css" href="#{nav.path}/style/tochuc_style.css"/> <link rel="stylesheet" type="text/css" href="#{nav.path}/style/home_style.css"/> <link rel="stylesheet" type="text/css" href="#{nav.path}/style/pt_style.css"/> <link rel="stylesheet" type="text/css" href="#{nav.path}/style/FSdateSelect.css"/> <link rel="stylesheet" type="text/css" href="#{nav.path}/style/home_style.css"/> <link rel="stylesheet" type="text/css" href="#{nav.path}/style/hs.css"/> <script type="text/javascript" language="javascript" src="#{nav.path}/script/common.js"/> <script type="text/javascript" language="javascript" src="#{nav.path}/script/hs.js"/> <script type="text/javascript" language="javascript" src="#{nav.path}/script/slide.js"/> <script type="text/javascript" language="javascript" src="#{nav.path}/script/action.js"/> <script type="text/javascript" language="javascript" src="#{nav.path}/script/checkValidate.js"/> <script type="text/javascript" language="javascript" src="#{nav.path}/script/jbon/javascript/Object.js"/> <script type="text/javascript" language="javascript" src="#{nav.path}/script/jbon/javascript/Array.js"/> <script type="text/javascript" language="javascript" src="#{nav.path}/script/jbon/javascript/String.js"/> <script type="text/javascript" language="javascript" src="#{nav.path}/script/jbon/javascript/navigator.js"/> <script type="text/javascript" language="javascript" src="#{nav.path}/script/jbon/javascript/window.js"/> <script type="text/javascript" language="javascript" src="#{nav.path}/script/jbon/javascript/document.js"/> <script type="text/javascript" language="javascript" src="#{nav.path}/script/jbon/java/util/Calendar.js"/> <script type="text/javascript" language="javascript" src="#{nav.path}/script/jbon/java/ui/picker/CalendarPicker.js"/> <script type="text/javascript" language="javascript" src="#{nav.path}/script/common_datepicker.js"/> <script type="text/javascript" language="javascript" src="#{nav.path}/script/jbon/jbon.js"/> <script type="text/javascript" language="javascript" src="#{nav.path}/script/sliceshow.js"/>
<title>#{templateBean.output.ownership}</title> <script type="text/javascript" src="#{nav.path}/script/swfobject.js"/> <script type="text/javascript"> swfobject.registerObject("banner", "9.0.0", "#{nav.path}/images/banner.jpg"); </script> </head> <body onload="javaSlideShow();"> <table width="1000px" border="0" cellspacing="0" cellpadding="0" align="center" style="background: #FFFFFF repeat;"> <tr> <td>
</AjaxViewRoot>

+ Scoped Variables

Request Parameters
NameValue
None
Request Attributes
NameValue
ajaxContextorg.ajax4jsf.framework.ajax.AjaxContext@169531d
prettyContextcom.ocpsoft.pretty.PrettyContext@1cfcd09
Session Attributes
NameValue
None
Application Attributes
NameValue
userlogined{}
Jun 3, 2015 2:25:24 PM - Generated by Facelets