ICEfaces
  1. ICEfaces
  2. ICE-11338

ace:showcase colorEntry > Swatches demo myfaces specific page error on submit

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: EE-4.2.0.GA
    • Component/s: ACE-Components, Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces 4/ee-4.2 trunk r51726, Tomcat 8, myfaces libs, not an issue with mojarra, all browsers.
    • Assignee Priority:
      P2

      Description

      showcase ace:colorEntry > Swatches demo, myfaces specific issue.
      In the "Create Swatch Dynamically" tab, after pressing the Create Swatch button a page/server error is seen and demo is not useable:
      org.apache.myfaces.view.facelets.el.ContextAwarePropertyNotWritableException: javax.el.PropertyNotWritableException
      javax.faces.component.UpdateModelException

      Server error seen:
      07-Jul-2017 14:49:36.979 WARNING [http-apr-8080-exec-6] org.icefaces.impl.applic
      ation.ExtendedExceptionHandler.handle queued exception
       javax.faces.component.UpdateModelException: org.apache.myfaces.view.facelets.el
      .ContextAwarePropertyNotWritableException: javax.el.PropertyNotWritableException

              at javax.faces.component.UIInput.updateModel(UIInput.java:436)
              at javax.faces.component.UIInput.processUpdates(UIInput.java:336)
              at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.
      java:1506)
              at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.
      java:1506)
              at org.icefaces.ace.component.panel.Panel.processUpdates(Panel.java:131)

              at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.
      java:1506)
              at org.icefaces.ace.component.tabset.TabPane.processUpdates(TabPane.java
      :106)
              at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.
      java:1506)
              at javax.faces.component.UIForm.processUpdates(UIForm.java:264)
              at org.apache.myfaces.context.servlet.PartialViewContextImpl$PhaseAwareV
      isitCallback.visit(PartialViewContextImpl.java:792)
              at org.apache.myfaces.component.visit.PartialVisitContext.invokeVisitCal
      lback(PartialVisitContext.java:213)
              at javax.faces.component.UIForm.visitTree(UIForm.java:314)
              at javax.faces.component.UIComponent.visitTree(UIComponent.java:1047)
              at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:
      1192)
              at javax.faces.component.UIComponent.visitTree(UIComponent.java:1047)
              at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:
      1192)
              at javax.faces.component.UIComponent.visitTree(UIComponent.java:1047)
              at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:
      1192)
              at javax.faces.component.UIComponent.visitTree(UIComponent.java:1047)
              at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:
      1192)
              at javax.faces.component.UIComponent.visitTree(UIComponent.java:1047)
              at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:
      1192)
              at javax.faces.component.UIComponent.visitTree(UIComponent.java:1047)
              at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:
      1192)
              at javax.faces.component.UIComponent.visitTree(UIComponent.java:1047)
              at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:
      1192)
              at org.apache.myfaces.context.servlet.PartialViewContextImpl.processPart
      ialExecute(PartialViewContextImpl.java:430)
              at org.apache.myfaces.context.servlet.PartialViewContextImpl.processPart
      ial(PartialViewContextImpl.java:411)
              at javax.faces.context.PartialViewContextWrapper.processPartial(PartialV
      iewContextWrapper.java:85)
              at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPar
      tialViewContext.java:457)
              at javax.faces.context.PartialViewContextWrapper.processPartial(PartialV
      iewContextWrapper.java:85)
              at javax.faces.component.UIViewRoot$UpdateModelPhaseProcessor.process(UI
      ViewRoot.java:1825)
              at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1657)
              at javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:918)
              at org.apache.myfaces.lifecycle.UpdateModelValuesExecutor.execute(Update
      ModelValuesExecutor.java:38)
              at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl
      .java:196)
              at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java
      :143)
              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:292)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:207)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52
      )
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:240)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:207)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:212)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:106)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
      torBase.java:502)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:141)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:79)
              at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAcce
      ssLogValve.java:616)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:88)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:522)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
      11Processor.java:1095)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
      AbstractProtocol.java:672)
              at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpo
      int.java:2500)
              at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoin
      t.java:2489)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
      java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:615)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskTh
      read.java:61)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: org.apache.myfaces.view.facelets.el.ContextAwarePropertyNotWritableEx
      ception: javax.el.PropertyNotWritableException
              at org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.se
      tValue(ContextAwareTagValueExpression.java:161)
              at javax.faces.component.UIInput.updateModel(UIInput.java:418)
              ... 58 more
      Caused by: javax.el.PropertyNotWritableException
              at org.apache.myfaces.view.facelets.tag.jstl.core.IteratedValueExpressio
      n.setValue(IteratedValueExpression.java:61)
              at org.apache.myfaces.view.facelets.el.FaceletStateValueExpression.setVa
      lue(FaceletStateValueExpression.java:111)
              at org.apache.el.parser.AstIdentifier.setValue(AstIdentifier.java:129)
              at org.apache.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:2
      57)
              at org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.se
      tValue(ContextAwareTagValueExpression.java:153)
              ... 59 more

        Activity

        Liana Munroe created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Assignee Mircea Toma [ mircea.toma ]
        Fix Version/s EE-4.2.0.GA [ 13071 ]
        Assignee Priority P2 [ 10011 ]
        Liana Munroe made changes -
        Summary ace:showcase colorEntry > Swatches demo mydaces specific page error on submit ace:showcase colorEntry > Swatches demo myfaces specific page error on submit
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: