我正在通过使用 spring 框架将 JSF 2.0 与 primefaces5.0 一起使用,但我认为问题与 JSF 有关,我有许多不同的应用程序,但有时单击任何应用程序都会给我提供纯 html 以及“此 XML 文件不似乎有任何与之相关的样式信息。文档树如下所示。” 但是在刷新页面应用程序时正常打开而没有任何错误。
<partial-response id="j_id1">
<changes>
<update id="tabs:clientListForm:j_idt45">
<![CDATA[
<tr class="ui-expanded-row-content ui-widget-content"><td colspan="8"><table id="tabs:clientListForm:j_idt45:1:j_idt72" class="ui-panelgrid ui-widget" role="grid"><thead class="ui-panelgrid-header"><tr class="ui-widget-header" role="row"><td colspan="4" role="columnheader"><label id="tabs:clientListForm:j_idt45:1:j_idt73" class="ui-outputlabel ui-widget">View RetClients</label></td></tr></thead><tbody><tr class="ui-widget-content" role="row"><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt74" class="ui-outputlabel ui-widget">Num. Cliente</label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt75" class="ui-outputlabel ui-widget"></label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt76" class="ui-outputlabel ui-widget">Nome</label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt77" class="ui-outputlabel ui-widget"></label></td></tr><tr class="ui-widget-content" role="row"><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt78" class="ui-outputlabel ui-widget">CPF</label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt79" class="ui-outputlabel ui-widget"></label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt80" class="ui-outputlabel ui-widget">RG:</label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt81" class="ui-outputlabel ui-widget"></label></td></tr><tr class="ui-widget-content" role="row"><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt82" class="ui-outputlabel ui-widget">Birth Date</label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt83" class="ui-outputlabel ui-widget"></label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt84" class="ui-outputlabel ui-widget">Last Modification Date</label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt85" class="ui-outputlabel ui-widget"></label></td></tr><tr class="ui-widget-content" role="row"><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt86" class="ui-outputlabel ui-widget">Date de Cadastro</label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt87" class="ui-outputlabel ui-widget"></label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt88" class="ui-outputlabel ui-widget">Nome do Pai</label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt89" class="ui-outputlabel ui-widget"></label></td></tr><tr class="ui-widget-content" role="row"><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt90" class="ui-outputlabel ui-widget">Establecimento</label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt91" class="ui-outputlabel ui-widget"></label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt92" class="ui-outputlabel ui-widget">Mobile Num</label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt93" class="ui-outputlabel ui-widget"></label></td></tr><tr class="ui-widget-content" role="row"><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt94" class="ui-outputlabel ui-widget">Email ID</label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt95" class="ui-outputlabel ui-widget"></label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt96" class="ui-outputlabel ui-widget">Marital Status</label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt97" class="ui-outputlabel ui-widget"></label></td></tr><tr class="ui-widget-content" role="row"><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt98" class="ui-outputlabel ui-widget">Telephone</label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt99" class="ui-outputlabel ui-widget"></label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt100" class="ui-outputlabel ui-widget">Cargo</label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt101" class="ui-outputlabel ui-widget"></label></td></tr><tr class="ui-widget-content" role="row"><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt102" class="ui-outputlabel ui-widget">Income</label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt103" class="ui-outputlabel ui-widget"></label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt104" class="ui-outputlabel ui-widget">Municipality Name</label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt105" class="ui-outputlabel ui-widget"></label></td></tr><tr class="ui-widget-content" role="row"><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt106" class="ui-outputlabel ui-widget">State</label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt107" class="ui-outputlabel ui-widget"></label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt108" class="ui-outputlabel ui-widget">Neighborhood</label></td><td role="gridcell" class="ui-panelgrid-cell"><label id="tabs:clientListForm:j_idt45:1:j_idt109" class="ui-outputlabel ui-widget"></label></td></tr></tbody></table></td></tr>
]]>
</update>
<update id="j_id1:javax.faces.ViewState:0">
<![CDATA[ -7968619573818716327:7367938744835066462 ]]>
</update>
</changes>
</partial-response>
以下是控制台错误消息:
com.sun.faces.lifecycle.ApplyRequestValuesPhase execute
WARNING: java.lang.NullPointerException
javax.faces.FacesException: java.lang.NullPointerException
- 我正在使用 Spring 安全/登录。