Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.5.0.Alpha2, 5.0.0.Alpha3
    • Component/s: component
    • Labels:
      None
    • Environment:

      JBoss AS 7.1
      FF 26.0
      Latest RF 4.5/5 Showcase

    • Sprint:
      5.0.0.Alpha3 - Sprint 2
    • Steps to Reproduce:
      • Start JBoss AS 7.1
      • Deploy Showcase for 4.5/5
      • See description for further info about what page to visit.

      Description

      This is a follow-up issue to RF-13314 for RF version 4.5/5.

      Following problems were found when verifying for 4.5 and 5:

      I used Showcase versions 4.5/5 and checked the web and server consoles for errors. (using FF and JBoss AS 7.1.)

      • RF 4.5
        Here you get the following error in server console when you try to access a page, no matter which one. The error is in CacheLoader in org.richfaces:richfaces-queue.
        Steps to reproduce:
        • Start JBoss AS 7.1
        • Deploy showcase for 4.5.x
        • Go to main page
          10:40:34,627 SEVERE [org.richfaces.log.Resource] (http--127.0.0.1-8080-6) 'class' or 'resources' properties should be declared in library descriptor: org.richfaces:richfaces-queue
          10:40:34,631 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (http--127.0.0.1-8080-6) Error Rendering View[/richfaces/component-sample.xhtml]: com.google.common.cache.CacheLoader$InvalidCacheLoadException: CacheLoader returned null for key org.richfaces:richfaces-queue.
          	at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2383) [guava-11.0.2.jar:]
          	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2351) [guava-11.0.2.jar:]
          	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313) [guava-11.0.2.jar:]
          	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228) [guava-11.0.2.jar:]
          	at com.google.common.cache.LocalCache.get(LocalCache.java:3965) [guava-11.0.2.jar:]
          	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3969) [guava-11.0.2.jar:]
          	at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4829) [guava-11.0.2.jar:]
          	at org.richfaces.resource.ResourceLibraryFactoryImpl.getResourceLibrary(ResourceLibraryFactoryImpl.java:85) [richfaces-5.0.0.Alpha2.jar:5.0.0.Alpha2]
          	at org.richfaces.ui.core.ResourceLibraryRenderer.encodeEnd(ResourceLibraryRenderer.java:67) [richfaces-5.0.0.Alpha2.jar:5.0.0.Alpha2]
          	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
          	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
          	at com.sun.faces.renderkit.html_basic.HeadRenderer.encodeHeadResources(HeadRenderer.java:105) [jsf-impl-2.1.7-jbossorg-2.jar:]
          	at com.sun.faces.renderkit.html_basic.HeadRenderer.encodeEnd(HeadRenderer.java:92) [jsf-impl-2.1.7-jbossorg-2.jar:]
          	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
          	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
          	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
          	at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:402) [jsf-impl-2.1.7-jbossorg-2.jar:]
          	at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125) [jsf-impl-2.1.7-jbossorg-2.jar:]
          	at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
          	at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
          	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121) [jsf-impl-2.1.7-jbossorg-2.jar:]
          	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.7-jbossorg-2.jar:]
          	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-2.1.7-jbossorg-2.jar:]
          	at org.richfaces.demo.arrangeablemodel.PersistenceLifecycle.render(PersistenceLifecycle.java:66) [classes:]
          	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
          	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]
          	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
          	at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
          	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
          	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
          	at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:172) [rewrite-servlet-1.0.4.Final.jar:1.0.4.Final]
          	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
          	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
          	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]
          	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]
          	at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
          	at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
          	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]
          	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]
          	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]
          	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]
          	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]
          	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
          	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
          	at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
          
          
      • RF 5
        The main page is accessible and so are components however there are some errors present. The list of affected components is mentioned below in "steps to reproduce" section.
        Steps to reproduce:
        • Start JBossAS 7.1
        • Deploy showcase for RF 5
        • I was not able to visit actionListener page and got an error which I think will not be related to resources:
          javax.faces.view.facelets.TagAttributeException: /richfaces/actionListener/samples/actionListener-sample.xhtml @30,88 listener="#{actionListenerBean.handleActionMethod}" null
          	at com.sun.faces.facelets.tag.TagAttributeImpl.getMethodExpression(TagAttributeImpl.java:232)
          	at org.richfaces.ui.ajax.ActionListenerHandler.applyAttachedObject(ActionListenerHandler.java:100)
          	at org.richfaces.ui.ajax.ActionListenerHandler.apply(ActionListenerHandler.java:138)
          	at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
          	at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
          	at org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
          	at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
          	at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
          	at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
          	at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
          	at org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
          	at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
          	at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
          	at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
          	at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
          	at org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
          	at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
          	at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
          	at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:166)
          	at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
          	at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
          	at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:308)
          	at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:367)
          	at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:346)
          	at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
          	at com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:147)
          	at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
          	at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:166)
          	at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
          	at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
          	at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:308)
          	at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:367)
          	at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:346)
          	at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
          	at com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:147)
          	at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
          	at com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:107)
          	at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:178)
          	at com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:395)
          	at com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:366)
          	at com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:112)
          	at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
          	at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
          	at org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
          	at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
          	at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
          	at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
          	at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
          	at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
          	at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
          	at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:308)
          	at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:367)
          	at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:346)
          	at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
          	at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:155)
          	at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
          	at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
          	at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:152)
          	at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:774)
          	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:100)
          	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
          	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
          	at org.richfaces.demo.arrangeablemodel.PersistenceLifecycle.render(PersistenceLifecycle.java:66)
          	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
          	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
          	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
          	at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
          	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
          	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
          	at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:172)
          	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
          	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
          	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
          	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
          	at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
          	at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
          	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
          	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
          	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:877)
          	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
          	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
          	at java.lang.Thread.run(Thread.java:724)
          Caused by: java.lang.NullPointerException
          	at com.sun.faces.facelets.tag.TagAttributeImpl.getMethodExpression(TagAttributeImpl.java:204)
          	... 83 more
          

      And when accessing pickList or orderingList for the first time (or refreshing with CTRL +F5) I am getting following warning in server console:

      11:03:25,590 WARNING [javax.enterprise.resource.webcontainer.jsf.context] (http--127.0.0.1-8080-2) JSF1091: No mime type could be found for file font-awesome/font/fontawesome-webfont.woff.  To resolve this, add a mime-type mapping to the applications web.xml.
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lfryc Lukáš Fryč
                  Reporter:
                  manovotn Matěj Novotný
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: