Как избавиться от простого XML-кода в браузере с помощью JSF

Я использую JSF 2.0 с primefaces5.0 с помощью Spring Framework, но я думаю, что проблема связана с 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 Security/Login.

Нажмите для просмотра приложения

0 ответов

Другие вопросы по тегам