[
https://issues.jboss.org/browse/WFLY-3296?page=com.atlassian.jira.plugin....
]
Dino Tsoumakis commented on WFLY-3296:
--------------------------------------
https://bugs.openjdk.java.net/browse/JDK-8039776
Fix should be included in 8u20.
NullPointerException with JDK 1.8.0_05 on Windows
-------------------------------------------------
Key: WFLY-3296
URL:
https://issues.jboss.org/browse/WFLY-3296
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: JSF
Affects Versions: 8.1.0.CR1
Environment: Microsoft Windows [Version 6.1.7601]
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) Client VM (build 25.5-b02, mixed mode)
Reporter: Dino Tsoumakis
Assignee: Farah Juma
Running the same web-app on Wildfly 8.1.0.CR1 with
a) JDK 1.7.0_51
b) JDK 1.8.0_05
results in no problem on 1.7 JDK, but throws a NullPointerException on JDK 1.8. This
might be a JDK bug.
Stack trace on JDK 1.8 is:
2014-04-27 21:05:52,207 SEVERE [javax.enterprise.resource.webcontainer.jsf.application]
(default task-15) Error Rendering View[/secure/dashboard.xhtml]:
java.lang.NullPointerException
at java.lang.Class.isAssignableFrom(Native Method) [rt.jar:1.8.0_05]
at java.beans.Introspector.isAssignable(Introspector.java:809) [rt.jar:1.8.0_05]
at java.beans.Introspector.processPropertyDescriptors(Introspector.java:705)
[rt.jar:1.8.0_05]
at java.beans.Introspector.getTargetPropertyInfo(Introspector.java:553)
[rt.jar:1.8.0_05]
at java.beans.Introspector.getBeanInfo(Introspector.java:428) [rt.jar:1.8.0_05]
at java.beans.Introspector.getBeanInfo(Introspector.java:173) [rt.jar:1.8.0_05]
at javax.el.BeanELResolver$BeanProperties.<init>(BeanELResolver.java:223)
[jboss-el-api_3.0_spec-1.0.3.Final.jar:1.0.3.Final]
at javax.el.BeanELResolver.getBeanProperty(BeanELResolver.java:726)
[jboss-el-api_3.0_spec-1.0.3.Final.jar:1.0.3.Final]
at javax.el.BeanELResolver.getValue(BeanELResolver.java:351)
[jboss-el-api_3.0_spec-1.0.3.Final.jar:1.0.3.Final]
at
com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
[jsf-impl-2.2.6-jbossorg-3.jar:]
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
[jsf-impl-2.2.6-jbossorg-3.jar:]
at com.sun.el.parser.AstValue.getValue(AstValue.java:140) [javax.el-3.0.0.jar:]
at com.sun.el.parser.AstValue.getValue(AstValue.java:204) [javax.el-3.0.0.jar:]
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:226)
[javax.el-3.0.0.jar:]
at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50)
[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50)
[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)
[jsf-impl-2.2.6-jbossorg-3.jar:]
at com.sun.faces.facelets.component.UIRepeat.getValue(UIRepeat.java:279)
[jsf-impl-2.2.6-jbossorg-3.jar:]
at com.sun.faces.facelets.component.UIRepeat.getDataModel(UIRepeat.java:255)
[jsf-impl-2.2.6-jbossorg-3.jar:]
at com.sun.faces.facelets.component.UIRepeat.setIndex(UIRepeat.java:523)
[jsf-impl-2.2.6-jbossorg-3.jar:]
at com.sun.faces.facelets.component.UIRepeat.process(UIRepeat.java:577)
[jsf-impl-2.2.6-jbossorg-3.jar:]
at com.sun.faces.facelets.component.UIRepeat.encodeChildren(UIRepeat.java:1110)
[jsf-impl-2.2.6-jbossorg-3.jar:]
at
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304)
[jsf-impl-2.2.6-jbossorg-3.jar:]
at
com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:115)
[jsf-impl-2.2.6-jbossorg-3.jar:]
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:889)
[jboss-jsf-api_2.2_spec-2.2.6.jar:2.2.6]
at
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304)
[jsf-impl-2.2.6-jbossorg-3.jar:]
at
com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:115)
[jsf-impl-2.2.6-jbossorg-3.jar:]
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:889)
[jboss-jsf-api_2.2_spec-2.2.6.jar:2.2.6]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1857)
[jboss-jsf-api_2.2_spec-2.2.6.jar:2.2.6]
at
com.sun.faces.renderkit.html_basic.CompositeRenderer.encodeChildren(CompositeRenderer.java:78)
[jsf-impl-2.2.6-jbossorg-3.jar:]
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:889)
[jboss-jsf-api_2.2_spec-2.2.6.jar:2.2.6]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1857)
[jboss-jsf-api_2.2_spec-2.2.6.jar:2.2.6]
at javax.faces.render.Renderer.encodeChildren(Renderer.java:176)
[jboss-jsf-api_2.2_spec-2.2.6.jar:2.2.6]
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:889)
[jboss-jsf-api_2.2_spec-2.2.6.jar:2.2.6]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1857)
[jboss-jsf-api_2.2_spec-2.2.6.jar:2.2.6]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1860)
[jboss-jsf-api_2.2_spec-2.2.6.jar:2.2.6]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1860)
[jboss-jsf-api_2.2_spec-2.2.6.jar:2.2.6]
at
com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:461)
[jsf-impl-2.2.6-jbossorg-3.jar:]
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:133)
[jsf-impl-2.2.6-jbossorg-3.jar:]
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
[jboss-jsf-api_2.2_spec-2.2.6.jar:2.2.6]
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
[jboss-jsf-api_2.2_spec-2.2.6.jar:2.2.6]
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
[jsf-impl-2.2.6-jbossorg-3.jar:]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
[jsf-impl-2.2.6-jbossorg-3.jar:]
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
[jsf-impl-2.2.6-jbossorg-3.jar:]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:647)
[jboss-jsf-api_2.2_spec-2.2.6.jar:2.2.6]
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
[undertow-servlet-1.0.5.Final.jar:1.0.5.Final]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)
[undertow-servlet-1.0.5.Final.jar:1.0.5.Final]
at
de.diehl.metering.izar.net.application.components.fileupload.FileUploadFilter.doFilter(FileUploadFilter.java:53)
[classes:]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
[undertow-servlet-1.0.5.Final.jar:1.0.5.Final]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
[undertow-servlet-1.0.5.Final.jar:1.0.5.Final]
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
[undertow-servlet-1.0.5.Final.jar:1.0.5.Final]
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61)
[undertow-servlet-1.0.5.Final.jar:1.0.5.Final]
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
[undertow-servlet-1.0.5.Final.jar:1.0.5.Final]
at
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
[undertow-core-1.0.5.Final.jar:1.0.5.Final]
at
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113)
[undertow-servlet-1.0.5.Final.jar:1.0.5.Final]
at
io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:56)
[undertow-servlet-1.0.5.Final.jar:1.0.5.Final]
at
io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51)
[undertow-core-1.0.5.Final.jar:1.0.5.Final]
at
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45)
[undertow-core-1.0.5.Final.jar:1.0.5.Final]
at
io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:61)
[undertow-servlet-1.0.5.Final.jar:1.0.5.Final]
at
io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)
[undertow-servlet-1.0.5.Final.jar:1.0.5.Final]
at
io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
[undertow-core-1.0.5.Final.jar:1.0.5.Final]
at
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)
[undertow-servlet-1.0.5.Final.jar:1.0.5.Final]
at
io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
[undertow-core-1.0.5.Final.jar:1.0.5.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
[undertow-core-1.0.5.Final.jar:1.0.5.Final]
at
org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
[undertow-core-1.0.5.Final.jar:1.0.5.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
[undertow-core-1.0.5.Final.jar:1.0.5.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:240)
[undertow-servlet-1.0.5.Final.jar:1.0.5.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:227)
[undertow-servlet-1.0.5.Final.jar:1.0.5.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:73)
[undertow-servlet-1.0.5.Final.jar:1.0.5.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:146)
[undertow-servlet-1.0.5.Final.jar:1.0.5.Final]
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:168)
[undertow-core-1.0.5.Final.jar:1.0.5.Final]
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:727)
[undertow-core-1.0.5.Final.jar:1.0.5.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[rt.jar:1.8.0_05]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[rt.jar:1.8.0_05]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_05]
--
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