[
https://issues.jboss.org/browse/RF-11370?page=com.atlassian.jira.plugin.s...
]
Ján Jamrich updated RF-11370:
-----------------------------
Steps to Reproduce:
1. Open targetted example in Metamer: faces/components/richTooltip/targetting.xhtml
2. Set as target attribute following value: "regular-div" - this is the first
div on the top of target elemens to display tooltip
3. Blur attribute input and exception (error page) appears instead of Metamer page for
tooltip example
was:
Open targetted example in Metamer: faces/components/richTooltip/targetting.xhtml
set as target attribte following value: "regular-div" - this is the first div on
the top of target elemens to display tooltip
blur attribute input and exception (error page) appears instead of Metamer page for
tooltip example
Metamer: rich:toolTip: targetted example causes NPE for some IDs
----------------------------------------------------------------
Key: RF-11370
URL:
https://issues.jboss.org/browse/RF-11370
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: cdk
Affects Versions: 4.1.0.Milestone2
Environment: RichFaces 4.1.0-SNAPSHOT r.929ca8db999e6ec2588613848d2cc72bb493e75f
Metamer 4.1.0-SNAPSHOT r.unknown
Mojarra 2.1.2-FCS
Apache Tomcat 7.0.19
Java(TM) SE Runtime Environment 1.6.0_26-b03 @ Linux
Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.30 (KHTML, like Gecko) Ubuntu/10.04
Chromium/12.0.742.112 Chrome/12.0.742.112 Safari/534.30
Reporter: Ján Jamrich
In example for targetted tooltip (faces/components/richTooltip/targetting.xhtml) causes
attribute @target set to "regular-div" - which is on off alternative targets, in
this case with ID
without prefix by enclosing form ID such as "form:regular-div" following
exception:
javax.servlet.ServletException
javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)
org.richfaces.tests.metamer.TestIdentityFilter.doFilter(TestIdentityFilter.java:93)
org.richfaces.webapp.PushFilter.doFilter(PushFilter.java:130)
root cause
java.lang.NullPointerException
org.richfaces.renderkit.html.TooltipRenderer.getScriptObjectOptions(TooltipRenderer.java:198)
org.richfaces.renderkit.html.TooltipRenderer.getScriptObject(TooltipRenderer.java:168)
org.richfaces.renderkit.html.TooltipRenderer.getScriptObject(TooltipRenderer.java:56)
org.richfaces.renderkit.html.DivPanelRenderer.writeJavaScript(DivPanelRenderer.java:126)
org.richfaces.renderkit.html.TooltipRenderer.doEncodeEnd(TooltipRenderer.java:233)
org.richfaces.renderkit.RendererBase.encodeEnd(RendererBase.java:175)
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1763)
org.richfaces.renderkit.RendererBase.renderChildren(RendererBase.java:276)
org.richfaces.renderkit.html.PanelRenderer.encodeEnd(PanelRenderer.java:181)
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1763)
javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304)
com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:105)
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759)
com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:401)
com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
org.richfaces.tests.metamer.TestIdentityFilter.doFilter(TestIdentityFilter.java:93)
org.richfaces.webapp.PushFilter.doFilter(PushFilter.java:130)
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira