An Error Occurred:

javax.faces.FacesException: Cant instantiate class: com.syntek.egazette.bean.index.IndexBean.. class com.syntek.egazette.bean.index.IndexBean : java.lang.NullPointerException

+ Stack Trace

javax.faces.FacesException: javax.faces.FacesException: Cant instantiate class: com.syntek.egazette.bean.index.IndexBean.. class com.syntek.egazette.bean.index.IndexBean : java.lang.NullPointerException
	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:54)
	at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
	at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:69)
	at org.apache.el.parser.AstValue.getValue(AstValue.java:112)
	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:182)
	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
	at com.sun.facelets.tag.jstl.core.ForEachHandler.apply(ForEachHandler.java:120)
	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
	at com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58)
	at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128)
	at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306)
	at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279)
	at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
	at com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58)
	at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128)
	at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306)
	at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279)
	at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
	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:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
	at java.lang.Thread.run(Unknown Source)
Caused by: javax.faces.FacesException: Cant instantiate class: com.syntek.egazette.bean.index.IndexBean.. class com.syntek.egazette.bean.index.IndexBean : java.lang.NullPointerException
	at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:277)
	at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:512)
	... 72 more
Caused by: java.lang.ClassNotFoundException: class com.syntek.egazette.bean.index.IndexBean : java.lang.NullPointerException
	at java.beans.Beans.instantiate(Unknown Source)
	at java.beans.Beans.instantiate(Unknown Source)
	at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:271)
	... 73 more
Caused by: java.lang.NullPointerException
	at java.util.Date.getMillisOf(Unknown Source)
	at java.util.Date.before(Unknown Source)
	at com.syntek.egazette.bean.index.IndexBean.buildGazetteToc(IndexBean.java:294)
	at com.syntek.egazette.bean.index.IndexBean.initDocListIndexByPublishYear(IndexBean.java:175)
	at com.syntek.egazette.bean.index.IndexBean.init(IndexBean.java:126)
	at com.syntek.egazette.bean.index.IndexBean.<init>(IndexBean.java:44)
	at sun.reflect.GeneratedConstructorAccessor77.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)
	... 76 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/index/index.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>
<img src="#{nav.path}/images/banner.jpg"/>
</td> </tr> <tr> <td width="100%" valign="top" align="center" style="background-color: #FFFFFF;"> <table width="1003px" border="0" cellspacing="0" cellpadding="0" align="center">
<HtmlForm enctype="application/x-www-form-urlencoded" id="j_id5" prependId="true" rendered="true" submitted="false" transient="false">
<tr> <td height="13" bgcolor="#ff0000" style="padding-right: 10px; padding-bottom: 1px; color: #ffffff;"> <table cellpadding="0" cellspacing="0" width="100%"> <tr> <td align="left" style="padding-left: 5px; color: #FFFFFF;"> <b> <script language="javascript"> document.write(showdateVN()); </script> </b> </td> <td align="right"> <img src="#{nav.path}/images/transparent.gif" width="1" height="1"/>
</td> </tr> </table> </td> </tr> <tr> <td height="18px" bgcolor="#eeeeee"> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-color: #000000; border-style: hidden; border-width: 0; border: none;"> <tr> <td width="2px" height="25px"> </td> <td width="78px" class="header-link">
<HtmlOutputLink disabled="false" id="j_id8" onmouseout="this.style.color='#000000'" onmouseover="this.style.color='#FF0808'" rel="dofollow" rendered="true" style="color: #000000; text-decoration: none;text-shadow: 3px 3px 1px #cccccc;" transient="false" value="/webpages/home/home.faces">
<font size="2">T</font>rang chủ
</HtmlOutputLink>
</td>
<td class="ver_space"> <img src="#{nav.path}/images/ver_space.gif"/> </td> <td width="78px" class="header-link">
<HtmlOutputLink disabled="false" id="j_id12" onmouseout="this.style.color='#000000'" onmouseover="this.style.color='#FF0808'" rel="nofollow" rendered="true" style="color:#000000; text-decoration: none; text-shadow: 3px 3px 1px #cccccc;" transient="false" value="/webpages/intro/intro.faces?code=intro">
<font size="2">G</font>iới thiệu
</HtmlOutputLink>
</td>
<td class="ver_space"> <img src="#{nav.path}/images/ver_space.gif"/> </td> <td width="60px" class="header-link">
<HtmlOutputLink disabled="false" id="j_id16" onmouseout="this.style.color='#FF0808'" onmouseover="this.style.color='#FF0808'" rel="dofollow" rendered="true" style="color: #FF0808; text-decoration: none;text-shadow: 3px 3px 1px #cccccc;" transient="false" value="/webpages/index/index.faces">
<font size="2">T</font>ổng tập
</HtmlOutputLink>
</td>
<td class="ver_space"> <img src="#{nav.path}/images/ver_space.gif"/> </td> <td width="115px" class="header-link">
<HtmlOutputLink disabled="false" id="j_id20" onmouseout="this.style.color='#000000'" onmouseover="this.style.color='#FF0808'" rel="nofollow" rendered="true" style="color:#000000; text-decoration: none; text-shadow: 3px 3px 1px #cccccc;" transient="false" value="/webpages/total/simplesearch.faces">
<font size="2">T</font>ra cứu văn bản
</HtmlOutputLink>
</td>
<td width="300"> </td> <td width="30px" class="right-header-link">
<HtmlOutputLink disabled="false" id="j_id24" rendered="true" transient="false" value="/rss/gazette.rss">
<HtmlOutputText escape="true" id="j_id25" rendered="true" style="color: #000000; text-decoration: none;" transient="false" value="RSS"/>
</HtmlOutputLink>
</td> <td class="ver_space"> <img src="#{nav.path}/images/ver_space.gif"/> </td> <td width="90px" class="right-header-link">
<HtmlOutputLink disabled="false" id="j_id27" rendered="true" transient="false" value="/webpages/home/sitemap.faces">
<HtmlOutputText escape="true" id="j_id28" rendered="true" style="color: #000000; text-decoration: none;" transient="false" value="Sơ đồ website"/>
</HtmlOutputLink>
</td> <td class="ver_space"> <img src="#{nav.path}/images/ver_space.gif"/> </td>
<td width="70px" class="right-header-link">
<HtmlOutputLink disabled="false" id="j_id31" rel="nofollow" rendered="true" style="text-decoration: none;" transient="false" value="/webpages/admin/login.faces">
<HtmlOutputText escape="true" id="j_id32" rendered="true" transient="false" value="Đăng nhập"/>
</HtmlOutputLink>
</td>
</tr> </table> </td> </tr>
</HtmlForm>
<tr> <td style="background-color: #FFFFFF;">
<table width="100%" border="0" cellspacing="9" cellpadding="0" bgcolor="#FFFFFF"> <tr> <td width="200" valign="top" align="left" style="background: #fff url('#{nav.path}/images/yellow_shadow.jpg') top no-repeat;">
<table width="220px" cellpadding="0" cellspacing="0" border="0"> <tr> <td class="info-box"> <table width="100%"> <tr> <td colspan="2" class="list-header"> Tổng tập Công báo </td> </tr>
</AjaxViewRoot>

+ Scoped Variables

Request Parameters
NameValue
gazettetype0
id9
publishyear2012
type1
Request Attributes
NameValue
ajaxContextorg.ajax4jsf.framework.ajax.AjaxContext@166101bc
navcom.syntek.egazette.bean.Navigator@3ab8e91e
prettyContextcom.ocpsoft.pretty.PrettyContext@41d0ceb0
templateBeancom.syntek.egazette.bean.home.TemplateBean@73b1a691
Session Attributes
NameValue
config{search-tabname=Tra cứu văn bản, index-tabvalue=index, expireddoc-advancesearch=true, search-tabordinal=4, latestnewscount=5, bannerfile=banner.jpg, storedoc-normativeonly=false, gazette-viewsinglepage=true, localdoc-classified=true, titledoc-excludedunit=, otherdocumentindex=otherdocumentindex, ogu-tabname=Giới thiệu website Công báo, expireddoc-tabtype=1, authorizecode=10-FE-ED-01-BD-8D, syncfilemax=5, indexingfiletype=.pdf, gazette-doclink=true, titledoc-normativeonly=false, expireddoc-classification=0, titledoc-tabname=Văn bản theo lĩnh vực, intro-tabvalue=intro, doctwyear=2010, localdoc-doclink=true, procedure-tabname=Thủ tục hành chính, localdoc-includedunit=, search-tabtype=1, contentheight=900, pdfviewer=2, statistictemp=statistictemp, titledoc-classification=0, owneraddress=90 Trần Phú, thành phố Phủ Lý, tỉnh Hà Nam., otherdocumentstore=otherdocumentstore, localdoc-tabname=Văn bản QPPL, unsendmail=unsendmail, copyright=Bản quyền thuộc Ủy ban nhân dân tỉnh Hà Nam, previousnewscount=5, gazette-advancesearch=true, visitorcountertype=0, newslisttype=1, linklisttype=1, centraldoc-classification=0, ownership=Công báo tỉnh Hà Nam, contenttabs-reservedspace=0, home-tabtype=1, centraldoc-startyear=0, intro-tabname=Giới thiệu, hitcountertitle=lượt truy cập, defaultsize=20, localdoc-classification=1, temp=temp, centraldoc-advancesearch=true, newdoc-doclink=true, titledoc-classified=false, storedoc-excludedunit=, newdoc-tabname=Văn bản chờ đăng Công báo, newdoc-startyear=0, gazettestore=gazettestore, expireddoc-startyear=0, imported=import\imported, mailboxtype=2, autoeject=true, localdoc-advancesearch=true, storedoc-doclink=true, visitorcounteralign=center, gazette-pagealign=right, storedoc-advancesearch=true, publishafter=0, home-tabvalue=home, gazette-tabtype=1, newdoc-excludedunit=, newdoc-normativeonly=false, localdoc-excludedunit=, operativedoc-advancesearch=true, expireddoc-classified=false, intro-tabtype=1, viewtime=, scrolllistcount=5, storedoc-tabname=Văn bản ngoài Công báo, titledoc-startyear=0, singlecolmaxsize=10, operativedoc-doclink=true, index-tabordinal=3, storedoc-startyear=0, index-tabname=Tổng tập, documenttemp=documenttemp, localdoc-startyear=0, newdoc-includedunit=, newslisttitle=Thông tin tổng hợp, history-tabname=Lịch sử Công báo Việt Nam, scrolllistfile=scroll, introtabs-type=1, gazette-startyear=0, hitcounteralign=center, hitcountertype=1, mailhost=192.168.10.2, basefolder=E:\CBDT_cnt, addendumname=, operativedoc-startyear=0, searchsizelist=10,20,25,50, titledoc-tabtype=1, network-tabtype=1, gazette-showsealedfile=true, intro-tabordinal=2, home-tabordinal=1, newdoc-advancesearch=false, centraldoc-classified=false, localdoc-tabtype=1, indexheight=600, documentstore=documentstore, procedure-tabvalue=procedure, history-tabtype=1, newdoc-tabtype=1, province=Tỉnh Hà Nam, supportlisttitle=Thông tin pháp luật và hỗ trợ pháp lý cho doanh nghiệp, expireddoc-includedunit=, centraldoc-tabtype=0, ownerfax=0351.3854707, ownerwebsite=http://congbao.hanam.gov.vn, index=index, expireddoc-tabname=Văn bản hết hiệu lực, search-tabvalue=search, unzipperiod=5, documentupdateperiod=5, home-tabname=Trang chủ, titledoc-includedunit=, procedure-tabtype=0, gazette-showformgroup=true, titledoc-advancesearch=true, operativedoc-tabtype=0, gazette-pagevalign=bottom, previoussupportcount=5, visitorcountertimeout=300, email=, indexingperiod=15, storedoc-tabtype=0, operativedoc-includedunit=, centraldoc-tabname=Văn bản Trung ương, localdoc-normativeonly=false, operativedoc-excludedunit=, gazette-tabname=Công báo, otherdocumenttemp=otherdocumenttemp, centraldoc-excludedunit=, storedoc-includedunit=, unzip=unzip, ogu-tabtype=1, centraldoc-normativeonly=true, gazette-mergeunitnames=true, gazettetemp=gazettetemp, xlsviewer=1, ownertelephone=0351.3852605, gazette-showappendixfile=true, centraldoc-doclink=true, adx=adx, expireddoc-normativeonly=false, network-tabname=Hệ thống website Công báo, importing=import\importing, zip=zip, index-tabtype=1, sentmail=sentmail, latestsupportcount=5, scrolllisttype=1, bannertype=1, procedure-tabordinal=5, gazette-pageformat=00;0, centraldoc-includedunit=, expireddoc-excludedunit=, owneremail=congbaoubnd@hanam.gov.vn, docviewer=1, gazette-count=0, titledoc-doclink=true, supportlisttype=0, operativedoc-tabname=Văn bản chỉ đạo điều hành, linklisttitle=Liên kết, introtabs-reservedspace=150, expireddoc-doclink=true, visitorcountertitle=người đang truy cập}
Application Attributes
NameValue
userlogined{}
Oct 17, 2019 10:36:28 PM - Generated by Facelets