[
https://jira.jboss.org/jira/browse/RF-8598?page=com.atlassian.jira.plugin...
]
Nick Belaevski resolved RF-8598.
--------------------------------
Resolution: Duplicate Issue
Removal of resources from richfaces-impl.jar + removal of core-ui.jar is checked to
resolve the problem. So, the problem is exactly the same as described in the linked
issue.
h:outputStylesheet doesn't work in JBoss 6 M2
---------------------------------------------
Key: RF-8598
URL:
https://jira.jboss.org/jira/browse/RF-8598
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.0.0.ALPHA1
Environment: Fedora 12, OpenJDK 1.6.0_17, JBoss 6 M2, RichFaces 4.0.0-SNAPSHOT
(from 17 Apr 2010)
Reporter: Pavol Pitonak
Assignee: Nick Belaevski
Attachments: stylesheet.zip
The attached project works as expected in Apache Tomcat 6.0.24. In JBoss 6 M2 it throws
an exception (see down). If RichFaces are removed from project completely, everything
works.
<h:outputStylesheet library="css" name="common.css" />
java.lang.NullPointerException
at org.apache.naming.resources.ProxyDirContext.listBindings(ProxyDirContext.java:714)
at
org.apache.catalina.core.ApplicationContext.listCollectionPaths(ApplicationContext.java:1397)
at
org.apache.catalina.core.ApplicationContext.getResourcePathsInternal(ApplicationContext.java:645)
at
org.apache.catalina.core.ApplicationContext.getResourcePaths(ApplicationContext.java:628)
at
org.apache.catalina.core.ApplicationContextFacade.getResourcePaths(ApplicationContextFacade.java:199)
at
com.sun.faces.context.ExternalContextImpl.getResourcePaths(ExternalContextImpl.java:480)
at
com.sun.faces.application.resource.WebappResourceHelper.findLibrary(WebappResourceHelper.java:141)
at
com.sun.faces.application.resource.ResourceManager.findLibrary(ResourceManager.java:337)
at
com.sun.faces.application.resource.ResourceManager.doLookup(ResourceManager.java:222)
at
com.sun.faces.application.resource.ResourceManager.findResource(ResourceManager.java:181)
at
com.sun.faces.application.resource.ResourceHandlerImpl.createResource(ResourceHandlerImpl.java:140)
at
org.richfaces.resource.ResourceHandlerImpl.createResource(ResourceHandlerImpl.java:463)
at
org.richfaces.resource.ResourceHandlerImpl.createResource(ResourceHandlerImpl.java:471)
at
com.sun.faces.renderkit.html_basic.StylesheetRenderer.encodeEnd(StylesheetRenderer.java:91)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:878)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1620)
at com.sun.faces.renderkit.html_basic.HeadRenderer.encodeEnd(HeadRenderer.java:93)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:878)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1620)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
at
com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:380)
at
com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:336)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:872)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
at java.lang.Thread.run(Thread.java:636)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira