Issue Summary

      NPE in ViewUserAction with Struts

      Steps to Reproduce

      Hit View user action
      /confluence/admin/users/viewuser.action

      Expected Results

      No exception

      Actual Results

      The below exception is thrown in the xxxxxxx.log file:

      2022-08-02 08:19:18,393 ERROR [http-nio-8080-exec-10] [apache.struts2.dispatcher.DefaultDispatcherErrorHandler] sendErrorResponse Exception occurred during processing request: null
       -- url: /confluence/admin/users/viewuser.action | userName: admin | referer: http://localhost:8080/confluence/admin/users/viewuser.action?username=60255c59-4952-45 | traceId: 9dd20d65f4d4046b
      java.lang.NullPointerException
          at com.atlassian.confluence.user.actions.ViewUserAction.execute(ViewUserAction.java:56)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            [CONFSERVER-79612] Fix NPE in ViewUserAction with Struts

            A fix for this issue is available in Confluence Server and Data Center 8.0.0.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            James Whitehead added a comment - A fix for this issue is available in Confluence Server and Data Center 8.0.0. Upgrade now or check out the Release Notes to see what other issues are resolved.
            Ganesh Gautam made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 679761 ]
            Ganesh Gautam made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Quan Pham made changes -
            Status Original: Awaiting Merge [ 10064 ] New: Waiting for Release [ 12075 ]
            Quan Pham made changes -
            QA Demo Status Original: Not Done [ 14330 ] New: Not Needed [ 14332 ]
            Status Original: In Review [ 10051 ] New: Awaiting Merge [ 10064 ]
            Quan Pham made changes -
            Remote Link New: This issue links to "R8.0 P1. Performance › Page Weight Ratchet Build › upgrades-issue-80-CONFSERVER-79612-fix-label-for-textarea (server-syd-bamboo)" [ 678259 ]
            Quan Pham made changes -
            Remote Link New: This issue links to "R8.0 P1. Baseline › Main Plugins - Samurai › upgrades-issue-80-CONFSERVER-79612-fix-label-for-textarea (server-syd-bamboo)" [ 678258 ]
            Quan Pham made changes -
            Remote Link New: This issue links to "R8.0 P1. Baseline › Main Plugins - Cheese Meteor › upgrades-issue-80-CONFSERVER-79612-fix-label-for-textarea (server-syd-bamboo)" [ 678196 ]
            Quan Pham made changes -
            Remote Link New: This issue links to "R8.0 P2. Blockers › Tier 2 Plugins against Confluence latest - Samurai › upgrades-issue-80-CONFSERVER-79612-fix-label-for-textarea (server-syd-bamboo)" [ 678309 ]
            Quan Pham made changes -
            Remote Link New: This issue links to "R8.0 P1. FrontEnd › Unit Tests and Coverage › upgrades-issue-80-CONFSERVER-79612-fix-label-for-textarea (server-syd-bamboo)" [ 678308 ]

              qpham@atlassian.com Quan Pham
              ggautam Ganesh Gautam
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: