FullAjaxExceptionHandler无法显示,因为响应已提交

时间:2018-04-17 07:56:05

标签: jsf omnifaces

有时在服务器日志中,FullAjaxExceptionHandler会生成此日志:

FullAjaxExceptionHandler: An exception occurred during rendering JSF ajax response. Error page '/errorpages/500.xhtml' CANNOT be shown as response is already committed. Consider increasing 'javax.faces.FACELETS_BUFFER_SIZE' if it really needs to be handled.
javax.faces.FacesException: Cannot find component for subexpression "bodies" from component with id "invoiceEditorFormPaPr12:tabViewMain" in full expression "@form:tabViewMain:bodies" referenced from "invoiceEditorFormPaPr12:tabViewMain:j_idt1751".

很明显这是我的开发错误,但如果没有显示错误页面很难找到。 我增加了缓冲区大小,日志消失但错误页面没有显示。

显示错误页面有什么问题?

在其他ajax错误中,错误页面显示正确

omnifaces 2.3 主要表面5.3 payara 4.1.152

0 个答案:

没有答案