IBM Support

JR61997: A TYPE MISMATCH ERROR MIGHT OCCUR WHEN TWO VARIABLES HAVE THE SAME NAME

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

  • If you use two variables that have the same name but different
    cases, a type mismatch error might occur while the service is
    running.
    
    You see a message similar to the following message in the
    SystemOut.log file:
    
    com.lombardisoftware.core.TeamWorksException: Type mismatch.
    Expected "tw.object.String" type, but found: "tw.object.URL[]".
    
    
    PRODUCTS AFFECTED
    IBM Business Automation Workflow
    IBM Business Process Manager (BPM) Advanced
    IBM BPM Standard
    IBM BPM Express
    

Local fix

  • Do not use variables with the same name
    

Problem summary

  • This issue occurs after you upgrade from a version earlier than
    Business Automation Workflow V19.0.0.1.
    

Problem conclusion

  • A fix that allows you to revert the variable-resolution behavior
     to how it worked before you upgraded to V19.0.0.1 will be
    available in a future release of IBM Business Automation
    Workflow.
    
    To revert to the variable resolution behavior before V19.0.0.1
    add the following lines to the 100Custom.xml configuration file:
    
    <server>
      <service-engine>
    
    <enable-pre19001-variable-resolution-behavior>true</enable-pre19
    001-variable-resolution-behavior>
      </service-engine>
    </server>
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR61997

  • Reported component name

    BUS AUTO WORKFL

  • Reported component ID

    5737H4100

  • Reported release

    J00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-02-12

  • Closed date

    2020-02-27

  • Last modified date

    2020-02-27

  • 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

    BUS AUTO WORKFL

  • Fixed component ID

    5737H4100

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"19.0.0.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
22 June 2020