IBM Support

PI21979: UPGRADE FROM 4.8.1 TO 5.0.0.2 FAILS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The upgrade from 4.8.1 to 5.0.0.2 fails on step 36 with the
    following error:
    
    failing on upgrade #36:
    
    [upgrade] Adding upgrade file for processing:
    E:\Install_Files\udeploy-5.0.0.2
    \IBM_UDEPLOY_5.0.0.2\udeploy-install\database\deploy\sqlserver\u
    pgrade_sql_4.8.x ml
    [upgrade] Processing change set release 4.8
    [upgrade] Found 4.8 current version: 35
      [upgrade] Applying 4.8 change: 36 - Condense workflow trace
    data into one tabl
    e
    : com.urbancode.cm.db.updater.ApplyException:
    org.codehaus.groovy.runtime.typeha
    ndling.GroovyCastException: Cannot cast object
    '{"id":"0097d4f7-899e-4ead-897c-c
    5605e6cc60f","paused":false,"rootActivityTrace":{"id":"f2e9f1c1-
    6ec2-4a20-bc0e-b
    9922e398ac7","status":"CLOSED","result":"SUCCEEDED","startDate":
    1370282682909,"e
    ndDate":1370282708975,"name":"95752049-5ef4-4ac5-ab8e-ba3a34fc5e
    96","activityCla................................
    Active\",\"role\":\"8bbea47b-2581-448e-bb0d-dd52dae05c8a\"}]","a
    ctivity.applicat
    ionProcess.id":"815bb9f6-0541-449c-9d2c-52baec835787","activity.
    application.id":
    "a02d3253-fbdc-4e49-b89a-db0735e83bfb","activity.application.env
    ironment.id":"aa
    562dcf-dc44-4131-bf22-142975a6bed7","activity.app.request.id":"0
    8f68f68-5a62-486
    5-a0b1-88eae4f93c7a"}}}' with class 'java.lang.String' to class
    'java.sql.Clob'
            at
    com.urbancode.cm.db.updater.DbUpgradeTask.executeMultiVersionUpg
    rade(
    DbUpgradeTask.java:259)
            at
    com.urbancode.cm.db.updater.DbUpgradeTask.execute(DbUpgradeTask.
    java:
    77)
            at
    org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:
    288)
            at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown
    Source)
            at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    Acces
    sorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at
    org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtil
    s.jav
    a:106)............................................
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Any                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The upgrade from 4.8.1 to 5.0.0.2 fails on step 36 with the  *
    * following error:                                             *
    *                                                              *
    * failing on upgrade #36:                                      *
    *                                                              *
    * [upgrade] Adding upgrade file for processing:                *
    * E:\Install_Files\udeploy-5.0.0.2                             *
    * \IBM_UDEPLOY_5.0.0.2\udeploy-install\database\deploy\sqlserv *
    * er\u                                                         *
    * pgrade_sql_4.8.x ml                                          *
    * [upgrade] Processing change set release 4.8                  *
    * [upgrade] Found 4.8 current version: 35                      *
    *   [upgrade] Applying 4.8 change: 36 - Condense workflow      *
    * trace                                                        *
    * data into one tabl                                           *
    * e                                                            *
    * : com.urbancode.cm.db.updater.ApplyException:                *
    * org.codehaus.groovy.runtime.typeha                           *
    * ndling.GroovyCastException: Cannot cast object               *
    * '{"id":"0097d4f7-899e-4ead-897c-c                            *
    * 5605e6cc60f","paused":false,"rootActivityTrace":{"id":"f2e9f *
    * 1c1-                                                         *
    * 6ec2-4a20-bc0e-b                                             *
    * 9922e398ac7","status":"CLOSED","result":"SUCCEEDED","startDa *
    * te":                                                         *
    * 1370282682909,"e                                             *
    * ndDate":1370282708975,"name":"95752049-5ef4-4ac5-ab8e-ba3a34 *
    * fc5e                                                         *
    * 96","activityCla................................             *
    * Active\",\"role\":\"8bbea47b-2581-448e-bb0d-dd52dae05c8a\"}] *
    * ","a                                                         *
    * ctivity.applicat                                             *
    * ionProcess.id":"815bb9f6-0541-449c-9d2c-52baec835787","activ *
    * ity.                                                         *
    * application.id":                                             *
    * "a02d3253-fbdc-4e49-b89a-db0735e83bfb","activity.application *
    * .env                                                         *
    * ironment.id":"aa                                             *
    * 562dcf-dc44-4131-bf22-142975a6bed7","activity.app.request.id *
    * ":"0                                                         *
    * 8f68f68-5a62-486                                             *
    * 5-a0b1-88eae4f93c7a"}}}' with class 'java.lang.String' to    *
    * class                                                        *
    * 'java.sql.Clob'                                              *
    *         at                                                   *
    * com.urbancode.cm.db.updater.DbUpgradeTask.executeMultiVersio *
    * nUpg                                                         *
    * rade(                                                        *
    * DbUpgradeTask.java:259)                                      *
    *         at                                                   *
    * com.urbancode.cm.db.updater.DbUpgradeTask.execute(DbUpgradeT *
    * ask.                                                         *
    * java:                                                        *
    * 77)                                                          *
    *         at                                                   *
    * org.apache.tools.ant.UnknownElement.execute(UnknownElement.j *
    * ava:                                                         *
    * 288)                                                         *
    *         at                                                   *
    * sun.reflect.GeneratedMethodAccessor13.invoke(Unknown         *
    * Source)                                                      *
    *         at                                                   *
    * sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe *
    * thod                                                         *
    * Acces                                                        *
    * sorImpl.java:43)                                             *
    *         at java.lang.reflect.Method.invoke(Method.java:601)  *
    *         at                                                   *
    * org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch *
    * Util                                                         *
    * s.jav                                                        *
    * a:106)............................................           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed in IBM UrbanCode Deploy 6.1.0.2
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI21979

  • Reported component name

    UDEPLOY

  • Reported component ID

    5725M7700

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-07-14

  • Closed date

    2014-08-25

  • Last modified date

    2014-08-25

  • 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

    UDEPLOY

  • Fixed component ID

    5725M7700

Applicable component levels

  • R500 PSN

       UP

  • R500 PSY

       UP

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

Document Information

Modified date:
13 October 2021