[richfaces-issues] [JBoss JIRA] Closed: (RF-569) regression introduced in 20070807.220229 snapshot of RF 3.1.0 - UIAjaxSupport NPE

Aleksej Yanul (JIRA) jira-events at lists.jboss.org
Fri Oct 19 08:18:03 EDT 2007


     [ http://jira.jboss.com/jira/browse/RF-569?page=all ]

Aleksej Yanul closed RF-569.
----------------------------


> regression introduced in 20070807.220229 snapshot of RF 3.1.0 - UIAjaxSupport NPE
> ---------------------------------------------------------------------------------
>
>                 Key: RF-569
>                 URL: http://jira.jboss.com/jira/browse/RF-569
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>            Reporter: Ian Springer
>         Assigned To: Aleksej Yanul
>            Priority: Critical
>             Fix For: 3.1.0
>
>         Attachments: view.xhtml
>
>
> As you know, we are using RF/A4J for JBoss ON 2.0. We recently upgraded from RF 3.0.1 / A4J 1.0.2 to using RF 3.1.0 snapshots. Things were running smoothly until I upgraded to the 08/07 snapshot earlier today.
> Now when I submit the form on the attached page, I get the following error:
> 13:14:04,357 WARN  [SkinFactoryImpl] Init parameter for a skin name changed to org.richfaces.SKIN
> 13:14:06,200 INFO  [DiscoveryServerServiceImpl] Performance: availability report timing (47)ms
> 13:14:15,310 WARN  [lifecycle] executePhase(RESTORE_VIEW 1,com.sun.faces.context.FacesContextImpl at 938fcb) threw exceptio
> n
> java.lang.NullPointerException
>         at javax.faces.component.UIComponentBase.setValueBinding(UIComponentBase.java:233)
>         at org.ajax4jsf.component.UIAjaxSupport.setParentProperties(UIAjaxSupport.java:162)
>         at org.ajax4jsf.component.UIAjaxSupport.setParent(UIAjaxSupport.java:146)
>         at javax.faces.component.UIComponentBase$FacetsMap.put(UIComponentBase.java:2114)
>         at javax.faces.component.UIComponentBase$FacetsMap.put(UIComponentBase.java:2076)
>         at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.restore(AjaxStateManager.java:367)
>         at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.restore(AjaxStateManager.java:374)
>         at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.restore(AjaxStateManager.java:374)
>         at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.restore(AjaxStateManager.java:374)
>         at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.restore(AjaxStateManager.java:374)
>         at org.ajax4jsf.application.AjaxStateManager.restoreView(AjaxStateManager.java:171)
>         at com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:290)
>         at org.ajax4jsf.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:116)
>         at org.ajax4jsf.application.AjaxViewHandler.restoreView(AjaxViewHandler.java:154)
>         at com.sun.facelets.FaceletViewHandler.restoreView(FaceletViewHandler.java:316)
>         at org.ajax4jsf.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:116)
>         at org.ajax4jsf.application.AjaxViewHandler.restoreView(AjaxViewHandler.java:154)
>         at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:141)
>         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
>         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
>         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:143)
>         at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:275)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at net.hyperic.hq.ui.AuthenticationFilter.doFilter(AuthenticationFilter.java:91)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.jboss.on.server.ui.common.upload.MultipartFilter.doFilter(MultipartFilter.java:59)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
>         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:230)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
>         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
>         at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>         at java.lang.Thread.run(Thread.java:595)
> 13:14:15,372 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
> java.lang.NullPointerException
>         at javax.faces.component.UIComponentBase.setValueBinding(UIComponentBase.java:233)
>         at org.ajax4jsf.component.UIAjaxSupport.setParentProperties(UIAjaxSupport.java:162)
>         at org.ajax4jsf.component.UIAjaxSupport.setParent(UIAjaxSupport.java:146)
>         at javax.faces.component.UIComponentBase$FacetsMap.put(UIComponentBase.java:2114)
>         at javax.faces.component.UIComponentBase$FacetsMap.put(UIComponentBase.java:2076)
>         at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.restore(AjaxStateManager.java:367)
>         at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.restore(AjaxStateManager.java:374)
>         at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.restore(AjaxStateManager.java:374)
>         at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.restore(AjaxStateManager.java:374)
>         at org.ajax4jsf.application.AjaxStateManager$TreeStrutureNode.restore(AjaxStateManager.java:374)
>         at org.ajax4jsf.application.AjaxStateManager.restoreView(AjaxStateManager.java:171)
>         at com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:290)
>         at org.ajax4jsf.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:116)
>         at org.ajax4jsf.application.AjaxViewHandler.restoreView(AjaxViewHandler.java:154)
>         at com.sun.facelets.FaceletViewHandler.restoreView(FaceletViewHandler.java:316)
>         at org.ajax4jsf.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:116)
>         at org.ajax4jsf.application.AjaxViewHandler.restoreView(AjaxViewHandler.java:154)
>         at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:141)
>         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
>         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
>         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:143)
>         at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:275)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at net.hyperic.hq.ui.AuthenticationFilter.doFilter(AuthenticationFilter.java:91)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.jboss.on.server.ui.common.upload.MultipartFilter.doFilter(MultipartFilter.java:59)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
>         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:230)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
>         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
>         at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>         at java.lang.Thread.run(Thread.java:595)
> I did not get this error (or any error) when submitting the same form using the previous (08/06) snapshot, so I think this is something that was just introduced in the past day or so.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list