IBM Support

PK57558: InvocationTargetException attempting to connect to a service integration bus, caused by NullPointerException

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following is a summary of the stack of the exception
    which was logged in SystemErr.log for an application server,
    while attempting to invoke an SIBus mediation:
    .
    SECJ5011E: Could not create default AuthorizationToken during
      propagation login.  The following exception occurred:
      java.lang.NullPointerException
     at com.ibm.ws.security.token.WSCredentialTokenMapper$9.
                             run(WSCredentialTokenMapper.java:979)
     at com.ibm.ws.security.util.AccessController.
                           doPrivileged(AccessController.java:118)
     at com.ibm.ws.security.token.WSCredentialTokenMapper.
    ...
     at com.ibm.ws.sib.trm.client.
                                  TrmSICoreConnectionFactoryImpl.
         createConnection(TrmSICoreConnectionFactoryImpl.java:160)
    ...
     at com.ibm.ejs.j2c.FreePool.
          createManagedConnectionWithMCWrapper(FreePool.java:1811)
     at com.ibm.ejs.j2c.FreePool.
    ...
     at com.ibm.ws.sib.ra.impl.SibRaConnectionFactory.
                 createConnection(SibRaConnectionFactory.java:266)
    ..
     at com.ibm.ws.sib.mediation.runtime.
       DestinationMediationParameters.getBifurcatedConsumerSession
                         (DestinationMediationParameters.java:374)
    ...
     at com.ibm.ws.sib.mediation.runtime.
                     DestinationMediationInvocationInstance.invoke
                 (DestinationMediationInvocationInstance.java:252)
    ...
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the default messaging provider for  *
    *                 WebSphere Application Server V6.1, creating  *
    *                 client JMS connections to a service          *
    *                 integration bus, with global security        *
    *                 disabled.                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: An InvocationTargetException may be     *
    *                      thrown while attempting to establish    *
    *                      a connection to a service integration   *
    *                      bus, when global security is            *
    *                      disabled.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A java.lang.reflect.InvocationTargetException may be thrown,
    caused by a java.lang.NullPointerException while attempting to
    establish a client JMS connection to a service integration bus.
    
    The stack of the NullPointerException which causes the
    InvocationTargetException contains the following method:
    com.ibm.ws.sib.security.auth.AuthUtilsImpl
                                    .getOpaqueAuthorizationToken()
    
    The service integration bus was incorrectly invoking a method
    which should not be called in an environment where global
    security is disabled.
    

Problem conclusion

  • This APAR resolves the issue.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK57558

  • Reported component name

    PLAT MSG COM

  • Reported component ID

    620600101

  • Reported release

    200

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-12-04

  • Closed date

    2007-12-16

  • Last modified date

    2007-12-16

  • 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

    PLAT MSG COM

  • Fixed component ID

    620600101

Applicable component levels

  • R200 PSY

       UP

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

Document Information

Modified date:
29 December 2021