IBM Support

IT13097: WMQ MFT V8: AGENT ENDS ABNORMALLY WITHJAVA.LANG.NULLPOINTEREXCEPTION ERROR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using IBM MQ Managed File Transfer if a transfer fails with
    an MQ error, for
    instance a queue definition is missing and generates error
    MQRC=2196 (MQRC_UNKNOWN_XMIT_Q), then the MFT agent may end
    abnormally with a java.lang.NullPointerException error.
    
    An ABEND file is generated with following details:
    
      Class:      com.ibm.wmqfte.thread.FTEThread
      Method:     uncaughtException
      Probe:      ABEND_001
      Cause:      java.lang.NullPointerException
      java.lang.NullPointerException
      at com.ibm.wmqfte.transfer.impl.TransferSenderRunnable.
        closeFile(TransferSenderRunnable.java:1548)
      at com.ibm.wmqfte.transfer.impl.TransferSenderImpl.
        closeFile(TransferSenderImpl.java:343)
      at com.ibm.wmqfte.statestore.impl.FTEMutableSenderState.
        processSourceDisposition(FTEMutableSenderState.java:994)
      at com.ibm.wmqfte.statestore.impl.FTEMutableSenderState.
        addProgressAudit(FTEMutableSenderState.java:696)
      at com.ibm.wmqfte.statestore.impl.FTEMutableSenderState.
        createFailureAudit(FTEMutableSenderState.java:1180)
      at com.ibm.wmqfte.statestore.impl.FTEStateStoreImpl.
        failTransfer(FTEStateStoreImpl.java:4707)
      at com.ibm.wmqfte.transfer.eventlistener.
        SenderTransferEventListener$EventRunnable.run
        (SenderTransferEventListener.java:312)
      at java.lang.Thread.run(Thread.java:801)
      at com.ibm.wmqfte.thread.FTEThread.run(FTEThread.java:70)
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects all users of IBM MQ v8 Managed File Transfer.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    If an IBM MQ Managed File Transfer agent, that is acting as the
    source agent for a managed transfer, cannot communicate with the
    destination agent over the IBM MQ network due to a
    non-recoverable error, then a new managed transfer cannot be
    negotiated between the two agents.  In this case, the source
    agent will fail the transfer.  A example of a non-recoverable
    error is the IBM MQ reason code 2196 (MQRC_UNKNOWN_XMIT_Q).
    
    As part of the managed transfer failure processing, the agent
    attempted to free any resources it had created for the managed
    transfer that was being failed, which included closing any open
    file handles to source files.  However, the agent did not check
    that the Java objects wrapping the source file handles had
    indeed been previously created.  As such, when it attempted to
    interact with these Java objects, an uncaught
    java.lang.NullPointerException was thrown that caused the agent
    to end abnormally.
    

Problem conclusion

  • The IBM MQ Managed File Transfer source agent code has been
    updated to check that the appropriate Java objects that wrap
    file handles have been created and are not null, before
    attempting to close said file handles.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v8.0       8.0.0.5
    
    The latest available FTE maintenance can be obtained from
    'Fix List for WebSphere MQ File Transfer Edition 7.0'
    http://www-01.ibm.com/support/docview.wss?uid=swg27015313
    
    The latest available MQ 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

    IT13097

  • Reported component name

    WMQ MFT V8.0

  • Reported component ID

    5724H7252

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-01-11

  • Closed date

    2016-01-11

  • Last modified date

    2016-01-11

  • APAR is sysrouted FROM one or more of the following:

    PI50773

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WMQ MFT V8.0

  • Fixed component ID

    5724H7252

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","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
11 January 2016