IBM Support

JR44449: REST APIS MIGHT RECEIVE A CWTBG0019E ERROR RESPONSE AFTER MIGRATING TO A NEW SNAPSHOT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • REST APIs might receive a CWTBG0019E error response after
    migrating to a new snapshot
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of BPM 7.5.1 migrating snapshots.     *
    ****************************************************************
    * PROBLEM DESCRIPTION: After installing a new snapshot in      *
    *                      which a Business Object has been        *
    *                      modified to remove parameters, and      *
    *                      migrating running instances of the      *
    *                      same process to the new snapshot, REST  *
    *                      APIs might with CWTBG0019E error.       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A process containing user defined Business
    Objects is install and an instance
    started.  Subsequently, the process is
    updated such that parameters are removed
    from a Business Object, and a new snapshot
    is taken.  Upon installing the new
    snapshot on the process server, the
    "Migrate" option is selected for the
    currently running process.  The Migration
    succeeds but REST APIs such as
    http://localhost:9081/rest/bpm/wle/v1/proces
    s/<piid>?parts=all, will fail with a
    CWTBG0019E error response.  The
    SystemOut.log will show a stack trace
    similar to the following:
    [2/7/13 13:25:24:384 CST] 00000090 wle
    E   CWLLG2015E:  An unexpected
    runtime exception occurred. See exception
    for more details.  Error: Wrapped
    com.lombardisoftware.core.TeamWorksRuntimeEx
    ception:
    com.lombardisoftware.core.TeamWorksException
    : Message:
    core.TWObject.no_such_property.Untitled1
    Arguments: TestBO (000.Untitled1)
    (<JSScript>#1).
    org.mozilla.javascript.WrappedException:
    Wrapped
    com.lombardisoftware.core.TeamWorksRuntimeEx
    ception:
    com.lombardisoftware.core.TeamWorksException
    : Message:
    core.TWObject.no_such_property.Untitled1
    Arguments: TestBO (000.Untitled1)
    (<JSScript>#1)
    at
    org.mozilla.javascript.Context.throwAsScript
    RuntimeEx(Context.java:1773)
    at
    org.mozilla.javascript.MemberBox.invoke(Memb
    erBox.java:183)
    

Problem conclusion

  • The REST API runtime has been corrected to ignore missing
    parameters on Business Objects instead of throwing an
    exception. The fix will be available on v7.5.1.0 and included
    into the next fixpack.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR44449

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-18

  • Closed date

    2013-02-20

  • Last modified date

    2013-02-20

  • 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

    BPM ADVANCED

  • Fixed component ID

    5725C9400

Applicable component levels

  • R750 PSY

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1"}]

Document Information

Modified date:
07 October 2021