IBM Support

IC90072: A DOTNET APPLICATION RECEIVES NULLREFERENCEEXCEPTION INSTEAD OF A WEBSPHERE MQ RETURN CODE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A WebSphere MQ dotnet Client application connects to a remote
    queue manager using the transport property,
    TRANSPORT_MQSERIES_MANAGED.
    
    If a channel security exit is used on queue manager side and
    if the exit closes the connection for any reason, the
    application fails with following stack trace on the console:
    ======
    Event Type:     Error
    Description:   An unhandled exception occurred and the process
    was terminated.
    Exception: System.NullReferenceException
    Message: Object reference not set to an instance of an object.
    StackTrace: at IBM.WMQ.MQFAPConnection.AsyncFailureNotify
    (Exception ex,Boolean quiescing)
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    WebSphere MQ v7.0.1 managed .NET applications only. This problem
    is not applicable to WebSphere MQ v7.1 and v7.5.
    
    Platforms affected:
    Windows
    
    ****************************************************************
    PROBLEM SUMMARY:
    The WebSphere MQ managed .NET application crashes instead of
    reporting an error when the connection is closed by the
    security exit. The System.NullReferenceException is thrown
    while accessing a member variable of a null object.
    

Problem conclusion

  • The WebSphere MQ code is modified to check if the object is
    null before accessing a member variable.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.0
    Platform           Fix Pack 7.0.1.11
    --------           --------------------
    Windows            7.0.1.11
    
    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

    IC90072

  • Reported component name

    WMQ WINDOWS V7

  • Reported component ID

    5724H7220

  • Reported release

    701

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-02-06

  • Closed date

    2013-03-27

  • Last modified date

    2013-03-27

  • 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

    WMQ WINDOWS V7

  • Fixed component ID

    5724H7220

Applicable component levels

  • R701 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCPQ63","label":"APAR \/ Maintenance"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
27 March 2013