2 Replies Latest reply on Nov 24, 2010 8:40 AM by Pradeep Nayak

    Richfaces 4 custom skinning

    Pradeep Nayak Newbie

      Hi

       

      I'm  trying to use a custom skin.

      When I launch the application I get following error.

      UI components are rendered but skin is not rendered.

      I'm using the richfaces 4 m4 build.

      Is this a known issue or am I doing something wrong  ?

      If this is a bug then any idea if it'll be fixed by m5  build ?

       

       

       

      javax.faces.FacesException
          at org.richfaces.application.DependencyInjectionServiceImpl.inject(DependencyInjectionServiceImpl.java:371)
          at org.richfaces.resource.ResourceFactoryImpl.injectProperties(ResourceFactoryImpl.java:204)
          at org.richfaces.resource.ResourceFactoryImpl.createHandlerDependentResource(ResourceFactoryImpl.java:329)
          at org.richfaces.resource.ResourceFactoryImpl.createDynamicResource(ResourceFactoryImpl.java:459)
          at org.richfaces.resource.ResourceFactoryImpl.createResource(ResourceFactoryImpl.java:429)
          at org.richfaces.resource.ResourceHandlerImpl.createResource(ResourceHandlerImpl.java:270)
          at org.richfaces.resource.ResourceHandlerImpl.createResource(ResourceHandlerImpl.java:285)
          at com.sun.faces.el.ResourceELResolver.getValue(ResourceELResolver.java:105)
          at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
          at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:71)
          at org.apache.el.parser.AstValue.getValue(AstValue.java:123)
          at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
          at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.evaluateExpressionIntoBuffer(ResourceHelper.java:763)
          at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.readExpressionIntoBufferAndEvaluateIntoBuffer(ResourceHelper.java:696)
          at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.read(ResourceHelper.java:664)
          at java.io.InputStream.read(Unknown Source)
          at java.io.BufferedInputStream.read1(Unknown Source)
          at java.io.BufferedInputStream.read(Unknown Source)
          at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
          at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
          at sun.nio.cs.StreamDecoder.read(Unknown Source)
          at java.io.InputStreamReader.read(Unknown Source)
          at com.steadystate.css.parser.ASCII_CharStream.FillBuff(ASCII_CharStream.java:107)
          at com.steadystate.css.parser.ASCII_CharStream.readChar(ASCII_CharStream.java:183)
          at com.steadystate.css.parser.ASCII_CharStream.BeginToken(ASCII_CharStream.java:128)
          at com.steadystate.css.parser.SACParserCSS2TokenManager.getNextToken(SACParserCSS2TokenManager.java:3429)
          at com.steadystate.css.parser.SACParserCSS2.jj_ntk(SACParserCSS2.java:2486)
          at com.steadystate.css.parser.SACParserCSS2.styleSheetRuleList(SACParserCSS2.java:56)
          at com.steadystate.css.parser.SACParserCSS2.styleSheet(SACParserCSS2.java:48)
          at com.steadystate.css.parser.AbstractSACParser.parseStyleSheet(AbstractSACParser.java:318)
          at com.steadystate.css.parser.CSSOMParser.parseStyleSheet(CSSOMParser.java:138)
          at org.richfaces.resource.CompiledCSSResource.getInputStream(CompiledCSSResource.java:108)
          at org.richfaces.resource.CachedResourceImpl.initialize(CachedResourceImpl.java:178)
          at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:172)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:306)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          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:298)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
          at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.reflect.InvocationTargetException
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          at java.lang.reflect.Method.invoke(Unknown Source)
          at org.richfaces.application.DependencyInjectionServiceImpl.invokeMethod(DependencyInjectionServiceImpl.java:195)
          at org.richfaces.application.DependencyInjectionServiceImpl.inject(DependencyInjectionServiceImpl.java:364)
          ... 46 more
      Caused by: java.lang.NullPointerException
          at org.richfaces.renderkit.html.images.BaseControlBackgroundImage.initializeProperties(BaseControlBackgroundImage.java:48)
          at org.richfaces.renderkit.html.images.ButtonBackgroundImage.initializeProperties(ButtonBackgroundImage.java:39)
          at org.richfaces.renderkit.html.BaseGradient.initialize(BaseGradient.java:138)
          ... 52 more
      Nov 24, 2010 2:18:35 PM org.richfaces.resource.CompiledCSSResource getInputStream
      SEVERE: null
      java.lang.NullPointerException
          at org.richfaces.renderkit.html.BaseGradient.writeState(BaseGradient.java:297)
          at org.richfaces.util.Util.saveResourceState(Util.java:568)
          at org.richfaces.resource.BaseResourceWrapper.saveState(BaseResourceWrapper.java:153)
          at org.richfaces.util.Util.saveResourceState(Util.java:586)
          at org.richfaces.resource.AbstractBaseResource.getRequestPath(AbstractBaseResource.java:160)
          at com.sun.faces.el.ResourceELResolver.getValue(ResourceELResolver.java:133)
          at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
          at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:71)
          at org.apache.el.parser.AstValue.getValue(AstValue.java:123)
          at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
          at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.evaluateExpressionIntoBuffer(ResourceHelper.java:763)
          at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.readExpressionIntoBufferAndEvaluateIntoBuffer(ResourceHelper.java:696)
          at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.read(ResourceHelper.java:664)
          at java.io.InputStream.read(Unknown Source)
          at java.io.BufferedInputStream.read1(Unknown Source)
          at java.io.BufferedInputStream.read(Unknown Source)
          at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
          at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
          at sun.nio.cs.StreamDecoder.read(Unknown Source)
          at java.io.InputStreamReader.read(Unknown Source)
          at com.steadystate.css.parser.ASCII_CharStream.FillBuff(ASCII_CharStream.java:107)
          at com.steadystate.css.parser.ASCII_CharStream.readChar(ASCII_CharStream.java:183)
          at com.steadystate.css.parser.ASCII_CharStream.BeginToken(ASCII_CharStream.java:128)
          at com.steadystate.css.parser.SACParserCSS2TokenManager.getNextToken(SACParserCSS2TokenManager.java:3429)
          at com.steadystate.css.parser.SACParserCSS2.jj_ntk(SACParserCSS2.java:2486)
          at com.steadystate.css.parser.SACParserCSS2.styleSheetRuleList(SACParserCSS2.java:56)
          at com.steadystate.css.parser.SACParserCSS2.styleSheet(SACParserCSS2.java:48)
          at com.steadystate.css.parser.AbstractSACParser.parseStyleSheet(AbstractSACParser.java:318)
          at com.steadystate.css.parser.CSSOMParser.parseStyleSheet(CSSOMParser.java:138)
          at org.richfaces.resource.CompiledCSSResource.getInputStream(CompiledCSSResource.java:108)
          at org.richfaces.resource.CachedResourceImpl.initialize(CachedResourceImpl.java:178)
          at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:172)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:306)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          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:298)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
          at java.lang.Thread.run(Unknown Source)
      Nov 24, 2010 2:18:35 PM org.richfaces.resource.CompiledCSSResource getInputStream
      SEVERE: null
      java.lang.NullPointerException
          at org.richfaces.renderkit.html.BaseGradient.writeState(BaseGradient.java:297)
          at org.richfaces.util.Util.saveResourceState(Util.java:568)
          at org.richfaces.resource.BaseResourceWrapper.saveState(BaseResourceWrapper.java:153)
          at org.richfaces.util.Util.saveResourceState(Util.java:586)
          at org.richfaces.resource.AbstractBaseResource.getRequestPath(AbstractBaseResource.java:160)
          at com.sun.faces.el.ResourceELResolver.getValue(ResourceELResolver.java:133)
          at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
          at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:71)
          at org.apache.el.parser.AstValue.getValue(AstValue.java:123)
          at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
          at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.evaluateExpressionIntoBuffer(ResourceHelper.java:763)
          at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.readExpressionIntoBufferAndEvaluateIntoBuffer(ResourceHelper.java:696)
          at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.read(ResourceHelper.java:664)
          at java.io.InputStream.read(Unknown Source)
          at java.io.BufferedInputStream.read1(Unknown Source)
          at java.io.BufferedInputStream.read(Unknown Source)
          at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
          at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
          at sun.nio.cs.StreamDecoder.read(Unknown Source)
          at java.io.InputStreamReader.read(Unknown Source)
          at com.steadystate.css.parser.ASCII_CharStream.FillBuff(ASCII_CharStream.java:107)
          at com.steadystate.css.parser.ASCII_CharStream.readChar(ASCII_CharStream.java:183)
          at com.steadystate.css.parser.ASCII_CharStream.BeginToken(ASCII_CharStream.java:128)
          at com.steadystate.css.parser.SACParserCSS2TokenManager.getNextToken(SACParserCSS2TokenManager.java:3429)
          at com.steadystate.css.parser.SACParserCSS2.jj_ntk(SACParserCSS2.java:2486)
          at com.steadystate.css.parser.SACParserCSS2.styleSheetRuleList(SACParserCSS2.java:56)
          at com.steadystate.css.parser.SACParserCSS2.styleSheet(SACParserCSS2.java:48)
          at com.steadystate.css.parser.AbstractSACParser.parseStyleSheet(AbstractSACParser.java:318)
          at com.steadystate.css.parser.CSSOMParser.parseStyleSheet(CSSOMParser.java:138)
          at org.richfaces.resource.CompiledCSSResource.getInputStream(CompiledCSSResource.java:108)
          at org.richfaces.resource.CachedResourceImpl.initialize(CachedResourceImpl.java:178)
          at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:172)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:306)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          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:298)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
          at java.lang.Thread.run(Unknown Source)
      Nov 24, 2010 2:18:35 PM org.apache.catalina.core.StandardWrapperValve invoke
      SEVERE: Servlet.service() for servlet Faces Servlet threw exception
      java.lang.NullPointerException: Resource input stream is null
          at org.richfaces.resource.CachedResourceImpl.readContent(CachedResourceImpl.java:141)
          at org.richfaces.resource.CachedResourceImpl.initialize(CachedResourceImpl.java:178)
          at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:172)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:306)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          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:298)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
          at java.lang.Thread.run(Unknown Source)
      Nov 24, 2010 2:18:35 PM org.apache.catalina.core.StandardWrapperValve invoke
      SEVERE: Servlet.service() for servlet Faces Servlet threw exception
      java.lang.NullPointerException: Resource input stream is null
          at org.richfaces.resource.CachedResourceImpl.readContent(CachedResourceImpl.java:141)
          at org.richfaces.resource.CachedResourceImpl.initialize(CachedResourceImpl.java:178)
          at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:172)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:306)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          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:298)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
          at java.lang.Thread.run(Unknown Source)
      Nov 24, 2010 2:18:35 PM org.richfaces.resource.CompiledCSSResource getInputStream
      SEVERE: null
      java.lang.NullPointerException
          at org.richfaces.renderkit.html.BaseGradient.writeState(BaseGradient.java:297)
          at org.richfaces.util.Util.saveResourceState(Util.java:568)
          at org.richfaces.resource.BaseResourceWrapper.saveState(BaseResourceWrapper.java:153)
          at org.richfaces.util.Util.saveResourceState(Util.java:586)
          at org.richfaces.resource.AbstractBaseResource.getRequestPath(AbstractBaseResource.java:160)
          at com.sun.faces.el.ResourceELResolver.getValue(ResourceELResolver.java:133)
          at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
          at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:71)
          at org.apache.el.parser.AstValue.getValue(AstValue.java:123)
          at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
          at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.evaluateExpressionIntoBuffer(ResourceHelper.java:763)
          at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.readExpressionIntoBufferAndEvaluateIntoBuffer(ResourceHelper.java:696)
          at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.read(ResourceHelper.java:664)
          at java.io.InputStream.read(Unknown Source)
          at java.io.BufferedInputStream.read1(Unknown Source)
          at java.io.BufferedInputStream.read(Unknown Source)
          at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
          at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
          at sun.nio.cs.StreamDecoder.read(Unknown Source)
          at java.io.InputStreamReader.read(Unknown Source)
          at com.steadystate.css.parser.ASCII_CharStream.FillBuff(ASCII_CharStream.java:107)
          at com.steadystate.css.parser.ASCII_CharStream.readChar(ASCII_CharStream.java:183)
          at com.steadystate.css.parser.ASCII_CharStream.BeginToken(ASCII_CharStream.java:128)
          at com.steadystate.css.parser.SACParserCSS2TokenManager.getNextToken(SACParserCSS2TokenManager.java:3429)
          at com.steadystate.css.parser.SACParserCSS2.jj_ntk(SACParserCSS2.java:2486)
          at com.steadystate.css.parser.SACParserCSS2.styleSheetRuleList(SACParserCSS2.java:56)
          at com.steadystate.css.parser.SACParserCSS2.styleSheet(SACParserCSS2.java:48)
          at com.steadystate.css.parser.AbstractSACParser.parseStyleSheet(AbstractSACParser.java:318)
          at com.steadystate.css.parser.CSSOMParser.parseStyleSheet(CSSOMParser.java:138)
          at org.richfaces.resource.CompiledCSSResource.getInputStream(CompiledCSSResource.java:108)
          at org.richfaces.resource.CachedResourceImpl.initialize(CachedResourceImpl.java:178)
          at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:172)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:306)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          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:298)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
          at java.lang.Thread.run(Unknown Source)
      Nov 24, 2010 2:18:35 PM org.apache.catalina.core.StandardWrapperValve invoke
      SEVERE: Servlet.service() for servlet Faces Servlet threw exception
      java.lang.NullPointerException: Resource input stream is null
          at org.richfaces.resource.CachedResourceImpl.readContent(CachedResourceImpl.java:141)
          at org.richfaces.resource.CachedResourceImpl.initialize(CachedResourceImpl.java:178)
          at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:172)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:306)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          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:298)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
          at java.lang.Thread.run(Unknown Source)
      Nov 24, 2010 2:18:35 PM org.richfaces.resource.CompiledCSSResource getInputStream
      SEVERE: null
      java.lang.NullPointerException
          at org.richfaces.renderkit.html.BaseGradient.writeState(BaseGradient.java:297)
          at org.richfaces.util.Util.saveResourceState(Util.java:568)
          at org.richfaces.resource.BaseResourceWrapper.saveState(BaseResourceWrapper.java:153)
          at org.richfaces.util.Util.saveResourceState(Util.java:586)
          at org.richfaces.resource.AbstractBaseResource.getRequestPath(AbstractBaseResource.java:160)
          at com.sun.faces.el.ResourceELResolver.getValue(ResourceELResolver.java:133)
          at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
          at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:71)
          at org.apache.el.parser.AstValue.getValue(AstValue.java:123)
          at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
          at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.evaluateExpressionIntoBuffer(ResourceHelper.java:763)
          at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.readExpressionIntoBufferAndEvaluateIntoBuffer(ResourceHelper.java:696)
          at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.read(ResourceHelper.java:664)
          at java.io.InputStream.read(Unknown Source)
          at java.io.BufferedInputStream.read1(Unknown Source)
          at java.io.BufferedInputStream.read(Unknown Source)
          at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
          at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
          at sun.nio.cs.StreamDecoder.read(Unknown Source)
          at java.io.InputStreamReader.read(Unknown Source)
          at com.steadystate.css.parser.ASCII_CharStream.FillBuff(ASCII_CharStream.java:107)
          at com.steadystate.css.parser.ASCII_CharStream.readChar(ASCII_CharStream.java:183)
          at com.steadystate.css.parser.ASCII_CharStream.BeginToken(ASCII_CharStream.java:128)
          at com.steadystate.css.parser.SACParserCSS2TokenManager.getNextToken(SACParserCSS2TokenManager.java:3429)
          at com.steadystate.css.parser.SACParserCSS2.jj_ntk(SACParserCSS2.java:2486)
          at com.steadystate.css.parser.SACParserCSS2.styleSheetRuleList(SACParserCSS2.java:56)
          at com.steadystate.css.parser.SACParserCSS2.styleSheet(SACParserCSS2.java:48)
          at com.steadystate.css.parser.AbstractSACParser.parseStyleSheet(AbstractSACParser.java:318)
          at com.steadystate.css.parser.CSSOMParser.parseStyleSheet(CSSOMParser.java:138)
          at org.richfaces.resource.CompiledCSSResource.getInputStream(CompiledCSSResource.java:108)
          at org.richfaces.resource.CachedResourceImpl.initialize(CachedResourceImpl.java:178)
          at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:172)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:306)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          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:298)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
          at java.lang.Thread.run(Unknown Source)
      Nov 24, 2010 2:18:35 PM org.apache.catalina.core.StandardWrapperValve invoke
      SEVERE: Servlet.service() for servlet Faces Servlet threw exception
      java.lang.NullPointerException: Resource input stream is null
          at org.richfaces.resource.CachedResourceImpl.readContent(CachedResourceImpl.java:141)
          at org.richfaces.resource.CachedResourceImpl.initialize(CachedResourceImpl.java:178)
          at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:172)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:306)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          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:298)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
          at java.lang.Thread.run(Unknown Source)