IBM Support

IT37322: TADATACOLLECTOR THROWS EXCEPTION DUE TO MULTIPLE "TYPE" ELEMENTS WHEN THERE IS A VALIDATE NODE WITH MRM PROPERTIES

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

  • TADataCollector failing with below exception as
    ImbConfigObjectWriterJSON writes multiple "type" elements when
    there is a Validate node with MRM properties.:
    
    Exception in thread "main" com.google.gson.JsonSyntaxException:
    com.google.gson.stream.MalformedJson
    Exception: Use JsonReader.setLenient(true) to accept malformed
    JSON at line 1 column 10 path $
           at com.google.gson.JsonParser.parse(JsonParser.java:65)
           at com.google.gson.JsonParser.parse(JsonParser.java:45)
           at
    com.ibm.broker.utils.JsonHelper.stringToJson(JsonHelper.java:32)
    
           at com.ibm.broker.AcePluginProvider.collectNodeOwnedServ
    er(AcePluginProvider.java:361)
           at com.ibm.broker.AcePluginProvider.collectNode(AcePlugi
    nProvider.java:340)
           at com.ibm.broker.AcePluginProvider.collect(AcePluginPro
    vider.java:277)
           at com.ibm.broker.AcePluginProvider.getCollection(AcePlu
    ginProvider.java:114)
           at com.ibm.ta.sdk.spi.plugin.TADataCollector.collectData
    (TADataCollector.java:115)
           at com.ibm.ta.sdk.spi.plugin.TADataCollector.runAssess(T
    ADataCollector.java:235)
           at com.ibm.ta.sdk.spi.plugin.TADataCollector.runRun(TADa
    taCollector.java:313)
           at com.ibm.ta.sdk.spi.plugin.TADataCollector.runCommand(
    TADataCollector.java:102)
           at com.ibm.ta.sdk.spi.plugin.TADataCollector.main(TAData
    Collector.java:595)
    Caused by: com.google.gson.stream.MalformedJsonException:
    
    
    This is equally applicable to any other basic node that use
    domain properties domain, type and set instead of
    messageDomainProperty, messageSetProperty and
    messageTypeProperty.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of IBM App Connect Enterprise who use TADataCollector
    command
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    TADataCollector command fails and throws exception when there is
    a validate node or any other basic node that uses properties
    'domain', 'type' and 'set' instead of 'messageDomainProperty',
    'messageTypeProperty' and 'messageSetProperty' .
    
    Below Exception is thrown:
    
    Exception in thread "main" com.google.gson.JsonSyntaxException:
    com.google.gson.stream.MalformedJson
    Exception: Use JsonReader.setLenient(true) to accept malformed
    JSON at line 1 column 10 path $
    

Problem conclusion

  • Product is modified so that it will no longer use "type",
    "domain" and "set" to represent  messageType, messageDomain and
    messageSet properties of the nodes.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v11.0      11.0.0.14
    v12.0      12.0.2.0
    
    The latest available maintenance can be obtained from:
    http://www-01.ibm.com/support/docview.wss?rs=849&uid=swg27006041
    
    If the maintenance level is not yet available,information on
    its planned availability can be found on:
    http://www-1.ibm.com/support/docview.wss?rs=849&uid=swg27006308
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT37322

  • Reported component name

    APP CONNECT ENT

  • Reported component ID

    5724J0550

  • Reported release

    B00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-06-18

  • Closed date

    2021-08-20

  • Last modified date

    2021-10-06

  • 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

    APP CONNECT ENT

  • Fixed component ID

    5724J0550

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSDR5J","label":"IBM App Connect Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B00"}]

Document Information

Modified date:
13 October 2021