IBM Support

IT14806: MQXR service ends with FDC probe XR014005 NegativeArraySizeException

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The MQXR service ends unexpectedly, with an FDC generated with
    probe id XR014005, and exception:
     java.lang.NegativeArraySizeException
        at
    com.ibm.mq.MQXRService.MQTTWireContext.receive(MQTTWireContext.j
    ava:348)
        at
    com.ibm.mq.communications.NonBlockingConnection.receive(NonBlock
    ingConnection.java:374)
        at
    com.ibm.mq.communications.NonBlockingWorker.run(NonBlockingWorke
    r.java:374)
        at java.lang.Thread.run(Thread.java:857)
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects users of the MQXR service.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    A MQTT packet was received by the MQXR service from a connected
    MQTT client, and in parsing out the length from the packet data
    a negative length was calculated. When an attempt was then made
    by the MQXR service to try to create a byte array of this
    negative length, the NegativeArraySizeException was thrown,
    causing the service to output the FDC with probe XR014005 and
    end unexpectedly.
    

Problem conclusion

  • If an MQTT packet is received where parsing out the length of
    the packet leads to a negative value, the
    NegativeArraySizeException no longer occurs, and the service
    does not end.  Instead, the client which sent the packet has its
    connection closed, a message is written to the mqxr.log
    reporting the error, and an FDC is output with some diagnostic
    information for this error - this FDC will have a probe id of
    either XR054007 or XR054008 depending on the type of MQTT packet
    received.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v8.0       8.0.0.6
    v9.0 CD    9.0.1
    v9.0 LTS   9.0.0.1
    
    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

    IT14806

  • Reported component name

    WMQ BASE MULTIP

  • Reported component ID

    5724H7251

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-04-15

  • Closed date

    2016-04-15

  • Last modified date

    2017-06-01

  • 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":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
01 June 2017