[
https://issues.jboss.org/browse/WFLY-2200?page=com.atlassian.jira.plugin....
]
Tomaz Cerar commented on WFLY-2200:
-----------------------------------
Fixed in Undertow Beta 16
NoSuchElementException after upgrade from Beta13 to Beta14
----------------------------------------------------------
Key: WFLY-2200
URL:
https://issues.jboss.org/browse/WFLY-2200
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Affects Versions: 8.0.0.Beta1
Reporter: Juergen Zimmermann
Assignee: Stuart Douglas
Fix For: 8.0.0.Beta1
I just switched to a newer WildFly snapshot having Undertow 1.0.0.Beta14. But I'm
getting the following stacktrace caused by HttpServletRequestImpl.getParameterNames().
This error didn't happen with 1.0.0.Beta13.
{code}
SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (default task-45) Error
Rendering View[/index.xhtml]: java.util.NoSuchElementException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:929) [rt.jar:1.7.0_40]
at java.util.HashMap$KeyIterator.next(HashMap.java:960) [rt.jar:1.7.0_40]
at
io.undertow.servlet.spec.HttpServletRequestImpl.getParameterNames(HttpServletRequestImpl.java:605)
[undertow-servlet-1.0.0.Beta14.jar:1.0.0.Beta14]
at
com.sun.faces.context.RequestParameterMap.getEntryIterator(RequestParameterMap.java:126)
[jsf-impl-2.1.26.jar:2.1.26]
at com.sun.faces.context.BaseContextMap$EntrySet.iterator(BaseContextMap.java:166)
[jsf-impl-2.1.26.jar:2.1.26]
at com.sun.faces.context.BaseContextMap$BaseSet.size(BaseContextMap.java:154)
[jsf-impl-2.1.26.jar:2.1.26]
at java.util.Collections$UnmodifiableCollection.size(Collections.java:1055)
[rt.jar:1.7.0_40]
at java.util.AbstractMap.size(AbstractMap.java:84) [rt.jar:1.7.0_40]
at java.util.AbstractMap.isEmpty(AbstractMap.java:93) [rt.jar:1.7.0_40]
at java.util.Collections$UnmodifiableMap.isEmpty(Collections.java:1336)
[rt.jar:1.7.0_40]
at com.sun.faces.facelets.util.DevTools.writeVariables(DevTools.java:330)
[jsf-impl-2.1.26.jar:2.1.26]
at com.sun.faces.facelets.util.DevTools.writeVariables(DevTools.java:199)
[jsf-impl-2.1.26.jar:2.1.26]
at com.sun.faces.facelets.util.DevTools.debugHtml(DevTools.java:186)
[jsf-impl-2.1.26.jar:2.1.26]
at com.sun.faces.facelets.tag.ui.UIDebug.writeDebugOutput(UIDebug.java:140)
[jsf-impl-2.1.26.jar:2.1.26]
at com.sun.faces.facelets.tag.ui.UIDebug.encodeBegin(UIDebug.java:122)
[jsf-impl-2.1.26.jar:2.1.26]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1817)
[jsf-api-2.1.26.jar:2.1]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1822)
[jsf-api-2.1.26.jar:2.1]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1822)
[jsf-api-2.1.26.jar:2.1]
at
com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:447)
[jsf-impl-2.1.26.jar:2.1.26]
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125)
[jsf-impl-2.1.26.jar:2.1.26]
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286)
[jsf-api-2.1.26.jar:2.1]
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286)
[jsf-api-2.1.26.jar:2.1]
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286)
[jsf-api-2.1.26.jar:2.1]
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
[jsf-impl-2.1.26.jar:2.1.26]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.26.jar:2.1.26]
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
[jsf-impl-2.1.26.jar:2.1.26]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
[jsf-api-2.1.26.jar:2.1]
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:87)
[undertow-servlet-1.0.0.Beta14.jar:1.0.0.Beta14]
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:93)
[undertow-servlet-1.0.0.Beta14.jar:1.0.0.Beta14]
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
[undertow-servlet-1.0.0.Beta14.jar:1.0.0.Beta14]
at
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:81)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
[undertow-core-1.0.0.Beta14.jar:1.0.0.Beta14]
at
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113)
[undertow-servlet-1.0.0.Beta14.jar:1.0.0.Beta14]
at
io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52)
[undertow-core-1.0.0.Beta14.jar:1.0.0.Beta14]
at
io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51)
[undertow-core-1.0.0.Beta14.jar:1.0.0.Beta14]
at
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45)
[undertow-core-1.0.0.Beta14.jar:1.0.0.Beta14]
at
io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:55)
[undertow-servlet-1.0.0.Beta14.jar:1.0.0.Beta14]
at
io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
[undertow-core-1.0.0.Beta14.jar:1.0.0.Beta14]
at
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:65)
[undertow-servlet-1.0.0.Beta14.jar:1.0.0.Beta14]
at
io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:70)
[undertow-core-1.0.0.Beta14.jar:1.0.0.Beta14]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
[undertow-core-1.0.0.Beta14.jar:1.0.0.Beta14]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
[undertow-core-1.0.0.Beta14.jar:1.0.0.Beta14]
at
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:209)
[undertow-servlet-1.0.0.Beta14.jar:1.0.0.Beta14]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:196)
[undertow-servlet-1.0.0.Beta14.jar:1.0.0.Beta14]
at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:69)
[undertow-servlet-1.0.0.Beta14.jar:1.0.0.Beta14]
at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:130)
[undertow-servlet-1.0.0.Beta14.jar:1.0.0.Beta14]
at io.undertow.server.HttpHandlers.executeRootHandler(HttpHandlers.java:36)
[undertow-core-1.0.0.Beta14.jar:1.0.0.Beta14]
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:614)
[undertow-core-1.0.0.Beta14.jar:1.0.0.Beta14]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_40]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_40]
at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_40]
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira