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

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43300 Thu Oct 30 16:52:52 MDT 2014 ken.fyten ICE-10339 Override UIComponent.getRenderer method to always return null so that the render kit will not try to lookup a renderer for the component (the component renders itself).
        Files Changed
        Commit graph MODIFY /icefaces4/tags/icefaces-4.0.0/icefaces/core/src/main/java/org/icefaces/impl/component/NavigationNotifier.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43298 Thu Oct 30 16:51:46 MDT 2014 ken.fyten ICE-10339 Modified page to have an input[type='button'] instead of a input[type='submit'] to avoid a double submit when Enter key is pressed.
        Files Changed
        Commit graph MODIFY /icefaces4/tags/icefaces-4.0.0/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/core/default-action.xhtml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43294 Thu Oct 30 15:22:43 MDT 2014 mircea.toma ICE-10339 Rollback the change to issue the form submits with 'execute=@form' for now.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/javascript/submit.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43287 Thu Oct 30 12:43:19 MDT 2014 mircea.toma ICE-10339 Override UIComponent.getRenderer method to always return null so that the render kit will not try to lookup a renderer for the component (the component renders itself).
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/component/NavigationNotifier.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43281 Wed Oct 29 15:26:36 MDT 2014 mircea.toma ICE-10339 Modified page to have an input[type='button'] instead of a input[type='submit'] to avoid a double submit when Enter key is pressed.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/core/default-action.xhtml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43280 Wed Oct 29 15:21:16 MDT 2014 mircea.toma ICE-10339 Modified 'submit' function to run with execute='@form' partial submit attribute.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/javascript/submit.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43113 Mon Oct 27 12:09:18 MDT 2014 mircea.toma ICE-10339 Cancel event's bubbling once it was captured by icecore:defaultAction component.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/javascript/capture-submit.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43101 Thu Oct 23 16:20:15 MDT 2014 mircea.toma ICE-10339 Modified ice.captureKeypress function that icecore:defaultAction relies on to submit the captured key with execute="@this" attribute.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/javascript/capture-submit.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43081 Wed Oct 22 12:23:56 MDT 2014 mircea.toma ICE-10339 Always dynamically add RefreshOutputSetup component to the tree when running with Myfaces.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/facelets/tag/icefaces/core/RefreshHandler.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43080 Wed Oct 22 12:21:22 MDT 2014 mircea.toma ICE-10339 Remove entries in request map only when the key is different than null.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/component/LoadBundle.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43079 Wed Oct 22 12:19:55 MDT 2014 mircea.toma ICE-10339 Make DefaultAction.KeyMap inner class public and serializable to allow its restoring by JSF.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/component/DefaultAction.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: