IBM Support

IC98003: WEBSPHERE MQ FTE V7.0.4 AGENT FAILS WITH ERRORBFGUT0003E AND ILLEGALARGUMENTEXCEPTION IN CHARSETENCODER.ENCODE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A WebSphere MQ File Transfer Edition V7.0.4 agent fails after
    logging an error like this:
    
     BFGUT0003E: An internal error has occurred. An unexpected
     condition has occurred that has resulted in the abnormal
     end of this process. Failure data was captured in file
     "ABEND.FTE.xxxxxxx.xxxxxx.log".
    
    
     The ffdc file named in the error message shows these symptoms:
    
     Class: com.ibm.wmqfte.thread.FTEThread
     Method: uncaughtException
     Probe: ABEND_001
     Cause: java.lang.IllegalArgumentException
     java.lang.IllegalArgumentException
     at java.nio.Buffer.position(Buffer.java:227)
     at com.ibm.icu.charset.CharsetASCII$CharsetEncodeASCII.encod
     at com.ibm.icu.charset.CharsetASCII$CharsetEncodeASCII.encod
     at com.ibm.icu.charset.CharsetEncoderICU.fromUnicodeWithCall
     at com.ibm.icu.charset.CharsetEncoderICU.encode(CharsetEncod
     at com.ibm.icu.charset.CharsetEncoderICU.encodeLoop(CharsetE
     at java.nio.charset.CharsetEncoder.encode(CharsetEncoderICU.
     ...
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users of WebSphere MQ File Transfer Edition 7.0.4 and
    WebSphere MQ Managed File Transfer 7.5 that are executing a text
    mode transfer.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM SUMMARY:
    When a 'text' mode transfer is executed, the data within the
    message or file is converted into the code page specified on the
    transfer request. To do this the WMQ File Transfer Edition (FTE)
    or WMQ Managed File Transfer (MFT) agent will use the ICU 4J
    libraries. An internal error within the ICU 4J libraries can
    occur which will cause the agent to ABEND. The ABEND will
    contain the following exception stack:
    
    Cause: java.lang.IllegalArgumentException
       java.lang.IllegalArgumentException
        at java.nio.Buffer.position(Buffer.java:227)
        at
    com.ibm.icu.charset.CharsetASCII$CharsetEncoderASCII.encodeLoopC
    oreOptimized(CharsetASCII.java:295)
        at
    com.ibm.icu.charset.CharsetASCII$CharsetEncoderASCII.encodeLoop(
    CharsetASCII.java:236)
        at
    com.ibm.icu.charset.CharsetEncoderICU.fromUnicodeWithCallback(Ch
    arsetEncoderICU.java:432)
        at
    com.ibm.icu.charset.CharsetEncoderICU.encode(CharsetEncoderICU.j
    ava:352)
        at
    com.ibm.icu.charset.CharsetEncoderICU.encodeLoop(CharsetEncoderI
    CU.java:257)
        at
    java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:555)
        at
    com.ibm.wmqfte.io.text.FTECharsetEncoder.encode(FTECharsetEncode
    r.java:298)
        at
    com.ibm.wmqfte.io.text.BaseTextWriter.write(BaseTextWriter.java:
    462)
        at
    com.ibm.wmqfte.io.text.BaseTextWriter.writeLine(BaseTextWriter.j
    ava:527)
        at
    com.ibm.wmqfte.io.text.GenericTextConverter.convertLines(Generic
    TextConverter.java:609)
        ......
    

Problem conclusion

  • The ICU 4J libraries shipped with WebSphere MQ FTE/MFT have been
    updated to the 52.1 level which includes a fix for this issue.
    
    
    | MDVPARTL 7.0.4-WS-MQFTE-JavaVM-FP002-Windows_x86 |
    | MDVPARTL 7.0.4-WS-MQFTE-JavaVM-FP002-Solaris_x86 |
    | MDVPARTL 7.0.4-WS-MQFTE-JavaVM-FP002-Solaris_SPARC |
    | MDVPARTL 7.0.4-WS-MQFTE-JavaVM-FP002-Linux64_SystemP |
    | MDVPARTL 7.0.4-WS-MQFTE-JavaVM-FP002-Linux_x86 |
    | MDVPARTL 7.0.4-WS-MQFTE-JavaVM-FP002-Linux_SystemZ |
    | MDVPARTL 7.0.4-WS-MQFTE-JavaVM-FP002-IBMi |
    | MDVPARTL 7.0.4-WS-MQFTE-JavaVM-FP002-HPUX_PARISC |
    | MDVPARTL 7.0.4-WS-MQFTE-JavaVM-FP002-HPUX_IA64 |
    | MDVPARTL 7.0.4-WS-MQFTE-JavaVM-FP002-AIX_ppc |
    
    | MDVPARTL 7.0.4-WS-MQFTE-JavaVM-FP003-Windows_x86 |
    | MDVPARTL 7.0.4-WS-MQFTE-JavaVM-FP003-Solaris_x86 |
    | MDVPARTL 7.0.4-WS-MQFTE-JavaVM-FP003-Solaris_SPARC |
    | MDVPARTL 7.0.4-WS-MQFTE-JavaVM-FP003-Linux64_SystemP |
    | MDVPARTL 7.0.4-WS-MQFTE-JavaVM-FP003-Linux_x86 |
    | MDVPARTL 7.0.4-WS-MQFTE-JavaVM-FP003-Linux_SystemZ |
    | MDVPARTL 7.0.4-WS-MQFTE-JavaVM-FP003-IBMi |
    | MDVPARTL 7.0.4-WS-MQFTE-JavaVM-FP003-HPUX_PARISC |
    | MDVPARTL 7.0.4-WS-MQFTE-JavaVM-FP003-HPUX_IA64 |
    | MDVPARTL 7.0.4-WS-MQFTE-JavaVM-FP003-AIX_ppc |
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v7.0       7.0.4.4
    v7.5       7.5.0.3
    
    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

    IC98003

  • Reported component name

    WMQ FILE TRANSF

  • Reported component ID

    5724R1000

  • Reported release

    704

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-11-27

  • Closed date

    2014-01-10

  • Last modified date

    2014-01-10

  • 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 FILE TRANSF

  • Fixed component ID

    5724R1000

Applicable component levels

  • R704 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEP7X","label":"WebSphere MQ File Transfer Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.4","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
10 January 2014