IBM Support

PI31799: A NULLPOINTEREXCEPTION ERROR MAY OCCUR WHEN A WS-SECURITY KERBEROS TOKEN GENERATOR IS MIS-CONFIGURED AND TRACE IS ENABLED

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • A NullPointerException error may occur when WS-Security is
    programmatically configured for an outbound Kerberos token.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server users of   *
    *                  WS-Security enabled JAX-WS web services     *
    *                  and Kerberos                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: A NullPointerException may occur when   *
    *                      generating a Kerberos token using       *
    *                      data that is not valid                  *
    ****************************************************************
    * RECOMMENDATION:  Install a fix pack that contains this       *
    *                  APAR.                                       *
    ****************************************************************
    When a Kerberos token is generated using the
    KRBGenerateLoginModule and there is a serious configuration
    issue, such as an incorrect callback handler is configured,
    when trace is enabled, a NullPointerException error may occur:
    [12/19/14 8:35:59:791 PST] 0000015f WSSecurityGen E
    CWWSS5514E: An exception while processing WS-Security message:
    com.ibm.wsspi.wssecurity.core.SoapSecurityException:
    CWWSS6521E: The Login failed because of an exception:
    javax.security.auth.login.LoginException:
    java.lang.NullPointerException
    at
    com.ibm.ws.wssecurity.wssapi.token.impl.KRBGenerateLoginModule.l
    ogin(KRBGenerateLoginModule.java:427)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at
    javax.security.auth.login.LoginContext.invoke(LoginContext.java:
    795)
    ...
    

Problem conclusion

  • The WS-Security Kerberos token generator is updated so that
    the trace statements do not attempt to access data that does
    not exist.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 7.0.0.39, 8.0.0.11 and 8.5.5.6.  Please refer to the
    Recommended Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    
    Keywords: IBMWL3WSS, WSSEC
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI31799

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-12-18

  • Closed date

    2015-01-21

  • Last modified date

    2015-09-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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R700 PSY

       UP

  • R800 PSY

       UP

  • R850 PSY

       UP



Document information

More support for: WebSphere Application Server
General

Software version: 850

Reference #: PI31799

Modified date: 24 September 2015