javax.faces.FacesException: javax.faces.FacesException: Cant instantiate class: com.syntek.cbp.beans.home.NewsContentBean.. class com.syntek.cbp.beans.home.NewsContentBean : 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:53)
at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:45)
at org.apache.el.parser.AstValue.getValue(AstValue.java:86)
at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
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.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.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.cbp.hibernate.utils.HibernateFilter.doFilter(HibernateFilter.java:27)
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:228)
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:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.faces.FacesException: Cant instantiate class: com.syntek.cbp.beans.home.NewsContentBean.. class com.syntek.cbp.beans.home.NewsContentBean : java.lang.NullPointerException
at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:277)
at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:512)
... 56 more
Caused by: java.lang.ClassNotFoundException: class com.syntek.cbp.beans.home.NewsContentBean : 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)
... 57 more
Caused by: java.lang.NullPointerException
at com.syntek.cbp.beans.home.NewsContentBean.<init>(NewsContentBean.java:31)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.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)
... 60 more
- <AjaxViewRoot id="_viewRoot" immediate="false" locale="en_US" renderKitId="HTML_BASIC" renderRegionOnly="false" rendered="true" selfRendered="false" submitted="false" transient="false" viewId="/webpages/news/news.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"/>
<link rel="SHORTCUT ICON" href="http://www.vnnetsoft.com/favicon.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"/>
- <title>Công báo tỉnh Đồng Nai</title>
</head>
<body onload="setFocus();">
<table width="1000px" border="0" cellspacing="0" cellpadding="0" align="center" style="background: #19407A repeat;">
<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_id3" prependId="true" rendered="true" submitted="false" transient="false">
- <tr>
<td height="142px" valign="bottom" style="background: #fff url('#{nav.path}/images/banner.jpg') no-repeat;">
</td>
</tr>
<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_id6" onmouseout="this.style.color='#000000'" onmouseover="this.style.color='#FF0808'" rendered="true" style="color: #000000; text-decoration: none;" 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_id9" onmouseout="this.style.color='#000000'" onmouseover="this.style.color='#FF0808'" rendered="true" style="color:#000000; text-decoration: none;" transient="false" value="/webpages/intro/cbdp.faces">
- <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_id12" rendered="true" style="color: #000000;" transient="false" value="/webpages/index/index.faces">
- <p onmouseover="this.style.color='#FF0808'" onmouseout="this.style.color='#{templateBean.input.INDEXTAB}'" style="text-decoration: none;">
<font size="2">M</font>ục lục
</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_id15" rendered="true" transient="false" value="/webpages/total/simplesearch.faces">
- <font color="#{templateBean.input.SEARCHTAB}" style="text-decoration: none;"><p onmouseover="this.style.color='#FF0808'" onmouseout="this.style.color='#{templateBean.input.SEARCHTAB}'">
<font size="2">T</font>ra cứu văn bản
</p> </font>
- </HtmlOutputLink>
- </td>
<td width="500">
</td>
<td width="90px" class="right-header-link">
- <HtmlOutputLink disabled="false" id="j_id18" rendered="true" transient="false" value="/webpages/home/sitemap.faces">
- <HtmlOutputText escape="true" id="j_id19" 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_id22" rendered="true" style="text-decoration: none;" transient="false" value="/webpages/admin/login.faces">
- <HtmlOutputText escape="true" id="j_id23" rendered="true" transient="false" value="Đăng nhập"/>
- </HtmlOutputLink>
- </td>
- </tr>
</table>
</td>
</tr>
- </HtmlForm>
- <tr>
<td style="background-color: #FFFFFF; border-color: #cccccc; border: solid 1px;">
- <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
<td width="198" valign="top" class="bg_01" style="background:#fff url('#{nav.path}/images/yellow_shadow.jpg') no-repeat;">
<table width="95%" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td height="10">
<img src="#{nav.path}/images/transparent.gif" width="1" height="1"/>
</td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="text1">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="boder_02, yellow_background">
<b class="box-header"> Thông tin tổng hợp </b>
</td>
<td class="yellow_background" width="17px" height="19">
</td>
<td width="35px" class="yellow_background">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF" class="boder_03, yellow_background" height="130px" style="color: #000000;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="120px">
<MARQUEE onmouseover="this.stop();" onmouseout="this.start();" direction="up" scrollamount="1" scrolldelay="60" top="0" left="0" height="110" style="text-align: justify; padding-left: 10px; padding-right: 10px;">
- <img src="#{nav.path}/images/i_08.gif" width="12" height="7"/>
- <HtmlOutputLink disabled="false" id="j_id29" rendered="true" styleClass="normal-text" transient="false" value="/webpages/news/news.faces">
- <font class="blue_text">#{item.subject}</font>
- <UIParameter id="j_id31" name="id" rendered="true" transient="false" value="156"/>
- </HtmlOutputLink>
- <br/>
<br/>
- <img src="#{nav.path}/images/i_08.gif" width="12" height="7"/>
- <HtmlOutputLink disabled="false" id="j_id34" rendered="true" styleClass="normal-text" transient="false" value="/webpages/news/news.faces">
- <font class="blue_text">#{item.subject}</font>
- <UIParameter id="j_id36" name="id" rendered="true" transient="false" value="155"/>
- </HtmlOutputLink>
- <br/>
<br/>
- <img src="#{nav.path}/images/i_08.gif" width="12" height="7"/>
- <HtmlOutputLink disabled="false" id="j_id39" rendered="true" styleClass="normal-text" transient="false" value="/webpages/news/news.faces">
- <font class="blue_text">#{item.subject}</font>
- <UIParameter id="j_id41" name="id" rendered="true" transient="false" value="154"/>
- </HtmlOutputLink>
- <br/>
<br/>
- <img src="#{nav.path}/images/i_08.gif" width="12" height="7"/>
- <HtmlOutputLink disabled="false" id="j_id44" rendered="true" styleClass="normal-text" transient="false" value="/webpages/news/news.faces">
- <font class="blue_text">#{item.subject}</font>
- <UIParameter id="j_id46" name="id" rendered="true" transient="false" value="153"/>
- </HtmlOutputLink>
- <br/>
<br/>
- <img src="#{nav.path}/images/i_08.gif" width="12" height="7"/>
- <HtmlOutputLink disabled="false" id="j_id49" rendered="true" styleClass="normal-text" transient="false" value="/webpages/news/news.faces">
- <font class="blue_text">#{item.subject}</font>
- <UIParameter id="j_id51" name="id" rendered="true" transient="false" value="152"/>
- </HtmlOutputLink>
- <br/>
<br/>
- </MARQUEE>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="9">
<img src="images/transparent.gif" width="1" height="1"/>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="boder_04, yellow_background">
<table width="100%" border="0" cellspacing="5" cellpadding="0">
<tr>
<td class="box-header">
Liên kết
</td>
</tr>
<tr>
<td class="normal-text" align="left">
- <table width="100%" border="0">
<tr>
<td>
<img src="#{nav.path}/images/i_08.gif" width="12" height="7"/>
</td>
<td>
<a href="http://www.vietnam.gov.vn/portal/page?_pageid=33,638897&_dad=portal&_schema=PORTAL"><font class="blue_text">Công báo Trung ương.</font></a>
</td>
</tr>
<tr>
<td>
<img src="#{nav.path}/images/i_08.gif" width="12" height="7"/>
</td>
<td>
<a href="http://www.dongnai.gov.vn"><font class="blue_text">Tỉnh Đồng Nai.</font></a>
</td>
</tr>
</table>
- </td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="7">
<img src="images/transparent.gif" width="1" height="1"/>
</td>
</tr>
<!--
<tr>
<td class="boder_04" colspan="3" align="left" height="180px"
valign="top"
style="background:#fff url('#{nav.path}/images/cb_country.gif') top no-repeat;">
<a href="#{nav.path}/webpages/home/localgazette.faces"><img
src="#{nav.path}/images/transparent.gif" width="100%"
height="202" border="0" /> </a>
</td>
</tr>
-->
<tr>
<td height="7">
<img src="images/transparent.gif" width="1" height="1"/>
</td>
</tr>
</table>
</td>
<td width="15">
</td>
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" style="padding-top: 15px;" colspan="3">
<h3>
<font color="#FF0808">Thông tin tổng hợp</font>
</h3>
</td>
</tr>
<tr>
<td align="left" style="border-bottom: 1px solid #cccccc; padding-bottom: 5px; padding-left: 5px;" colspan="3">
<b>#{newsContentBean.input.subject}</b>
</td>
</tr>
<tr>
<td colspan="3" align="left" style="padding-top: 5px;padding-left: 5px;padding-right: 5px;" bgcolor="#F8F8F8" class="normal-text, blue_text">
- <HtmlOutputText escape="false" id="j_id56" rendered="true" transient="false"/>
- </td>
</tr>
<tr>
<td align="right" colspan="3" bgcolor="#F8F8F8" style="padding-bottom: 5px;" class="blue_text">
<i>(Cập nhật ngày
- <HtmlOutputText converter="javax.faces.convert.DateTimeConverter@5d594f" escape="true" id="j_id58" rendered="true" transient="false"/>
- )</i>
</td>
</tr>
<tr>
<td colspan="4">
<br/>
</td>
</tr>
<tr>
<td align="left" colspan="2">
<b><font color="#FF0808">Các tin đã đăng</font> </b>
<br/>
</td>
</tr>
- </AjaxViewRoot>
| Name | Value |
|---|---|
| id | 138 |
| Name | Value |
|---|---|
| ajaxContext | org.ajax4jsf.framework.ajax.AjaxContext@aa43e |
| homeBean | com.syntek.cbp.beans.home.HomeBean@a512ae |
| nav | com.syntek.cbp.beans.Navigator@16d63fe |
| templateBean | com.syntek.cbp.beans.template.TemplateBean@bfcdf1 |
| Name | Value |
|---|---|
| config | {index=index, documentupdateperiod=5, indexingfiletype=.pdf, unsendmail=unsendmail, startyear=2006, imported=import\imported, temp=temp, basefolder=D:\WebCongBao\CBDT_cnt, documents=documents, showhomemostviewed=true, otherdocumentstore=otherdocumentstore, otherdocument=otherdocument, gazetteremovequeue=gazetteremove, zip=zip, mailhost=192.168.10.2, sentmail=sentmail, adx=adx, authorizecode=, unzipperiod=5, documentstore=documentstore, otherdocumentindex=otherdocumentindex, maxgazette=0, showformgroup=true, publishafter=0, indexingperiod=15, unzip=unzip, importing=import\importing, autoeject=true, viewtime=, gazettestore=gazettestore, showdocdownloadlink=true} |
| Name | Value |
|---|---|
| userlogined | {} |