ICEfaces
  1. ICEfaces
  2. ICE-10339

icecore tag issues using Myfaces 2.2.5 libs.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0, EE-3.3.0.GA_P06
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces 4 trunk r43075. Tomcat 7, all browsers, Myfaces 2.2.5.
    • Assignee Priority:
      P1

      Description

      There are 3 issue that affect the icecore showcase demos when using Myfaces 2.2.5 libs. (All browsers)

      1.) icecore demos general issue
      popup error seen while clicking on links to launch demos, and when using DefaultAction demo:
      May take a few times clicking to produce the resulting error.
      java.lang.IllegalAccessException: Class javax.faces.component.UIComponentBase can not access a member of class org.icefaces.impl.component.DefaultAction$KeyMap with modifiers "private"
      java.lang.RuntimeException

      2.) icecore:refresh > Overview
      Clock ticks once after loading the page or changing Interval or Duration selections. Afterward it stops ticking entirely.

      3.) icecore:loadBundle
      NPE when navigating to demo:
      Oct 21, 2014 11:38:14 AM org.icepush.servlet.EnvironmentAdaptingServlet service
      INFO: Falling back to Thread Blocking environment
      java.lang.NullPointerException
              at org.apache.myfaces.util.AbstractAttributeMap.remove(AbstractAttributeMap.java:137)
              at org.icefaces.impl.component.LoadBundle.updateBundle(LoadBundle.java:73)
              at org.icefaces.impl.component.LoadBundle.encodeBegin(LoadBundle.java:57)
              at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:526)
              at org.apache.myfaces.shared.renderkit.RendererUtils.renderChildren(RendererUtils.java:688)
              at org.apache.myfaces.shared.renderkit.html.HtmlGroupRendererBase.encodeEnd(HtmlGroupRendererBase.java:141)
              at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:674)
              at org.icefaces.ace.renderkit.CoreRenderer.renderChild(CoreRenderer.java:87)
              at org.icefaces.ace.renderkit.CoreRenderer.renderChildren(CoreRenderer.java:71)
              at org.icefaces.ace.component.panel.PanelRenderer.encodeContent(PanelRenderer.java:238)
              at org.icefaces.ace.component.panel.PanelRenderer.encodeMarkup(PanelRenderer.java:135)
              at org.icefaces.ace.component.panel.PanelRenderer.encodeEnd(PanelRenderer.java:73)
              at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:674)
              at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:554)
              at org.apache.myfaces.shared.renderkit.RendererUtils.renderChildren(RendererUtils.java:688)
              at org.apache.myfaces.shared.renderkit.html.HtmlGroupRendererBase.encodeEnd(HtmlGroupRendererBase.java:141)
              at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:674)
              at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:554)
              at org.apache.myfaces.shared.renderkit.RendererUtils.renderChildren(RendererUtils.java:688)
              at org.apache.myfaces.shared.renderkit.html.HtmlGroupRendererBase.encodeEnd(HtmlGroupRendererBase.java:141)
              at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:674)
              at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:554)
              at org.apache.myfaces.shared.renderkit.RendererUtils.renderChildren(RendererUtils.java:688)
              at org.apache.myfaces.shared.renderkit.html.HtmlGroupRendererBase.encodeEnd(HtmlGroupRendererBase.java:141)
              at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:674)
              at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:554)
              at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:550)
              at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:164)
              at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:516)
              at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:541)
              at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:1891)
              at org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:313)
              at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:58)
              at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116)
              at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:267)
              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:200)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
              at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:745)


        Activity

        Hide
        Mircea Toma added a comment - - edited

        Override UIComponent.getRendererType method in NavigationNotifier to always return null so that the render kit will not try to lookup a renderer for the component (the component renders itself).

        Show
        Mircea Toma added a comment - - edited Override UIComponent.getRendererType method in NavigationNotifier to always return null so that the render kit will not try to lookup a renderer for the component (the component renders itself).
        Hide
        Carmen Cristurean added a comment -

        Verified with r. 43291/ MyFaces and Mojarra JSF in Chrome38, IE10, FF33.

        Show
        Carmen Cristurean added a comment - Verified with r. 43291/ MyFaces and Mojarra JSF in Chrome38, IE10, FF33.
        Hide
        Ken Fyten added a comment -

        ICEfaces 4 trunk r43291

        icecore:push demo is not running properly in IE 10 or 11 An old issue has surfaced where the demo constantly updates more than once per second. This is seen with mojarra and myfaces libs. This issue was not present today when tested with r43281. Possibly to do with fix for ICE-10339.

        Show
        Ken Fyten added a comment - ICEfaces 4 trunk r43291 icecore:push demo is not running properly in IE 10 or 11 An old issue has surfaced where the demo constantly updates more than once per second. This is seen with mojarra and myfaces libs. This issue was not present today when tested with r43281. Possibly to do with fix for ICE-10339 .
        Hide
        Mircea Toma added a comment -

        Rolled back the http://jira.icesoft.org/browse/ICE-10339?focusedCommentId=55588&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-55588 fix. It seems that it breaks ace:tabSet proxy who indeed is doing some "revolutionary" work with the forms (and the DOM, for that matter).

        Show
        Mircea Toma added a comment - Rolled back the http://jira.icesoft.org/browse/ICE-10339?focusedCommentId=55588&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-55588 fix. It seems that it breaks ace:tabSet proxy who indeed is doing some "revolutionary" work with the forms (and the DOM, for that matter).
        Hide
        Mircea Toma added a comment - - edited

        icecore:push issue mentioned by Ken was fixed in ICE-10384.

        Show
        Mircea Toma added a comment - - edited icecore:push issue mentioned by Ken was fixed in ICE-10384 .

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Liana Munroe
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: