IBM Support

PM58939: WMQFTE V704 AGENT ABEND-001 JAVA NPE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • WMQ FTE Agent fails with uncaughtexception, NullPointerException
    in FTEDatasetFactory.java.
    This occurs when using enableFunctionalFixPack=7041 in the
    wmqfte.properties file.
    
    ABEND log contains the following:
    Level:      f704-FP1-20111114-1732
    
    Time:       22/02/2012 09:41:56:530 EST
    Thread:     23 (CommandHandlerWorker-4)
    Class:      com.ibm.wmqfte.thread.FTEThread
    Instance:   61026102
    Method:     uncaughtException
    Probe:      ABEND_001
    Cause:      java.lang.NullPointerException
    java.lang.NullPointerException
    at
    com.ibm.wmqfte.io.zos.FTEDatasetFactory.isSupported(FTEDatasetFa
    ctory.ja
    va:87)
    at
    com.ibm.wmqfte.io.zos.FTEDatasetFactory.isSupported(FTEDatasetFa
    ctory.ja
    va:70)
    at
    com.ibm.wmqfte.io.FTEFileFactory.generatePath(FTEFileFactory.jav
    a:661)
    at
    com.ibm.wmqfte.cmdhandler.impl.FTETransferItemGenerator.generate
    SourceIt
    em(FTETransferItemGenerator.java:449)
    at
    com.ibm.wmqfte.cmdhandler.impl.FTETransferItemGenerator.generate
    Transfer
    ItemPairs(FTETransferItemGenerator.java:152)
    at
    com.ibm.wmqfte.cmdhandler.impl.FTECommandHandlerDOMParser.walkIt
    emNodeLi
    st(FTECommandHandlerDOMParser.java:1122)
    at
    com.ibm.wmqfte.cmdhandler.impl.FTECommandHandlerDOMParser.walkTr
    ansferSe
    tNodeList(FTECommandHandlerDOMParser.java:772)
    at
    com.ibm.wmqfte.cmdhandler.impl.FTECommandHandlerDOMParser.walkNo
    de(FTECo
    mmandHandlerDOMParser.java:739)
    at
    com.ibm.wmqfte.cmdhandler.impl.FTECommandHandlerDOMParser.walkNo
    deList(F
    TECommandHandlerDOMParser.java:700)
    at
    com.ibm.wmqfte.cmdhandler.impl.FTECommandHandlerDOMParser.walkNo
    de(FTECo
    mmandHandlerDOMParser.java:741)
    at
    com.ibm.wmqfte.cmdhandler.impl.FTECommandHandlerDOMParser.walkNo
    deList(F
    TECommandHandlerDOMParser.java:700)
    at
    com.ibm.wmqfte.cmdhandler.impl.FTECommandHandlerDOMParser.walkNo
    de(FTECo
    mmandHandlerDOMParser.java:741)
    at
    com.ibm.wmqfte.cmdhandler.impl.FTECommandHandlerDOMParser.walkNo
    deList(F
    TECommandHandlerDOMParser.java:700)
    at
    com.ibm.wmqfte.cmdhandler.impl.FTECommandHandlerDOMParser.parser
    XML(FTEC
    ommandHandlerDOMParser.java:613)
    at
    com.ibm.wmqfte.cmdhandler.impl.FTECommandHandlerDOMParser.parser
    XML(FTEC
    ommandHandlerDOMParser.java:527)
    at
    com.ibm.wmqfte.cmdhandler.impl.MessageHandlerImpl.externalMessag
    eHandler
    (MessageHandlerImpl.java:174)
    at
    com.ibm.wmqfte.cmdhandler.impl.MessageHandlerImpl.processCommand
    (Message
    HandlerImpl.java:145)
    at
    com.ibm.wmqfte.cmdhandler.impl.FTECommandHandlerWorkerThread.pro
    cessComm
    and(FTECommandHandlerWorkerThread.java:247)
    at
    com.ibm.wmqfte.cmdhandler.impl.FTECommandHandlerWorkerThread.run
    (FTEComm
    andHandlerWorkerThread.java:151)
     at java.lang.Thread.run(Thread.java:736)
     at com.ibm.wmqfte.thread.FTEThread.run(FTEThread.java:64)
    Stack ids:
    com.ibm.wmqfte.cmdhandler.impl.FTETransferItemGenerator.$sccsid=
    @(#)
    com.ibm.wmqfte.agent/src/com/ibm/wmqfte/cmdhandler/impl/FTETrans
    ferItemG
    enerator.java,jazz,f704,f704-FP1-20111114-1732
    enerator.java,jazz,f704,f704-FP1-20111114-1732 11/14/2011
    05:37:08 PM
    [11/14/2011 05:37:08 PM]
    com.ibm.wmqfte.cmdhandler.impl.MessageHandlerImpl.$sccsid=@(#)
    com.ibm.wmqfte.agent/src/com/ibm/wmqfte/cmdhandler/impl/MessageH
    andlerIm
    pl.java,jazz,f704,f704-FP1-20111114-1732
    pl.java,jazz,f704,f704-FP1-20111114-1732 11/14/2011 05:37:08 PM
    [11/14/2011 05:37:08 PM]
    com.ibm.wmqfte.cmdhandler.impl.FTECommandHandlerDOMParser.$sccsi
    d=@(#)
    com.ibm.wmqfte.agent/src/com/ibm/wmqfte/cmdhandler/impl/FTEComma
    ndHandle
    rDOMParser.java,jazz,f704,f704-FP1-20111114-1732
    rDOMParser.java,jazz,f704,f704-FP1-20111114-1732 11/14/2011
    05:37:08 PM
    [11/14/2011 05:37:08 PM]
    com.ibm.wmqfte.io.zos.FTEDatasetFactory.$sccsid=@(#)
    com.ibm.wmqfte.io/src/com/ibm/wmqfte/io/zos/FTEDatasetFactory.ja
    va,jazz,
    f704,f704-FP1-20111114-1732
    f704,f704-FP1-20111114-1732 11/14/2011 05:37:08 PM [11/14/2011
    05:37:08
    PM]
    com.ibm.wmqfte.thread.FTEThread.$sccsid=@(#)
    com.ibm.wmqfte.common/src/com/ibm/wmqfte/thread/FTEThread.java,j
    azz,f704
    ,f704-FP1-20111114-1732
    ,f704-FP1-20111114-1732 11/14/2011 05:37:08 PM [11/14/2011
    05:37:08 PM]
    com.ibm.wmqfte.io.FTEFileFactory.$sccsid=@(#)
    com.ibm.wmqfte.io/src/com/ibm/wmqfte/io/FTEFileFactory.java,jazz
    ,f704,f7
    04-FP1-20111114-1732
    04-FP1-20111114-1732 11/14/2011 05:37:08 PM [11/14/2011 05:37:08
    PM]
    Arg[0]:     Thread[CommandHandlerWorker-4,5,main]
    [EOF]
    

Local fix

  • A ++APAR is available.
    

Problem summary

  • The agent could ABEND when attempting to transfer a file to or
    from a dataset due to an invalid pathname check.
    
    USERS AFFECTED:
    Users of the new function for 7.0.4.1 enabled using the property
    enableFunctionalFixPack=7041
    
    PLATFORMS AFFECTED:
    z/OS
    

Problem conclusion

  • The code has been altered to correct the invalid pathname check
    and prevent the exception which results in the ABEND.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 7.0.4.2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM58939

  • Reported component name

    WMQ FTE Z/OS

  • Reported component ID

    5655U8000

  • Reported release

    704

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-02-23

  • Closed date

    2012-03-30

  • Last modified date

    2012-03-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 FTE Z/OS

  • Fixed component ID

    5655U8000

Applicable component levels

  • R704 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":"704","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"704","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
30 March 2012