You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Rich Feit (JIRA)" <be...@incubator.apache.org> on 2005/05/10 08:53:06 UTC

[jira] Resolved: (BEEHIVE-630) NPE calling page flow action that calls JSF code

     [ http://issues.apache.org/jira/browse/BEEHIVE-630?page=all ]
     
Rich Feit resolved BEEHIVE-630:
-------------------------------

     Assign To: Alejandro Ramirez  (was: Rich Feit)
    Resolution: Fixed

OK, fixed with revision 169423.

> NPE calling page flow action that calls JSF code
> ------------------------------------------------
>
>          Key: BEEHIVE-630
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-630
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1
>     Reporter: John Rohrlich
>     Assignee: Alejandro Ramirez
>      Fix For: V1
>  Attachments: jsfNPECallingPFActionDirectly.zip
>
> An NPE is generated (see stack trace below) when executing the following sequence of events
> - Raise a page flow action directly from a JSF command
> - Call JSF code from the action
> - Navigate to the current page
> (if you call a command handler in the page backing file and raise the page flow action from there you do not see the NPE)
> A repro (which I ran against MyFaces both 1.0.7 or 1.0.9) is attached
> - Edit the build to point to your beehive/ant directory.
> - import runtime 
> - build and deploy
> - hit jsfNPECallingAction/pageFlow/Controller.jpf
> - click on the search button
> - then click on the link labeled "Last" (last name) in the results table to sort
> - this action will generate the NPE
> java.lang.NullPointerException
>         at javax.faces.component.UIData.setRowIndex(UIData.java:172)
>         at javax.faces.component.UIData.broadcast(UIData.java:587)
>         at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:110)
>         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:184)
>         at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:271)
>         at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:102)
>         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:279)
>         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:204)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
>         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>         at java.lang.Thread.run(Thread.java:595)

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