You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Carlin Rogers (JIRA)" <ji...@apache.org> on 2007/05/18 22:48:16 UTC
[jira] Created: (BEEHIVE-1194) NPE in faces component when running
netui-jsf sample with MyFaces
NPE in faces component when running netui-jsf sample with MyFaces
-----------------------------------------------------------------
Key: BEEHIVE-1194
URL: https://issues.apache.org/jira/browse/BEEHIVE-1194
Project: Beehive
Issue Type: Bug
Components: Samples
Affects Versions: 1.0.2
Reporter: Carlin Rogers
Priority: Minor
Fix For: V.Next
I noticed a NPE in javax.faces.component.UIComponentBase.getClientId() while running the netui-jsf sample with MyFaces 1.1.4.
To reproduce, build and deploy the sample using MyFaces (I used 1.1.4). Then after hitting the home page of the app (physician search), continue on and complete a search. From the list of results, click the "Details" link for a given physician. The details page is displayed correctly but a log file or console window will show the following NPE...
java.lang.NullPointerException: context
at javax.faces.component.UIComponentBase.getClientId(UIComponentBase.java:191)
at javax.faces.component.UIData.getClientId(UIData.java:463)
at javax.faces.component.UIData.setRowIndex(UIData.java:243)
at javax.faces.component.UIData.broadcast(UIData.java:517)
at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
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:385)
at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (BEEHIVE-1194) NPE in faces component when
running netui-jsf sample with MyFaces
Posted by "Carlin Rogers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BEEHIVE-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497039 ]
Carlin Rogers commented on BEEHIVE-1194:
----------------------------------------
Should note that I also see the exception using MyFaces 1.1.1 but do not see it when using the JSF v1.1_01 reference implementation.
> NPE in faces component when running netui-jsf sample with MyFaces
> -----------------------------------------------------------------
>
> Key: BEEHIVE-1194
> URL: https://issues.apache.org/jira/browse/BEEHIVE-1194
> Project: Beehive
> Issue Type: Bug
> Components: Samples
> Affects Versions: 1.0.2
> Reporter: Carlin Rogers
> Priority: Minor
> Fix For: V.Next
>
>
> I noticed a NPE in javax.faces.component.UIComponentBase.getClientId() while running the netui-jsf sample with MyFaces 1.1.4.
> To reproduce, build and deploy the sample using MyFaces (I used 1.1.4). Then after hitting the home page of the app (physician search), continue on and complete a search. From the list of results, click the "Details" link for a given physician. The details page is displayed correctly but a log file or console window will show the following NPE...
> java.lang.NullPointerException: context
> at javax.faces.component.UIComponentBase.getClientId(UIComponentBase.java:191)
> at javax.faces.component.UIData.getClientId(UIData.java:463)
> at javax.faces.component.UIData.setRowIndex(UIData.java:243)
> at javax.faces.component.UIData.broadcast(UIData.java:517)
> at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
> at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
> at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
> at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
> 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:385)
> at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> ...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.