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

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #51749 Wed Jul 12 17:15:48 MDT 2017 mircea.toma ICE-11338 Change the object type in the color list used for creating swatch so that the color values can be changed by the color entry component.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/colorEntry/colorEntrySwatches.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/colorEntry/ColorEntrySwatchesBean.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/test.xml

          People

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

            Dates

            • Created:
              Updated:
              Resolved: