IBM Support

PM98409: NULLPOINTEREXCEPTION OCCURRED ON LIBERTY PROFILE WHEN PERFORMING programmatic isUserInRole check.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • NullPointerException occurred on Liberty when performing
    programmatic isUserInRole check.  The callstack looks like the
    following:
    
    [9/13/13 16:20:26:116 CDT] 0000002f
    id=com.worklight.core.auth.impl.LoginContext
    invokeLoginModule Error logging in. Exception thrown:
    java.lang.RuntimeException: java.lang.NullPointerException
    
    at
    com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:
    126)
    at
    com.worklight.core.auth.ext.NewWebSphereLoginModule.jaasLoginAnd
    RoleCheck(NewWebSphereLoginModule.java:245)
    at
    com.worklight.core.auth.ext.NewWebSphereLoginModule.login(NewWeb
    SphereLoginModule.java:146)
    ... ...
    Caused by: java.lang.NullPointerException
    at
    com.ibm.ws.webcontainer.security.WebAppSecurityCollaboratorImpl.
    isUserInRole(WebAppSecurityCollaboratorImpl.java:327)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty profile.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: NullPointerException occurred on        *
    *                      Liberty when performing programmatic    *
    *                      isUserInRole check.                     *
    ****************************************************************
    * RECOMMENDATION:  Apply a fix pack that contains this APAR.   *
    ****************************************************************
    When a inbound request is not handled by a ServletWrapper,
    there is no servlet reference available, and
    NullPointerException error occurred.  This problem does not
    happen with full profile.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM98409

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-10-03

  • Closed date

    2014-01-07

  • Last modified date

    2014-03-24

  • 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

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

  • R855 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSD28V","label":"WebSphere Application Server Liberty Core"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"855","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022