IBM Support

PI13174: ATTEMPTS TO MODIFY A MY WEBMETHODS TASK FAIL WITH JAVA.LANG.CLASSCASTEXCEPTION

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Attempts to modify a My webMethods task in IBM Rational
    Integration Tester (RIT) fail with the following error:
    
    java.lang.ClassCastException: java.lang.String incompatible with
    com.ghc.a3.a3core.Message
    
    The JVM console contains:
    
    [15:35:57.892 2013/12/10] java.lang.ClassCastException:
    java.lang.String incompatible with com.ghc.a3.a3core.Message
    [15:35:57.892 2013/12/10] at
    com.ghc.wm.bpm.schema.SchemaObjectUtils.makeTaskBody(SchemaObjec
    tUtils.java:95)
    [15:35:57.892 2013/12/10] at
    com.ghc.wm.bpm.schema.SchemaObjectUtils.asTaskBodyObject(SchemaO
    bjectUtils.java:112)
    [15:35:57.893 2013/12/10] at
    com.ghc.wm.bpm.schema.SchemaObjectUtils.makeTaskBody(SchemaObjec
    tUtils.java:97)
    [15:35:57.893 2013/12/10] at
    com.ghc.wm.bpm.runtime.thirdparty.CAFServicesImpl.updateTask(CAF
    ServicesImpl.java:156)
    [15:35:57.893 2013/12/10] at
    com.ghc.wm.bpm.runtime.action.BPMSProcessTaskAction.X_updateTask
    (BPMSProcessTaskAction.java:283)
    [15:35:57.893 2013/12/10] at
    com.ghc.wm.bpm.runtime.action.BPMSProcessTaskAction.execute(BPMS
    ProcessTaskAction.java:100)
    [15:35:57.894 2013/12/10] at
    com.ghc.ghTester.runtime.actions.GHTesterAction.execute(GHTester
    Action.java:98)
    [15:35:57.894 2013/12/10] at
    com.ghc.ghTester.engine.Task.executeSubTree(Task.java:537)
    [15:35:57.894 2013/12/10] at
    com.ghc.ghTester.engine.Task.executeSubTree(Task.java:507)
    [15:35:57.894 2013/12/10] at
    com.ghc.ghTester.runtime.actions.iterateaction.IterateAction.exe
    cute(IterateAction.java:491)
    [15:35:57.894 2013/12/10] at
    com.ghc.ghTester.runtime.actions.GHTesterAction.execute(GHTester
    Action.java:98)
    [15:35:57.895 2013/12/10] at
    com.ghc.ghTester.engine.Task.executeSubTree(Task.java:537)
    [15:35:57.895 2013/12/10] at
    com.ghc.ghTester.runtime.TestTask.runNode(TestTask.java:691)
    [15:35:57.895 2013/12/10] at
    com.ghc.ghTester.runtime.TestTask.executeActionTrees(TestTask.ja
    va:650)
    [15:35:57.895 2013/12/10] at
    com.ghc.ghTester.engine.Task.execute(Task.java:195)
    [15:35:57.895 2013/12/10] at
    com.ghc.ghTester.runtime.TestTask.execute(TestTask.java:361)
    [15:35:57.896 2013/12/10] at
    com.ghc.ghTester.runtime.TestTaskJobAdapter.doExecute(TestTaskJo
    bAdapter.java:68)
    [15:35:57.896 2013/12/10] at
    com.ghc.ghTester.runtime.jobs.AbstractJob.execute(AbstractJob.ja
    va:172)
    [15:35:57.896 2013/12/10] at
    com.ghc.ghTester.runtime.jobs.AbstractJob$1.run(AbstractJob.java
    :160)
    [15:35:57.896 2013/12/10] at
    java.lang.Thread.run(Thread.java:780)
    
    STEPS TO REPRODUCE:
    
    1. Create a My webMethods connection
    
    2. Create a test with a Retrieve Task action and a Modify Task
    action.
    
    3. Configure the Modify Task action to input some values to the
    task.
    
    4. Run the test
    
    
    EXPECTED RESULTS:
    
    The test runs successfully.
    
    ACTUAL RESULTS:
    
    The test fails with the above error.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users of the integration between Rational Integration    *
    * Tester and Software AG's myWebMethods product.               *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * On some versions of myWebMethods (certainly 8.2) attempting  *
    * to modify a myWebMethods task from within Rational           *
    * Integration Tester results in a ClassCastException being     *
    * displayed in RIT.                                            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to version 8.5.1.3 or later of Rational Integration  *
    * Tester                                                       *
    ****************************************************************
    

Problem conclusion

  • This problem was caused by changes to the myWebMethods
    packaging.  It was resolved in version 8.5.1.3 of Rational
    Integration Tester
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI13174

  • Reported component name

    RATL INTEGRA TE

  • Reported component ID

    5725G79IT

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-03-06

  • Closed date

    2014-08-11

  • Last modified date

    2014-08-11

  • 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

  • R850 PSN

       UP

  • R851 PSY

       UP



Document information

More support for: Rational Test Workbench

Software version: 8.0.1

Reference #: PI13174

Modified date: 11 August 2014