IBM Support

IT10448: WMQ V8 .NET APPLICATION RECEIVES AN INDEXOUTOFRANGEEXCEPTION WHEN READING REFERENCE MESSAGE FROM THE QUEUE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An IndexOutOfRangeException (HResult: 0x80131508) is
    generated by amqmdnet when browsing or getting an WMQ
    v8 reference message containing a format name that
    starts with MQHREF (MQFMT_REF_MSG_HEADER).
    .
      Exception received
      System.IndexOutOfRangeException
      Message: Index was outside the bounds of the array.
      StackTrace:
       at IBM.WMQ.MQMarshalMessageForGet.ReadInt(Int32 encoding)
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users using MQ .NET application to read Reference Message from a
    queue (messages with MQRMH header).
    
    
    Platforms affected:
    Windows
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    When the MQ .NET client read a reference message, it incorrectly
    parsed part of the MQRMH header as an RFH2 header. As the format
    of these headers is different, this was incorrect, and caused an
    IndexOutOfRange exception to be reported.
    

Problem conclusion

  • The MQ .NET client has been updated to correctly process the
    MQRMH header.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v8.0       8.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

    IT10448

  • Reported component name

    WMQ BASE MULTIP

  • Reported component ID

    5724H7251

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-07-31

  • Closed date

    2015-09-30

  • Last modified date

    2015-09-30

  • 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 BASE MULTIP

  • Fixed component ID

    5724H7251

Applicable component levels

  • R800 PSY

       UP

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

Document Information

Modified date:
30 September 2015