1 Reply Latest reply on Jul 17, 2012 7:20 AM by Swapnil Rawat

    Error loading tree element with Firefox

    Federico Luna Newbie

      Hi everyone,

       

      I´m using richfaces 3.3.3.FINAL and I´m having troubles loading a tree over Firefox, on IE it works fine, but on Firefox, it´s showned but collapse/uncollapse image are not shown and the server log show this error:

       

       

      javax.faces.FacesException: Error decode resource data

      09:25:40,875 ERROR [[Faces Servlet]] Servlet.service() para servlet Faces Servlet lanzó excepción

      javax.faces.FacesException: Error decode resource data

                at org.ajax4jsf.resource.ResourceBuilderImpl.decrypt(ResourceBuilderImpl.java:627)

                at org.ajax4jsf.resource.ResourceBuilderImpl.getResourceDataForKey(ResourceBuilderImpl.java:371)

                at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:156)

                at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:141)

                at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:508)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)

                at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)

                at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:116)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)

                at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)

                at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

                at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)

                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

                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:330)

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

                at java.lang.Thread.run(Unknown Source)

      Caused by: java.util.zip.DataFormatException: invalid literal/length code

                at java.util.zip.Inflater.inflateBytes(Native Method)

                at java.util.zip.Inflater.inflate(Unknown Source)

                at java.util.zip.Inflater.inflate(Unknown Source)

                at org.ajax4jsf.resource.ResourceBuilderImpl.decrypt(ResourceBuilderImpl.java:621)

                ... 60 more

      09:25:40,875 ERROR [[Faces Servlet]] Servlet.service() para servlet Faces Servlet lanzó excepción

      javax.faces.FacesException: Error decode resource data

                at org.ajax4jsf.resource.ResourceBuilderImpl.decrypt(ResourceBuilderImpl.java:627)

                at org.ajax4jsf.resource.ResourceBuilderImpl.getResourceDataForKey(ResourceBuilderImpl.java:371)

                at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:156)

                at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:141)

                at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:508)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)

                at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)

                at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:116)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)

                at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

                at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

                at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)

                at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)

                at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

                at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)

                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

                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:330)

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

                at java.lang.Thread.run(Unknown Source)

      Caused by: java.util.zip.DataFormatException: invalid literal/length code

                at java.util.zip.Inflater.inflateBytes(Native Method)

                at java.util.zip.Inflater.inflate(Unknown Source)

                at java.util.zip.Inflater.inflate(Unknown Source)

                at org.ajax4jsf.resource.ResourceBuilderImpl.decrypt(ResourceBuilderImpl.java:621)

                ... 60 more

       

       

      My rich:tree is like above:

       

       

      Rich:tree

       

      <rich:tree switchType="client" id="showTree" >

                <rich:recursiveTreeNodesAdaptor

                          roots="#{beanProfiles.menusesProfile}" var="item"

                          nodes="#{item.children}">

                          <rich:treeNode >

                                    <h:selectBooleanCheckbox value="#{item.selected}"  style="#{item.style}"

                                    disabled="true">

                                              <a4j:support event="onchange" action="#{beanProfiles.cambiarCheckBox}" onsubmit="setCurrentMenuId('#{item.nseqMenu}');" reRender="opTreeNode" />

                                    </h:selectBooleanCheckbox>

                                    <h:outputText value="#{item.strSelected}" style="white-space:nowrap;"></h:outputText>

                          </rich:treeNode>

                </rich:recursiveTreeNodesAdaptor>

      </rich:tree>

       

      Anyone knows why it´s happening?