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

Websphere 9 - Approved user doesn't show up in Users and Organizations when enable workflow for User

    Details

    • Fix Priority:
      3
    • Application Servers:
      IBM Websphere 9.0

      Description

      Steps to reproduce:

      1. Deploy master dxp to Websphere 9.
      2. Start server.
      3. Open Application menu, go to Applications > Workflow > Process Builder.
      4. Navigate to Configuration tab.
      5. Assign Single Approver for User.
      6. Sign out.
      7. Click Sign In, then click Create Account, add a new account.
      8. Sign In again as Test user.
      9. Go to My Workflow Tasks from the user's drop down menu.
      10. Assert there is a pending task in Assigned to My Roles, then assign to me.
      11. Navigate to Assigned to Me, approve the task.
      12. Open Application menu, go to Control Panel > Users and Organizations.

      Expected Result:
      The created account should display.

      Actual Result:
      The created account doesn't display.

      Warn message in log:

      2020-12-01 13:26:53.613 WARN  [liferay/workflow_status-2][ProxyMessageListener:86] com.liferay.portal.kernel.workflow.WorkflowException: java.lang.NullPointerException
      com.liferay.portal.kernel.workflow.WorkflowException: java.lang.NullPointerException
      	at com.liferay.portal.workflow.WorkflowStatusManagerImpl.updateStatus(WorkflowStatusManagerImpl.java:42)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      	at java.lang.reflect.Method.invoke(Method.java:508)
      	at com.liferay.portal.kernel.messaging.proxy.ProxyRequest.execute(ProxyRequest.java:82)
      	at com.liferay.portal.kernel.messaging.proxy.ProxyMessageListener.receive(ProxyMessageListener.java:58)
      	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
      	at com.liferay.portal.messaging.internal.SerialDestination$1.run(SerialDestination.java:60)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      	at java.lang.Thread.run(Thread.java:811)
      Caused by: java.lang.NullPointerException
      	at com.ibm.ws.webcontainer.srt.SRTServletRequest.getServerName(SRTServletRequest.java:2214)
      	at javax.servlet.ServletRequestWrapper.getServerName(ServletRequestWrapper.java:248)
      	at com.liferay.portal.workflow.UserWorkflowHandler._updateAuditRequestThreadLocal(UserWorkflowHandler.java:112)
      	at com.liferay.portal.workflow.UserWorkflowHandler.updateStatus(UserWorkflowHandler.java:78)
      	at com.liferay.portal.workflow.UserWorkflowHandler.updateStatus(UserWorkflowHandler.java:40)
      	at com.liferay.portal.kernel.workflow.WorkflowHandlerWrapper.updateStatus(WorkflowHandlerWrapper.java:178)
      	at com.liferay.portal.kernel.workflow.WorkflowHandlerRegistryUtil.updateStatus(WorkflowHandlerRegistryUtil.java:281)
      	at com.liferay.portal.workflow.WorkflowStatusManagerImpl.updateStatus(WorkflowStatusManagerImpl.java:36)
      	... 11 more
      

        Attachments

          Activity

            People

            Assignee:
            selton.guedes Selton Guedes
            Reporter:
            summer.zhang Summer Zhang
            Participants of an Issue:
            Recent user:
            Summer Zhang
            Engineering Assignee:
            Selton Guedes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                Master