IBM Support

PM97601: "UNSUPPORTEDENCODINGEXCEPTION" ERROR PRODUCED WHEN ATTEMPTING TO DECODE SOAP MESSAGE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Attempts to process a SOAP message body fail with the following
    exception:
    
    Aug 21, 2013 9:06:46 AM com.ghc.a3.http.HttpTextMessageConverter
    decompileBody
    SEVERE: null
    java.io.UnsupportedEncodingException: utf-8; action=;
            at
    java.lang.StringCoding$DecoderCache.getDecoder(StringCoding.java
    :159)
            at
    java.lang.StringCoding.getDecoder(StringCoding.java:380)
            at java.lang.StringCoding.decode(StringCoding.java:499)
            at java.lang.String.<init>(String.java:248)
            at java.lang.String.<init>(String.java:277)
            at
    com.ghc.a3.http.HttpTextMessageConverter.decompileBody(HttpTextM
    essageConverter.java:65)
            at
    com.ghc.a3.http.HttpDecompiler.X_createDynamicBody(HttpDecompile
    r.java:185)
            at
    com.ghc.a3.http.HttpDecompiler.createBody(HttpDecompiler.java:37
    )
            at
    com.ghc.a3.http.utils.HttpUtils.X_setMessageBody(HttpUtils.java:
    490)
            at
    com.ghc.a3.http.utils.HttpUtils.decompileRequest(HttpUtils.java:
    526)
            at
    com.ghc.a3.http.VIEProxyHttpMessageSubscriber.createEvent(VIEPro
    xyHttpMessageSubscriber.java:104)
            at
    com.ghc.ghTester.recordingstudio.providers.VIEMonitorEventSource
    .onVIEMessage(VIEMonitorEventSource.java:283)
            at
    com.ghc.ghTester.recordingstudio.providers.VIEProxyEventServer$P
    roxyEventRequestHandler.presentEvent(VIEProxyEventServer.java:34
    2)
            at
    com.ghc.ghTester.recordingstudio.providers.VIEProxyEventServer$P
    roxyEventRequestHandler.messageReceived(VIEProxyEventServer.java
    :243)
            at
    org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstr
    eam(SimpleChannelUpstreamHandler.java:80)
            at
    org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(Defa
    ultChannelPipeline.java:564)
            at
    org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHan
    dlerContext.sendUpstream(DefaultChannelPipeline.java:783)
            at
    org.jboss.netty.handler.codec.http.HttpContentEncoder.messageRec
    eived(HttpContentEncoder.java:83)
            at
    org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(Simp
    leChannelHandler.java:100)
            at
    org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(Defa
    ultChannelPipeline.java:564)
            at
    org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHan
    dlerContext.sendUpstream(DefaultChannelPipeline.java:783)
            at
    org.jboss.netty.channel.Channels.fireMessageReceived(Channels.ja
    va:302)
            at
    org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndF
    ireMessageReceived(ReplayingDecoder.java:522)
            at
    org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode
    (ReplayingDecoder.java:506)
            at
    org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageRec
    eived(ReplayingDecoder.java:443)
            at
    org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstr
    eam(SimpleChannelUpstreamHandler.java:80)
            at
    org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(Defa
    ultChannelPipeline.java:564)
            at
    org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(Defa
    ultChannelPipeline.java:559)
            at
    org.jboss.netty.channel.Channels.fireMessageReceived(Channels.ja
    va:274)
            at
    org.jboss.netty.channel.Channels.fireMessageReceived(Channels.ja
    va:261)
            at
    org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java
    :349)
            at
    org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys
    (NioWorker.java:280)
            at
    org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:
    200)
            at
    org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRu
    nnable.java:108)
            at
    org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLock
    ProofWorker.java:44)
            at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExec
    utor.java:1121)
            at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExe
    cutor.java:614)
            at java.lang.Thread.run(Thread.java:780)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users of Rational Integration Tester                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If Rational Integration Tester receives an HTTP message      *
    * where the Content Type  header contains values after the     *
    * "charset=" parameter then an error similar to the following  *
    * will occur:                                                  *
    *                                                              *
    * Aug 21, 2013 9:06:46 AM                                      *
    * com.ghc.a3.http.HttpTextMessageConverterdecompileBody        *
    * SEVERE: null                                                 *
    * java.io.UnsupportedEncodingException: utf-8; action=;        *
    *         at                                                   *
    *                                                              *
    * For example, the following HTTP headers will cause this      *
    * issue:                                                       *
    *                                                              *
    *    Content-Type: text/xml; charset="utf-8"; action=""        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Rational Integration Tester 8.5.1.3 or 8.6.0      *
    * where this problem has been resolved                         *
    ****************************************************************
    

Problem conclusion

  • This problem has been fixed in versions 8.5.1.3 and 8.6.0.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM97601

  • Reported component name

    RATL INTEGRA TE

  • Reported component ID

    5725G79IT

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-09-23

  • Closed date

    2014-07-07

  • Last modified date

    2014-07-07

  • 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

    RATL INTEGRA TE

  • Fixed component ID

    5725G79IT

Applicable component levels

  • R800 PSN

       UP

  • R801 PSN

       UP

  • R850 PSN

       UP

  • R851 PSY

       UP

  • R860 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSBLQQ","label":"Rational Test Workbench"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
02 November 2021