在运行JSF工程时出现下面错误信息:
javax.faces.FacesException: Exception while calling encodeEnd on component : {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /sysReport/showStu.jsp][Class: javax.faces.component.html.HtmlPanelGrid,Id: j_id_jsp_3570473_1]} at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:626) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:261) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257) at org.apache.myfaces.application.jsp.JspViewHandlerImpl.actuallyRenderView(JspViewHandlerImpl.java:427) at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:383) at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100) at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176) at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:155) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:390) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.sinosoft.common.filters.UserAccessLogFilter.doFilter(UserAccessLogFilter.java:69) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.sinosoft.common.filters.EncodingSetFilter.doFilter(EncodingSetFilter.java:36) 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: Exception while calling encodeEnd on component : {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /sysReport/showStu.jsp][Class: javax.faces.component.html.HtmlPanelGrid,Id: j_id_jsp_3570473_1][Class: org.ajax4jsf.component.html.AjaxForm,Id: form1][Class: javax.faces.component.html.HtmlPanelGroup,Id: j_id_jsp_3570473_3]} at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:626) at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:522) at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:499) at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:520) at org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:231) at org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:102) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:623) ... 36 more Caused by: javax.faces.FacesException: Exception while calling encodeEnd on component : {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /sysReport/showStu.jsp][Class: javax.faces.component.html.HtmlPanelGrid,Id: j_id_jsp_3570473_1][Class: org.ajax4jsf.component.html.AjaxForm,Id: form1][Class: javax.faces.component.html.HtmlPanelGroup,Id: j_id_jsp_3570473_3][Class: javax.faces.component.html.HtmlSelectOneMenu,Id: polistatus]} at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:626) at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:522) at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:499) at org.apache.myfaces.shared_impl.renderkit.html.HtmlGroupRendererBase.encodeEnd(HtmlGroupRendererBase.java:92) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:623) ... 42 more Caused by: java.lang.IllegalArgumentException: Value binding '#{student.poliStaList}'of UISelectItems with component-path {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /sysReport/showStu.jsp][Class: javax.faces.component.html.HtmlPanelGrid,Id: j_id_jsp_3570473_1][Class: org.ajax4jsf.component.html.AjaxForm,Id: form1][Class: javax.faces.component.html.HtmlPanelGroup,Id: j_id_jsp_3570473_3][Class: javax.faces.component.html.HtmlSelectOneMenu,Id: polistatus][Class: javax.faces.component.UISelectItems,Id: j_id_jsp_3570473_7]} does not reference an Object of type SelectItem, SelectItem[], Collection or Map but of type : null at org.apache.myfaces.shared_impl.util.SelectItemsIterator.hasNext(SelectItemsIterator.java:167) at org.apache.myfaces.shared_impl.renderkit.RendererUtils.internalGetSelectItemList(RendererUtils.java:557) at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getSelectItemList(RendererUtils.java:533) at org.apache.myfaces.shared_impl.renderkit.html.HtmlRendererUtils.internalRenderSelect(HtmlRendererUtils.java:314) at org.apache.myfaces.shared_impl.renderkit.html.HtmlRendererUtils.renderMenu(HtmlRendererUtils.java:288) at org.apache.myfaces.shared_impl.renderkit.html.HtmlMenuRendererBase.encodeEnd(HtmlMenuRendererBase.java:57) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:623) ... 46 more [Sinosoft] 2014-01-13 15:09:30 930 WARN [http-8080-1] org.apache.myfaces.renderkit.html.util.ReducedHTMLParser.parse(566) | Invalid tag found: unexpected input while looking for attr name or '/>' at line 125
<managed-bean> <description></description> <managed-bean-name>student</managed-bean-name> <managed-bean-class>com.sinosoft.wwl.StudentQuery</managed-bean-class> <managed-bean-scope>session</managed-bean-scope> </managed-bean>