ICEfaces
  1. ICEfaces
  2. ICE-1765

concurrent user events may cause data corruption

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#5
    • Fix Version/s: 1.6DR#6, 1.6
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces 1.6DR5, Seam 1.2

      Description


      Rapidly clicking on a button causes exceptions to be thrown

       13:33:50,218 ERROR [D2DFaceletViewHandler] Problem in renderResponse:
            /pricing/viewAdjustPremium.jspx @39,80 itemValue="${layer.value}":
            /pricing/viewAdjustPremium.jspx @38,110 items="#{ctrl.pricingConversation.x}":
            Exception getting value of property pricingConversation of base of type :
            com.agcs.pricing.web.controller.ViewAdjustPremiumController_$$_javassist_39
       javax.faces.el.EvaluationException: /pricing/viewAdjustPremium.jspx @39,80 itemValue="${x.value}":
            /pricing/viewAdjustPremium.jspx @38,110 items="#{viewadjustpremiumcontroller.pricingConversation.x}":
            Exception getting value of property pricingConversation of base of type :
            com.agcs.pricing.web.controller.ViewAdjustPremiumController_$$_javassist_39
            at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60)
            ....

      The following change has been suggested, however, synchronization must be considered carefully as it can lead to deadlock or performance problems:

       public class ViewBoundAdaptingServlet extends BasicAdaptingServlet {
       
           synchronized public void service(HttpServletRequest request, HttpServletResponse response) throws Exception {
              ...
           }
       }

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14225 Thu Jun 21 11:37:11 MDT 2007 mircea.toma Synchonize service methhod call -- ICE-1765.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/ViewBoundAdaptingServlet.java

          People

          • Assignee:
            Unassigned
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: