our application is tested against Primefaces (TRUNK) to determine regressions. It contains the following third party libraries:
Code: Select all
myfaces-extcdi-bundle-jsf20 (1.0.6)
myfaces-extval-core (2.0.6)
myfaces-extval-bean-validation (2.0.6)
myfaces-extval-property-validation (2.0.6)
primefaces-3.5 (revision 8433)
With this configuration our application does not longer start, but ends with a NPE. If we change back to primefaces-3.5-SNAPSHOT (which is an older revision) it works.
The exception thrown is:
Code: Select all
java.lang.NullPointerException
at org.primefaces.component.dialog.DialogRenderer.encodeScript(DialogRenderer.java:51)
at org.primefaces.component.dialog.DialogRenderer.encodeEnd(DialogRenderer.java:43)
at org.apache.myfaces.extensions.validator.core.renderkit.ExtValLazyRendererProxy.encodeEnd(ExtValLazyRendererProxy.java:76)
at org.apache.myfaces.extensions.validator.core.renderkit.ExtValRendererWrapper.encodeEnd(ExtValRendererWrapper.java:358)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:535)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:626)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:622)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:622)
at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:1320)
at org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:263)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:85)
...
Code: Select all
<system-event-listener>
<source-class>javax.faces.component.UIViewRoot</source-class>
<system-event-class>javax.faces.event.PreRenderViewEvent</system-event-class>
<system-event-listener-class>org.primefaces.webapp.PreRenderViewListener</system-event-listener-class>
</system-event-listener>
It seems that Primefaces no longer works properly together with myfaces-extval. It is currently unsure why none of the system event listeners are called beforehand and if this is a problem with primefaces or myfaces-extval.
Can you possibly shed some light on this?
Thank you,
Best regards,
Heiko