IBM Support

PI95544: NPE THROWN IN METHOD AUTHORIZEEJB()

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • NPE thrown:
    in java.lang.NullPointerException
    at com.ibm.ws.ejbcontainer.security.internal.
    EJBSecurityCollaboratorImpl.authorizeEJB(EJBSecurityCollabor
    ator
    Impl.
    java:370)
    

Local fix

  • NA
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty at 17.0.0.1 or earlier       *
    *                  level                                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: NullPointerException is thrown after    *
    *                      IBM JDK upgrade to Java 8 SR5 FP10      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    IBM JDK Java 8 SR5 FP10 includes APAR IJ03256 (http://www-
    01.ibm.com/support/docview.wss?uid=swg1IJ03256), which delivers
    a fix for Open JDK bug 8015081
    (https://bugs.openjdk.java.net/browse/JDK-8015081).  This fix
    introduced a behavior change to disallow null values in Subject
    Sets.
    
    Due to this change in Java, Liberty may throw
    NullPointerException while refreshing token contents as
    PrivateCredential in Subject.
    
    The following error stack can be seen in trace and in an FFDC
    record:
    
    ------ Sample error stack --------------
    java.lang.NullPointerException: invalid null input(s)
    	at
    java.base/java.util.Objects.requireNonNull(Objects.java:246)
    	at
    java.base/javax.security.auth.Subject$SecureSet.remove(Subject.j
    ava:1171)
    	at
    java.base/java.util.Collections$SynchronizedCollection.remove(Co
    llections.java:2039)
    	at
    com.ibm.ws.security.authentication.internal.jaas.modules.ServerC
    ommonLoginModule.updateSubjectWithPrivateCredentialsOtherThanSSO
    Token(ServerCommonLoginModule.java:257)
    	at
    com.ibm.ws.security.authentication.internal.jaas.modules.ServerC
    ommonLoginModule.updateSubjectWithTemporarySubjectContents(Serve
    rCommonLoginModule.java:237)
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI95544

  • 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

    2018-03-21

  • Closed date

    2018-04-26

  • Last modified date

    2018-04-26

  • 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":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSD28V","label":"WebSphere Application Server Liberty Core"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"855","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
17 June 2020