ICEpush
  1. ICEpush
  2. PUSH-173

ICEpush EE 3.0.0.GA - NPE on org.icepush.util.ExtensionRegistry.getBestExtension

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.0.1, EE 3.0.0
    • Fix Version/s: EE-4.1.0.GA
    • Component/s: Push Library
    • Labels:
      None
    • Environment:
      Jboss 5.1G.A, WAS7, Chrome, FF, IE, ICEfaces EE 3.0.0G.A.
    • Assignee Priority:
      P2
    • Salesforce Case Reference:
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      A variety of workarounds are possible:
      add <listener> to web.xml for the various ICEfaces/ICEpush listeners
      add icepush.tld under WEB-INF

      However the best approach is to deploy the application as a zipped .war rather than an exploded directory.

      The same issue can occur when trying to include ICEfaces libs (e.g. icepush.jar) as shared libs in an .ear deployment. The solution is to simply include all libraries in the WEB-INF/lib directory of each war module.
      Show
      A variety of workarounds are possible: add <listener> to web.xml for the various ICEfaces/ICEpush listeners add icepush.tld under WEB-INF However the best approach is to deploy the application as a zipped .war rather than an exploded directory. The same issue can occur when trying to include ICEfaces libs (e.g. icepush.jar) as shared libs in an .ear deployment. The solution is to simply include all libraries in the WEB-INF/lib directory of each war module.

      Description

      The following exception is thrown when a sample application attached to this ticket is deployed and accessed on JBoss 5.1 server.

      at org.icepush.util.ExtensionRegistry.getBestExtension(ExtensionRegistry.java:69)
      at org.icefaces.impl.push.servlet.ICEpushResourceHandler$ICEpushResourceHandlerImpl.beforePhase(ICEpushResourceHandler.java:169)
      at org.icefaces.impl.push.servlet.ICEpushResourceHandler.beforePhase(ICEpushResourceHandler.java:109)
      at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228)
      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99)
      at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:111)
      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at com.cvty.coco.presentation.jsf.util.RequestWrapperFilter.doFilter(RequestWrapperFilter.java:45)
      at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
      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 com.cvty.coco.presentation.jsf.util.AuthFilter.doFilter(AuthFilter.java:95)
      at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
      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: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.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)
      at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)
      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:599)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
      at java.lang.Thread.run(Thread.java:619)

      Sample application is working fine when you remove icepush-ee.jar library.


      To reproduce:
      1. Place ICEFacesTestApp.war in <JBOSS location>/server/default/deploy location
      2. Start the server.
      3. Access application URL via browser.

      NOTE:
      Similar issue was reported for WAS7 application server

        Issue Links

          Activity

          Evgheni Sadovoi created issue -
          Evgheni Sadovoi made changes -
          Field Original Value New Value
          Attachment ICEFacesTestApp.war.rar [ 14307 ]
          Evgheni Sadovoi made changes -
          Salesforce Case [5007000000LGK7K, 5007000000KHPQ1]
          Evgheni Sadovoi made changes -
          Assignee Ken Fyten [ ken.fyten ]
          Evgheni Sadovoi made changes -
          Salesforce Case [5007000000KHPQ1, 5007000000LGK7K] [5007000000KHPQ1, 5007000000LGK7K, 5007000000LFlwQ]
          Evgheni Sadovoi made changes -
          Environment Jboss 5.1G.A, Chrome, FF, IE, ICEfaces EE 3.0.0G.A. Jboss 5.1G.A, WAS7, Chrome, FF, IE, ICEfaces EE 3.0.0G.A.
          Description The following exception is thrown when a sample application attached to this ticket is deployed and accessed on JBoss 5.1 server.

          at org.icepush.util.ExtensionRegistry.getBestExtension(ExtensionRegistry.java:69)
          at org.icefaces.impl.push.servlet.ICEpushResourceHandler$ICEpushResourceHandlerImpl.beforePhase(ICEpushResourceHandler.java:169)
          at org.icefaces.impl.push.servlet.ICEpushResourceHandler.beforePhase(ICEpushResourceHandler.java:109)
          at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228)
          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99)
          at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:111)
          at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.cvty.coco.presentation.jsf.util.RequestWrapperFilter.doFilter(RequestWrapperFilter.java:45)
          at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
          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 com.cvty.coco.presentation.jsf.util.AuthFilter.doFilter(AuthFilter.java:95)
          at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
          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: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.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)
          at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)
          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:599)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
          at java.lang.Thread.run(Thread.java:619)

          Sample application is working fine when you remove icepush-ee.jar library.


          To reproduce:
          1. Place ICEFacesTestApp.war in <JBOSS location>/server/default/deploy location
          2. Start the server.
          3. Access application URL via browser.
          The following exception is thrown when a sample application attached to this ticket is deployed and accessed on JBoss 5.1 server.

          at org.icepush.util.ExtensionRegistry.getBestExtension(ExtensionRegistry.java:69)
          at org.icefaces.impl.push.servlet.ICEpushResourceHandler$ICEpushResourceHandlerImpl.beforePhase(ICEpushResourceHandler.java:169)
          at org.icefaces.impl.push.servlet.ICEpushResourceHandler.beforePhase(ICEpushResourceHandler.java:109)
          at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228)
          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99)
          at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:111)
          at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.cvty.coco.presentation.jsf.util.RequestWrapperFilter.doFilter(RequestWrapperFilter.java:45)
          at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
          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 com.cvty.coco.presentation.jsf.util.AuthFilter.doFilter(AuthFilter.java:95)
          at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
          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: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.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)
          at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)
          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:599)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
          at java.lang.Thread.run(Thread.java:619)

          Sample application is working fine when you remove icepush-ee.jar library.


          To reproduce:
          1. Place ICEFacesTestApp.war in <JBOSS location>/server/default/deploy location
          2. Start the server.
          3. Access application URL via browser.

          NOTE:
          Similar issue was reported for WAS7 application server
          Ken Fyten made changes -
          Fix Version/s EE-3.0.0.GA_P01 [ 10329 ]
          Fix Version/s 3.1 [ 10310 ]
          Assignee Priority P2
          Assignee Ken Fyten [ ken.fyten ] Ted Goddard [ ted.goddard ]
          Ken Fyten made changes -
          Assignee Priority P2 P1
          Affects Version/s 3.0.1 [ 10311 ]
          Ted Goddard made changes -
          Workaround Description A variety of workarounds are possible:
          add <listener> to web.xml for the various ICEfaces/ICEpush listeners
          add icepush.tld under WEB-IN

          However the best approach is to deploy the application as a zipped .war rather than an exploded directory.
          Workaround Exists [Yes]
          Ted Goddard made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ted Goddard made changes -
          Workaround Description A variety of workarounds are possible:
          add <listener> to web.xml for the various ICEfaces/ICEpush listeners
          add icepush.tld under WEB-IN

          However the best approach is to deploy the application as a zipped .war rather than an exploded directory.
          A variety of workarounds are possible:
          add <listener> to web.xml for the various ICEfaces/ICEpush listeners
          add icepush.tld under WEB-INF

          However the best approach is to deploy the application as a zipped .war rather than an exploded directory.
          Ken Fyten made changes -
          Fix Version/s EE 3.1.0 [ 10323 ]
          Fix Version/s 3.1 [ 10310 ]
          Affects Version/s 3.0.1 [ 10311 ]
          Ken Fyten made changes -
          Summary ICEFaces 3.0 - NPE on org.icepush.util.ExtensionRegistry.getBestExtension ICEpush EE 3.0.0.GA - NPE on org.icepush.util.ExtensionRegistry.getBestExtension
          Ken Fyten made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Assignee Priority P1 P2
          Ken Fyten made changes -
          Fix Version/s 3.1 [ 10310 ]
          Fix Version/s EE 3.1.0 [ 10323 ]
          Affects Version/s 3.0.1 [ 10311 ]
          Ken Fyten made changes -
          Assignee Priority P2 P1
          Assignee Ted Goddard [ ted.goddard ] Carmen Cristurean [ ccristurean ]
          Arran Mccullough made changes -
          Salesforce Case [5007000000LFlwQ, 5007000000LGK7K, 5007000000KHPQ1] [5007000000LFlwQ, 5007000000LGK7K, 5007000000KHPQ1, 5007000000LI9Rq]
          Carmen Cristurean made changes -
          Assignee Carmen Cristurean [ ccristurean ] Deryk Sinotte [ deryk.sinotte ]
          Deryk Sinotte made changes -
          Workaround Description A variety of workarounds are possible:
          add <listener> to web.xml for the various ICEfaces/ICEpush listeners
          add icepush.tld under WEB-INF

          However the best approach is to deploy the application as a zipped .war rather than an exploded directory.
          A variety of workarounds are possible:
          add <listener> to web.xml for the various ICEfaces/ICEpush listeners
          add icepush.tld under WEB-INF

          However the best approach is to deploy the application as a zipped .war rather than an exploded directory.

          The same issue can occur when trying to include ICEfaces libs (e.g. icepush.jar) as shared libs in an .ear deployment. The solution is to simply include all libraries in the WEB-INF/lib directory of each war module.
          Deryk Sinotte made changes -
          Link This issue depends on IPCK-401 [ IPCK-401 ]
          Deryk Sinotte made changes -
          Fix Version/s 3.2 [ 10340 ]
          Fix Version/s EE 3.2.0 [ 10323 ]
          Fix Version/s EE-3.0.0.GA_P01 [ 10329 ]
          Fix Version/s 3.1 [ 10310 ]
          Migration made changes -
          Assignee Deryk Sinotte [ deryk.sinotte ] Jack Van Ooststroom [ jack.van.ooststroom ]
          Fix Version/s 3.3 [ 10374 ]
          Fix Version/s EE-3.2.0.GA [ 10323 ]
          Fix Version/s 3.2 [ 10340 ]
          Jack Van Ooststroom made changes -
          Fix Version/s EE-3.3.0.GA [ 10575 ]
          Fix Version/s 3.3 [ 10374 ]
          Ken Fyten made changes -
          Assignee Priority P1 [ 10010 ] P2 [ 10011 ]
          Ken Fyten made changes -
          Fix Version/s EE-3.4.0.GA [ 11170 ]
          Fix Version/s EE-3.3.0.GA [ 10575 ]
          Tyler Johnson made changes -
          Salesforce Case Reference 5007000000LFlwQAAT
          Ken Fyten made changes -
          Fix Version/s EE-3.3.0.GA_P01 [ 11175 ]
          Fix Version/s EE-3.4.0.GA [ 11170 ]
          Ken Fyten made changes -
          Fix Version/s EE-3.4.0.GA [ 11170 ]
          Fix Version/s EE-3.3.0.GA_P01 [ 11175 ]
          Jack Van Ooststroom made changes -
          Fix Version/s EE-4.1.0.GA [ 12172 ]
          Fix Version/s EE-4.0.0.GA [ 11170 ]
          Ken Fyten made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Won't Fix [ 2 ]

            People

            • Assignee:
              Jack Van Ooststroom
              Reporter:
              Evgheni Sadovoi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: