An Error Occurred:

/webpages/content/gazettetoc.xhtml @13,53 test="#{gazetteBean.output.status!='true'}" javax.faces.FacesException: Cant instantiate class: com.syntek.egazette.bean.gazette.GazetteBean.. class com.syntek.egazette.bean.gazette.GazetteBean : org.hibernate.HibernateException: collection is not associated with any session

+ Stack Trace

com.sun.facelets.tag.TagAttributeException: /webpages/content/gazettetoc.xhtml @13,53 test="#{gazetteBean.output.status!='true'}" javax.faces.FacesException: Cant instantiate class: com.syntek.egazette.bean.gazette.GazetteBean.. class com.syntek.egazette.bean.gazette.GazetteBean : 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.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)
	at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165)
	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
	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.IncludeHandler.apply(IncludeHandler.java:60)
	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
	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.gazette.GazetteBean.. class com.syntek.egazette.bean.gazette.GazetteBean : 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.AstNotEqual.getValue(AstNotEqual.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)
	... 50 more
Caused by: javax.faces.FacesException: Cant instantiate class: com.syntek.egazette.bean.gazette.GazetteBean.. class com.syntek.egazette.bean.gazette.GazetteBean : 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)
	... 59 more
Caused by: java.lang.ClassNotFoundException: class com.syntek.egazette.bean.gazette.GazetteBean : 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)
	... 60 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.custom.CustomLoader.list(CustomLoader.java:312)
	at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1723)
	at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:165)
	at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:175)
	at com.syntek.egazette.hibernate.dao.gazette.GazetteDAO.statisticByPublishYear(GazetteDAO.java:137)
	at com.syntek.egazette.hibernate.processors.gazette.GazetteProcessor.statisticByPublishYear(GazetteProcessor.java:109)
	at com.syntek.egazette.bean.gazette.GazetteBean.init(GazetteBean.java:49)
	at com.syntek.egazette.bean.gazette.GazetteBean.<init>(GazetteBean.java:38)
	at sun.reflect.GeneratedConstructorAccessor79.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)
	... 63 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/content/gazettedoc.xhtml">
<html xmlns="http://www.w3.org/1999/xhtml"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="search-box">
<HtmlForm enctype="application/x-www-form-urlencoded" id="srchform" prependId="true" rendered="true" submitted="false" transient="false">
<table> <tr> <td> <table> <tr> <td align="left" colspan="2" class="box-header-normal"> Tìm văn bản trong mục <i>#{renderBean.output.gazettetabname}</i>: </td> </tr> <tr> <td align="left" style="padding-left:5px;">
<HtmlInputHidden id="years" immediate="false" localValueSet="false" rendered="true" required="false" transient="false" valid="true"/>
<HtmlInputText disabled="false" id="keywordid" immediate="false" localValueSet="false" maxlength="-2147483648" onkeypress="doSubmit(event,'srchform:searchbtn');" readonly="false" rendered="true" required="false" size="-2147483648" style="width: 400px;" transient="false" valid="true"/>
</td> <td align="left" width="100px">
<HtmlCommandButton action="#{simpleSearchBean.doSimpleSearch}" actionExpression="#{simpleSearchBean.doSimpleSearch}" disabled="false" id="searchbtn" image="/images/doc_search.png" immediate="false" onclick="if($('keywordid').value==''){alert('Chưa nhập từ khóa tra cứu.');return false;}$('srchform:years').value=''; return true;" readonly="false" rendered="true" style="width:28px;height:28px;" transient="false" type="submit"/>
</td> </tr> </table> </td> <td width="200px"> <table> <tr> <td align="right" valign="top">
<HtmlSelectBooleanCheckbox disabled="true" id="includesubject" immediate="false" localValueSet="true" readonly="true" rendered="true" required="false" title="Tìm kiếm trong trích yếu" transient="false" valid="true" value="true"/>
</td> <td align="left" valign="middle"> Tìm trong trích yếu </td> </tr> <tr> <td align="right" valign="top">
<HtmlSelectBooleanCheckbox disabled="false" id="includecontent" immediate="false" localValueSet="false" readonly="false" rendered="true" required="false" title="Tìm kiếm trong nội dung" transient="false" valid="true"/>
</td> <td align="left" valign="middle"> Tìm trong nội dung </td> </tr> </table> </td> </tr> </table>
</HtmlForm>
</td> </tr> <tr> <td height="20"> <img src="images/transparent.gif" width="1" height="1"/> </td> </tr> <tr> <td valign="bottom"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="tab-header-highlight">
<HtmlOutputLink disabled="false" id="j_id7" rendered="true" transient="false" value="/webpages/home/home.faces">
<UIParameter id="j_id8" name="a" rendered="true" transient="false" value="1"/>
#{renderBean.output.gazettetabname}
</HtmlOutputLink>
</td> <td width="7px" height="25px" class="tab-header-space"/>
<td width="7px" height="25px" class="tab-header-space"/> <td class="tab-header">
<HtmlOutputLink disabled="false" id="j_id12" rendered="true" transient="false" value="/webpages/content/newdoc.faces">
<UIParameter id="j_id13" name="a" rendered="true" transient="false" value="1"/>
#{renderBean.output.newdoctabname}
</HtmlOutputLink>
</td> <td width="7px" height="25px" class="tab-header-space"/>
<td width="7px" height="25px" class="tab-header-space"/> <td class="tab-header">
<HtmlOutputLink disabled="false" id="j_id17" rendered="true" transient="false" value="/webpages/content/localdoc.faces">
<UIParameter id="j_id18" name="a" rendered="true" transient="false" value="1"/>
<UIParameter id="j_id19" name="c" rendered="true" transient="false" value="1"/>
#{renderBean.output.localdoctabname}
</HtmlOutputLink>
</td> <td width="7px" height="25px" class="tab-header-space"/>
<td width="7px" height="25px" class="tab-header-space"/> <td class="tab-header">
<HtmlOutputLink disabled="false" id="j_id23" rendered="true" transient="false" value="/webpages/content/titledoc.faces">
<UIParameter id="j_id24" name="a" rendered="true" transient="false" value="0"/>
#{renderBean.output.titledoctabname}
</HtmlOutputLink>
</td> <td width="7px" height="25px" class="tab-header-space"/>
<td width="7px" height="25px" class="tab-header-space"/> <td class="tab-header">
<HtmlOutputLink disabled="false" id="j_id28" rendered="true" transient="false" value="/webpages/content/expireddoc.faces">
<UIParameter id="j_id29" name="a" rendered="true" transient="false" value="1"/>
<UIParameter id="j_id30" name="c" rendered="true" transient="false" value="0"/>
#{renderBean.output.expireddoctabname}
</HtmlOutputLink>
</td> <td width="7px" height="25px" class="tab-header-space"/>
<!-- <td class="tab-header"> <a href="#" onclick="window.open('http://congbao.chinhphu.vn')">Công báo CP</a> </td> <td width="7px" height="25px" class="tab-header-space"/> --> <td width="#{renderBean.output.hometabsreservedspace}px" class="tab-header-space"> </td> </tr> </table> </td> </tr> <tr> <td valign="top" height="#{renderBean.output.contentheight}px" class="tab-content">
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> </head>
</AjaxViewRoot>

+ Scoped Variables

Request Parameters
NameValue
id259
Request Attributes
NameValue
ajaxContextorg.ajax4jsf.framework.ajax.AjaxContext@130a84e
navcom.syntek.egazette.bean.Navigator@1799a84
prettyContextcom.ocpsoft.pretty.PrettyContext@8f8949
renderBeancom.syntek.egazette.bean.home.RenderBean@17e2437
Session Attributes
NameValue
config{documentupdateperiod=5, titledoc-includedunit=, indexingfiletype=.pdf, operativedoc-doclink=true, localdoc-tabtype=1, defaultsize=20, network-tabtype=1, imported=import\imported, centraldoc-tabname=Văn bản Trung ương, centraldoc-doclink=true, titledoc-doclink=true, expireddoc-classified=false, contentheight=900, zip=zip, copyright=Bản quyền thuộc Ủy ban nhân dân tỉnh Phú Yên, adx=adx, newdoc-excludedunit=, authorizecode=00-50-56-00-00-10, operativedoc-tabtype=0, localdoc-startyear=0, unzipperiod=5, titledoc-excludedunit=, gazette-showorigindocfile=true, centraldoc-includedunit=, indexingperiod=15, bannertype=1, scrolllisttype=0, ownerwebsite=http://congbao.phuyen.gov.vn, introtabs-type=1, expireddoc-tabname=Văn bản hết hiệu lực, viewtime=, titledoc-classified=false, gazette-startyear=0, index=index, visitorcountertimeout=300, latestnewscount=5, titledoc-classification=0, newdoc-tabtype=1, expireddoc-includedunit=, localdoc-includedunit=, basefolder=D:\CBDT_cnt, newdoc-tabname=Văn bản chờ đăng Công báo, newdoc-startyear=0, linklisttype=1, ownertelephone=057.3828747, titledoc-tabtype=1, titledoc-normativeonly=false, xlsviewer=1, localdoc-normativeonly=true, sentmail=sentmail, expireddoc-normativeonly=false, newdoc-normativeonly=false, gazettetemp=gazettetemp, centraldoc-normativeonly=true, centraldoc-tabtype=0, mailboxtype=0, localdoc-doclink=true, operativedoc-excludedunit=, searchsizelist=10,20,25,50, history-tabtype=1, expireddoc-classification=0, previoussupportcount=5, newdoc-includedunit=, operativedoc-includedunit=, pdfviewer=2, visitorcountertitle=người đang truy cập, linklisttitle=Liên kết, owneremail=congbao@phuyen.gov.vn, supportlisttitle=Thông tin pháp luật và hỗ trợ pháp lý cho doanh nghiệp, gazette-tabname=Công báo, ogu-tabtype=1, localdoc-classification=1, province=Tỉnh Phú Yên, expireddoc-excludedunit=, gazette-mergeunitnames=true, temp=temp, expireddoc-doclink=true, expireddoc-startyear=0, gazette-doclink=true, localdoc-excludedunit=, otherdocumentstore=otherdocumentstore, otherdocumenttemp=otherdocumenttemp, centraldoc-startyear=0, statistictemp=statistictemp, hitcountertitle=lượt truy cập, hitcounteralign=center, newdoc-doclink=true, localdoc-tabname=Văn bản QPPL, gazette-tabtype=1, scrolllistfile=scroll, ownerfax=057.3824842, gazette-count=0, newslisttype=0, syncfilemax=5, storedoc-tabname=Văn bản ngoài Công báo, singlecolmaxsize=10, newslisttitle=Thông tin tổng hợp, addendumname=, storedoc-normativeonly=false, localdoc-classified=false, centraldoc-classification=0, history-tabname=Lịch sử Công báo Việt Nam, ownership=Công báo tỉnh Phú Yên, contenttabs-reservedspace=0, supportlisttype=0, ogu-tabname=Giới thiệu website Công báo, scrolllistcount=5, importing=import\importing, autoeject=true, doctwyear=2010, documenttemp=documenttemp, gazettestore=gazettestore, visitorcounteralign=left, storedoc-startyear=0, unsendmail=unsendmail, docviewer=1, storedoc-doclink=true, centraldoc-classified=false, centraldoc-excludedunit=, operativedoc-startyear=0, expireddoc-tabtype=1, bannerfile=banner.jpg, indexheight=600, introtabs-reservedspace=150, storedoc-includedunit=, network-tabname=Hệ thống website Công báo, mailhost=192.168.10.2, titledoc-tabname=Văn bản theo lĩnh vực, gazette-showformgroup=true, operativedoc-tabname=Văn bản chỉ đạo điều hành, documentstore=documentstore, otherdocumentindex=otherdocumentindex, owneraddress=Số 07, Độc Lập, thành phố Tuy Hòa, tỉnh Phú Yên., titledoc-startyear=0, publishafter=0, storedoc-excludedunit=, previousnewscount=5, latestsupportcount=5, visitorcountertype=0, unzip=unzip, storedoc-tabtype=0, email=, hitcountertype=1}
Application Attributes
NameValue
userlogined{}
Jul 17, 2018 9:11:32 AM - Generated by Facelets