Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13383

Select and CSV doesn't work: UndeclaredThrowableException in ResourceFactoryImpl

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 5.0.0.Alpha2
    • Fix Version/s: 5.0.0.Alpha2
    • Labels:
      None
    • Environment:

      RichFaces 5.0.0-SNAPSHOT
      Metamer 5.0.0-SNAPSHOT
      EAP 6.1.1
      Mojarra 2.1.19
      Java(TM) SE Runtime Environment 1.7.0_04-b20 @ Linux
      Chrome 31.0.1650.57 @ Linux x86_64

    • Sprint:
      5.0.0.Alpha2 - Sprint 7

      Description

      1. deploy Metame and open http://localhost:8080/metamer/faces/components/richSelect/RF-13383.xhtml

      result:

      • UndeclaredThrowableException is thrown
      • works fine when you replace r:select with r:inplaceSelect
      java.lang.reflect.UndeclaredThrowableException
      	$Proxy75.createResource(Unknown Source)
      	org.richfaces.resource.ResourceFactoryImpl.resolveMappedResource(ResourceFactoryImpl.java:393)
      	org.richfaces.resource.ResourceFactoryImpl.createMappedResource(ResourceFactoryImpl.java:360)
      	org.richfaces.resource.ResourceFactoryImpl.createResource(ResourceFactoryImpl.java:343)
      	org.richfaces.resource.ResourceHandlerImpl.createResource(ResourceHandlerImpl.java:270)
      	org.richfaces.resource.ResourceHandlerImpl.createResource(ResourceHandlerImpl.java:280)
      	com.sun.faces.renderkit.html_basic.ScriptRenderer.encodeEnd(ScriptRenderer.java:102)
      	org.richfaces.ui.core.UITransient.encodeEnd(UITransient.java:263)
      	javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
      	org.richfaces.ui.core.ResourceRenderer.encodeResource(ResourceRenderer.java:53)
      	org.richfaces.ui.core.ResourceRenderer.encodeDependentResources(ResourceRenderer.java:45)
      	org.richfaces.ui.core.ScriptsRenderer.encodeEnd(ScriptsRenderer.java:56)
      	org.richfaces.ui.core.UITransient.encodeEnd(UITransient.java:263)
      	javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
      	com.sun.faces.renderkit.html_basic.BodyRenderer.encodeEnd(BodyRenderer.java:105)
      	javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:881)
      	javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
      	javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782)
      	com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:439)
      	com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:124)
      	javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286)
      	javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286)
      	com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
      	com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      	com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      	javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
      	org.richfaces.tests.metamer.TestIdentityFilter.doFilter(TestIdentityFilter.java:93)
      JBWEB000071: root cause
      
      java.lang.reflect.InvocationTargetException
      	sun.reflect.GeneratedMethodAccessor930.invoke(Unknown Source)
      	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	java.lang.reflect.Method.invoke(Method.java:601)
      	org.richfaces.services.ServiceTracker$1.invoke(ServiceTracker.java:153)
      	$Proxy75.createResource(Unknown Source)
      	org.richfaces.resource.ResourceFactoryImpl.resolveMappedResource(ResourceFactoryImpl.java:393)
      	org.richfaces.resource.ResourceFactoryImpl.createMappedResource(ResourceFactoryImpl.java:360)
      	org.richfaces.resource.ResourceFactoryImpl.createResource(ResourceFactoryImpl.java:343)
      	org.richfaces.resource.ResourceHandlerImpl.createResource(ResourceHandlerImpl.java:270)
      	org.richfaces.resource.ResourceHandlerImpl.createResource(ResourceHandlerImpl.java:280)
      	com.sun.faces.renderkit.html_basic.ScriptRenderer.encodeEnd(ScriptRenderer.java:102)
      	org.richfaces.ui.core.UITransient.encodeEnd(UITransient.java:263)
      	javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
      	org.richfaces.ui.core.ResourceRenderer.encodeResource(ResourceRenderer.java:53)
      	org.richfaces.ui.core.ResourceRenderer.encodeDependentResources(ResourceRenderer.java:45)
      	org.richfaces.ui.core.ScriptsRenderer.encodeEnd(ScriptsRenderer.java:56)
      	org.richfaces.ui.core.UITransient.encodeEnd(UITransient.java:263)
      	javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
      	com.sun.faces.renderkit.html_basic.BodyRenderer.encodeEnd(BodyRenderer.java:105)
      	javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:881)
      	javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
      	javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782)
      	com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:439)
      	com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:124)
      	javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286)
      	javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286)
      	com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
      	com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      	com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      	javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
      	org.richfaces.tests.metamer.TestIdentityFilter.doFilter(TestIdentityFilter.java:93)
      JBWEB000071: root cause
      
      java.lang.NullPointerException
      	org.richfaces.resource.mapping.ResourceServletMapping.getResourcePath(ResourceServletMapping.java:90)
      	org.richfaces.resource.mapping.ResourceServletMapping.getMappedPath(ResourceServletMapping.java:83)
      	org.richfaces.resource.mapping.ResourceServletMapping.getResourcePath(ResourceServletMapping.java:72)
      	org.richfaces.resource.external.MappedResourceFactoryImpl.createResource(MappedResourceFactoryImpl.java:106)
      	sun.reflect.GeneratedMethodAccessor930.invoke(Unknown Source)
      	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	java.lang.reflect.Method.invoke(Method.java:601)
      	org.richfaces.services.ServiceTracker$1.invoke(ServiceTracker.java:153)
      	$Proxy75.createResource(Unknown Source)
      	org.richfaces.resource.ResourceFactoryImpl.resolveMappedResource(ResourceFactoryImpl.java:393)
      	org.richfaces.resource.ResourceFactoryImpl.createMappedResource(ResourceFactoryImpl.java:360)
      	org.richfaces.resource.ResourceFactoryImpl.createResource(ResourceFactoryImpl.java:343)
      	org.richfaces.resource.ResourceHandlerImpl.createResource(ResourceHandlerImpl.java:270)
      	org.richfaces.resource.ResourceHandlerImpl.createResource(ResourceHandlerImpl.java:280)
      	com.sun.faces.renderkit.html_basic.ScriptRenderer.encodeEnd(ScriptRenderer.java:102)
      	org.richfaces.ui.core.UITransient.encodeEnd(UITransient.java:263)
      	javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
      	org.richfaces.ui.core.ResourceRenderer.encodeResource(ResourceRenderer.java:53)
      	org.richfaces.ui.core.ResourceRenderer.encodeDependentResources(ResourceRenderer.java:45)
      	org.richfaces.ui.core.ScriptsRenderer.encodeEnd(ScriptsRenderer.java:56)
      	org.richfaces.ui.core.UITransient.encodeEnd(UITransient.java:263)
      	javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
      	com.sun.faces.renderkit.html_basic.BodyRenderer.encodeEnd(BodyRenderer.java:105)
      	javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:881)
      	javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
      	javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782)
      	com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:439)
      	com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:124)
      	javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286)
      	javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286)
      	com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
      	com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      	com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      	javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
      	org.richfaces.tests.metamer.TestIdentityFilter.doFilter(TestIdentityFilter.java:93)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lfryc Lukáš Fryč
                  Reporter:
                  ppitonak Pavol Pitonak
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 1 hour
                    1h
                    Remaining:
                    Remaining Estimate - 1 hour
                    1h
                    Logged:
                    Time Spent - Not Specified
                    Not Specified