IBM Support

PK78116: METHOD CONTENT SEARCH RETURNS A NPE FOR ANONYMOUS USER

 

APAR status

  • Closed as program error.

Error description

  • MAPI method Workspace.contentSearch() throws
    NullPointerExceptions for Anonymous workspace.
    

Local fix

Problem summary

  • UserManagementUtils.getCurrentUser() will return null for
    anonymous user.
    

Problem conclusion

  • Should instead get user principal info this way:
              PrincipalInformation principalInfo =
    UserManagementUtils.getCurrentPrincipalInfo();
    which returns correct principal info for anonymous user
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK78116

  • Reported component name

    LOTUS WEB CONT

  • Reported component ID

    5724I2900

  • Reported release

    61A

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-01-06

  • Closed date

    2009-01-06

  • Last modified date

    2009-01-06

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    LOTUS WEB CONT

  • Fixed component ID

    5724I2900

Applicable component levels

  • R61A PSY

       UP

  • R60G PSN

       UP

  • R60H PSN

       UP

[{"Business Unit":{"code":null,"label":null},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1.0.1","Edition":"","Line of Business":{"code":null,"label":null}}]

Document Information

Modified date:
10 September 2020