IBM Support

IT25488: Intermittent NullReferenceException from SPINotify

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • MQ .NET client application is failing with
    NullReferenceException from SPINotify if Client Auto
    Reconnection and SSL are enabled
    
    Unhandled Exception: System.NullReferenceException: Object
    reference not set to an instance of an object.
       at IBM.WMQ.MQFAP.SPINotify(Hconn hConn, Int32&
    options,LpiNotifyDetails notifyDetails, Int32& compCode, Int32&
    reason)
       at IBM.WMQ.MQFAP.spiNotify(Hconn getterHconn, Int32&
    options,LpiNotifyDetails notifyDetails, Int32&
    pCompCode,Int32&pReason)
       at IBM.XMS.Client.WMQ.WmqConsumerShadow.Close()
       at IBM.XMS.Client.WMQ.WmqMessageConsumer.Close()
       at IBM.XMS.Client.Impl.XmsMessageConsumerImpl.Close()
       at MqDotnetTests_Connection.TestList.NET8XMSMSSL5()
       at MqDotnetTests_Connection.TestList.Main(String[] args)
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    User of MQ managed .NET application connecting using SSL Channel
    with Client Auto Reconnection
    
    
    Platforms affected:
    Windows
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    A logic error in the MQ managed .NET client code meant that if a
    client thread called SPINotify while a reconnect attempt was in
    progress, a null reference was accessed, resulting in the
    NullReferenceException being reported.
    

Problem conclusion

  • The MQ .NET client code has been modified to prevent this null
    reference being accessed.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v9.0 CD    9.0.4
    v9.0 LTS   9.0.0.5
    
    
    The latest available maintenance can be obtained from
    'WebSphere MQ Recommended Fixes'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006037
    
    If the maintenance level is not yet available information on
    its planned availability can be found in 'WebSphere MQ
    Planned Maintenance Release Dates'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006309
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT25488

  • Reported component name

    IBM MQ BASE M/P

  • Reported component ID

    5724H7261

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-06-26

  • Closed date

    2018-08-29

  • Last modified date

    2018-08-29

  • 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

    IBM MQ BASE M/P

  • Fixed component ID

    5724H7261

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
29 August 2018