Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-8787

Make AJAX screen for users search more robust with bad response time from LDAP backend

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5
    • Fix Version/s: 5.5.0-HF02, 5.6-RC1, 5.6
    • Component/s: Directory
    • Environment:
      Firefox

      Description

      When using a backend for users/groups with poor response time (more than a couple of seconds), the search screen raises this error:

      ERROR [org.jboss.seam.jsf.SeamPhaseListener] swallowing exception
      org.jboss.seam.ConcurrentRequestTimeoutException: Concurrent call to conversation
      ...
      WARN  [javax.enterprise.resource.webcontainer.jsf.lifecycle] javax.el.ELException: /widgets/user_vgoups_widget_template.xhtml @11,50 value="#{vgroups}": Error while evaluation MethodValueExpression #{userManagementActions.getUserVirtualGroups(field_0)}
      javax.faces.FacesException: javax.el.ELException: /widgets/user_vgoups_widget_template.xhtml @11,50 value="#{vgroups}": Error while evaluation MethodValueExpression #{userManagementActions.getUserVirtualGroups(field_0)}
      ...
      Caused by: javax.el.ELException: /widgets/user_vgoups_widget_template.xhtml @11,50 value="#{vgroups}": Error while evaluation MethodValueExpression #{userManagementActions.getUserVirtualGroups(field_0)}
      	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76)
      	at javax.faces.component.UIData.getValue(UIData.java:609)
      	... 97 more
      Caused by: javax.el.PropertyNotFoundException: /widgets/user_vgoups_widget_template.xhtml @9,99 value="#{userManagementActions.getUserVirtualGroups(field_0)}": Target Unreachable, identifier 'userManagementActions' resolved to null
      	at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:70)
      	at org.nuxeo.ecm.platform.ui.web.binding.MethodValueExpression.getValue(MethodValueExpression.java:114)
      	at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:40)
      	at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
      	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
      	... 98 more
      

      It's reproducible when hagging the response with a breakpoint in UserManagerImpl#searchUsers()

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmartins Thierry Martins
                Reporter:
                tmartins Thierry Martins
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: