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

Random user search returns 500 error

    XMLWordPrintable

    Details

      Description

      While investigating the cause of random failures on the Search User test, I managed to reproduce the following random problem approximately 1 in 10 times:

      • Get latest 9.3 snapshot with Web UI installed
      • Login as Admin
      • Create User:
        • username: jdoe
        • email: blah@blah.com
        • password: password
      • Click Create button
      • Type jdoe in the search field
        => There is nothing shown under Users.
        => I am somehow still able to navigate to a second page of results
      • Navigate to second page of user search results
        => Now I can see "No users match the entered criteria" message.
      • Navigate back to first page of user search results
        => I can see user jdoe in the user search results
      2017-09-29 14:28:44,007 ERROR [http-bio-0.0.0.0-8080-exec-18] [org.nuxeo.ecm.platform.web.common.requestcontroller.filter.NuxeoRequestControllerFilter] remote=127.0.0.1,principal=Administrator,uri=/nuxeo/site/api/v1/user/search,session=11AF98CE1D5661148D257D280381242A.nuxeo,thread=http-bio-0.0.0.0-8080-exec-18,info=Unhandled error was caught by the Filter
      java.lang.NullPointerException
      	at org.nuxeo.ecm.core.io.registry.context.ThreadSafeRenderingContext.setParameterValues(ThreadSafeRenderingContext.java:130)
      	at org.nuxeo.ecm.core.io.marshallers.json.DefaultListJsonWriter.write(DefaultListJsonWriter.java:118)
      	at org.nuxeo.ecm.core.io.marshallers.json.DefaultListJsonWriter.write(DefaultListJsonWriter.java:70)
      	at org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonWriter.write(AbstractJsonWriter.java:76)
      	at org.nuxeo.ecm.webengine.jaxrs.coreiodelegate.PartialCoreIODelegate.writeTo(PartialCoreIODelegate.java:121)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: