Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-106296

AccountUserRetrieverTest NullPointerException

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: User Management
    • Labels:

      Description

      [AccountUserRetrieverTest#testSearchAccountUsers|https://testray.liferay.com/home/-/testray/case_results/925576276?tab=result] failing with 

       

      [exec] com.liferay.account.retriever.test.AccountUserRetrieverTest > testSearchAccountUsers FAILED [exec] java.lang.NullPointerException [exec] at com.liferay.portal.kernel.util.BaseMapWrapper.doPut(BaseMapWrapper.java:115) [exec] at com.liferay.portal.kernel.util.HashMapBuilder$HashMapWrapper.put(HashMapBuilder.java:90) [exec] at com.liferay.portal.kernel.util.HashMapBuilder.put(HashMapBuilder.java:45) [exec] at com.liferay.account.internal.search.searcher.UserSearchRequestBuilder._populateSearchContext(UserSearchRequestBuilder.java:140) [exec] at com.liferay.account.internal.search.searcher.UserSearchRequestBuilder.lambda$build$0(UserSearchRequestBuilder.java:61) [exec] at com.liferay.portal.search.internal.legacy.searcher.SearchRequestBuilderImpl.withSearchContext(SearchRequestBuilderImpl.java:423) [exec] at com.liferay.account.internal.search.searcher.UserSearchRequestBuilder.build(UserSearchRequestBuilder.java:60) [exec] at com.liferay.account.internal.retriever.AccountUserRetrieverImpl._getSearchResponse(AccountUserRetrieverImpl.java:134) [exec] at com.liferay.account.internal.retriever.AccountUserRetrieverImpl.searchAccountUsers(AccountUserRetrieverImpl.java:112) [exec] at com.liferay.account.internal.retriever.AccountUserRetrieverImpl.searchAccountUsers(AccountUserRetrieverImpl.java:69) [exec] at com.liferay.account.retriever.test.AccountUserRetrieverTest._searchAccountUsers(AccountUserRetrieverTest.java:298) [exec] at com.liferay.account.retriever.test.AccountUserRetrieverTest._searchAccountUsers(AccountUserRetrieverTest.java:290) [exec] at com.liferay.account.retriever.test.AccountUserRetrieverTest._assertSearch(AccountUserRetrieverTest.java:266) [exec] at com.liferay.account.retriever.test.AccountUserRetrieverTest.testSearchAccountUsers(AccountUserRetrieverTest.java:119) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [exec] at java.lang.reflect.Method.invoke(Method.java:498) [exec] at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:234) [exec] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99) [exec] at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89) [exec] at org.junit.rules.RunRules.evaluate(RunRules.java:20) [exec] at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [exec] at org.junit.rules.RunRules.evaluate(RunRules.java:20) [exec] at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181) [exec] at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95) [exec] at java.lang.Thread.run(Thread.java:745) [exec]
      

      Full Jenkins log https://testray.liferay.com/reports/production/logs/test-1-1/1576910306620/test-portal-acceptance-upstream-dxp(master)/102/modules-integration-postgresql10-jdk8/0/jenkins-console.txt.gz

        Attachments

          Activity

            People

            Assignee:
            patricia.perez Patricia Perez
            Reporter:
            nicholas.kwon Nicholas Kwon
            Participants of an Issue:
            Recent user:
            Patricia Perez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              37 weeks, 5 days ago

                Packages

                Version Package