IBM Support

IT19645: NullPointerException when using IBM MQ-MFT embedded agent in IIB

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

  • The IBM MQ v9.0.0 Managed File Transfer (MFT) embedded agent
    running within an IBM Integration Bus (IIB) execution group
    could not be restarted due to a java.lang.NullPointerException
    thrown when writing a list of the MQ components to the agent's
    event log.
    
    java.lang.NullPointerException
    at
    com.ibm.wmqfte.wmqiface.WMQApiImpl.getVersionInformation(WMQApiI
    mpl.java:571)
    at
    com.ibm.wmqfte.utils.EventLogStartBanner.generateLogStartBanner(
    EventLogStartBanner.java:184)
    at
    com.ibm.wmqfte.ras.impl.EventLogFormatter.format(EventLogFormatt
    er.java:61)
    at
    java.util.logging.StreamHandler.publish(StreamHandler.java:196)
    at java.util.logging.FileHandler.publish(FileHandler.java:575)
    at
    com.ibm.wmqfte.ras.impl.EventLogHandler.publish(EventLogHandler.
    java:123)
    at java.util.logging.Logger.log(Logger.java:616)
    at com.ibm.ejs.ras.Tr.logToJSR47Logger(Tr.java:1676)
    at com.ibm.ejs.ras.Tr.fireEvent(Tr.java:1604)
    at com.ibm.ejs.ras.Tr.fireMessageEvent(Tr.java:1536)
    at com.ibm.ejs.ras.Tr.info(Tr.java:961)
    at
    com.ibm.ws.objectgrid.WXSProperties.logProperties(WXSProperties.
    java:314)
    at
    com.ibm.ws.objectgrid.runtime.RuntimeInfo.traceVersionInfo(Runti
    meInfo.java:151)
    at
    com.ibm.ws.objectgrid.util.FullRASDelegateImpl.serverInitialize(
    FullRASDelegateImpl.java:537)
    at
    com.ibm.ws.objectgrid.util.FullRASDelegateImpl.completeRasInitia
    lization(FullRASDelegateImpl.java:130)
    at
    com.ibm.ws.objectgrid.util.ObjectGridRASUtil.completeRasInitiali
    zation(ObjectGridRASUtil.java:119)
    at
    com.ibm.ws.objectgrid.server.impl.ServerImpl.<init>(ServerImpl.j
    ava:713)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
    Method)
    at
    sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCons
    tructorAccessorImpl.java:57)
    at
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delega
    tingConstructorAccessorImpl.java:45)
    at
    java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at
    com.ibm.websphere.objectgrid.server.ServerFactory.initialize(Ser
    verFactory.java:407)
    at
    com.ibm.websphere.objectgrid.server.ServerFactory$2.run(ServerFa
    ctory.java:310)
    at java.security.AccessController.doPrivileged(Native Method)
    at
    com.ibm.websphere.objectgrid.server.ServerFactory.getInstance(Se
    rverFactory.java:308)
    at
    com.ibm.broker.cachesupport.MbCacheServer.startInner(MbCacheServ
    er.java:514)
    at
    com.ibm.broker.cachesupport.MbCacheServer.access$000(MbCacheServ
    er.java:67)
    at
    com.ibm.broker.cachesupport.MbCacheServer$1.call(MbCacheServer.j
    ava:135)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExec
    utor.java:1145)
    at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExe
    cutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects users of the IBM MQ v9.0.0 Managed File
    Transfer (MFT) embedded agent component included within IBM
    Integration Bus (IIB).
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    The IBM MQ v9.0.0 Managed File Transfer (MFT) embedded agent
    running within an IBM Integration Bus (IIB) execution group
    could not be restarted due to a java.lang.NullPointerException
    that was thrown when generating a list of MQ component
    information to be written to the event log of an agent.  This
    was because the product code that operated on the list of found
    MQ components expected at least one component to be found and
    did not expect a null value.
    

Problem conclusion

  • The IBM MQ Managed File Transfer (MFT) class used to write
    information to the agent's event log has been changed to handle
    the case when no MQ component information could be found, thus
    avoiding a java.lang.NullPointerException from being thrown.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v9.0 CD    9.0.5
    v9.0 LTS   9.0.0.3
    
    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

    IT19645

  • Reported component name

    IBM MQ MFT V9.0

  • Reported component ID

    5724H7262

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-03-10

  • Closed date

    2017-11-28

  • Last modified date

    2017-11-28

  • 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 MFT V9.0

  • Fixed component ID

    5724H7262

Applicable component levels

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

Document Information

Modified date:
28 November 2017