[
https://issues.jboss.org/browse/RF-10510?page=com.atlassian.jira.plugin.s...
]
Jay Balunas commented on RF-10510:
----------------------------------
I believe you mean "queue", not "togglePanel" given the link and the
queue has an apply button and the togglePanel does not ;-)
This is not just a MyFaces issue. I confirmed on tomcat 6 and mojarra.
Showcase: NPE in togglePanel under MyFaces
------------------------------------------
Key: RF-10510
URL:
https://issues.jboss.org/browse/RF-10510
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: examples
Reporter: Nick Belaevski
Assignee: Jay Balunas
Fix For: 4.0.0.CR1
1) Navigate to
http://localhost:8080/richfaces-showcase/richfaces/component-sample.jsf?d...
2) Press apply button -> javax.faces.FacesException:
java.lang.IllegalArgumentException: Name is required parameter.
at
org.apache.myfaces.shared_impl.context.ExceptionHandlerImpl.wrap(ExceptionHandlerImpl.java:241)
at
org.apache.myfaces.shared_impl.context.ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:156)
at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:191)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: java.lang.IllegalArgumentException: Name is required parameter.
at
org.richfaces.component.AbstractTogglePanel.getChildIndex(AbstractTogglePanel.java:563)
at org.richfaces.component.AbstractTogglePanel.getItem(AbstractTogglePanel.java:533)
at
org.richfaces.renderkit.html.TogglePanelRenderer.doDecode(TogglePanelRenderer.java:84)
at org.richfaces.renderkit.RendererBase.decode(RendererBase.java:82)
at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:399)
at org.richfaces.component.AbstractTogglePanel.decode(AbstractTogglePanel.java:331)
at
org.richfaces.component.AbstractTogglePanel.processDecodes(AbstractTogglePanel.java:211)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1170)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1170)
at javax.faces.component.UIViewRoot._processDecodesDefault(UIViewRoot.java:1312)
at javax.faces.component.UIViewRoot.access$400(UIViewRoot.java:75)
at
javax.faces.component.UIViewRoot$ApplyRequestValuesPhaseProcessor.process(UIViewRoot.java:1375)
at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1278)
at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:714)
at
org.apache.myfaces.lifecycle.ApplyRequestValuesExecutor.execute(ApplyRequestValuesExecutor.java:34)
at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:171)
... 19 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira