javax.faces.component.UpdateModelException: javax.el.PropertyNotWritableException: /foo.xhtml @12,34 value="#{bean.foo}": The class 'com.example.Bean' does not have a writable property 'foo'.

Stack Overflow | Benamar B. | 12 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    javax.el.PropertyNotWritableException: The class 'com.example.Bean' does not have a writable property 'foo'

    Stack Overflow | 12 months ago | Benamar B.
    javax.faces.component.UpdateModelException: javax.el.PropertyNotWritableException: /foo.xhtml @12,34 value="#{bean.foo}": The class 'com.example.Bean' does not have a writable property 'foo'.

    Root Cause Analysis

    1. javax.faces.component.UpdateModelException

      javax.el.PropertyNotWritableException: /foo.xhtml @12,34 value="#{bean.foo}": The class 'com.example.Bean' does not have a writable property 'foo'.

      at javax.faces.component.UIInput.updateModel()
    2. JavaEE 7
      UIViewRoot.processUpdates
      1. javax.faces.component.UIInput.updateModel(UIInput.java:867)
      2. javax.faces.component.UIInput.processUpdates(UIInput.java:749)
      3. javax.faces.component.UIForm.processUpdates(UIForm.java:281)
      4. javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1289)
      5. javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1289)
      6. javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:1254)
      6 frames
    3. JSF
      LifecycleImpl.execute
      1. com.sun.faces.lifecycle.UpdateModelValuesPhase.execute(UpdateModelValuesPhase.java:78)
      2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      3. com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
      3 frames
    4. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
      1 frame
    5. Glassfish Core
      StandardPipeline.invoke
      1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)
      2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:318)
      3. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)
      4. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)
      5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)
      5 frames
    6. Glassfish
      WebPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
      1 frame
    7. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)
      2. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:357)
      3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:260)
      3 frames
    8. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:188)
      1 frame
    9. Grizzly Server
      HttpServerFilter.handleRead
      1. org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)
      2. org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168)
      3. org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)
      3 frames
    10. Grizzly
      AbstractThreadPool$Worker.run
      1. org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
      2. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)
      3. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)
      4. org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)
      5. org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)
      6. org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
      7. org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)
      8. org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
      9. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
      10. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
      11. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
      12. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)
      13. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)
      13 frames
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame