IBM Support

PI61734: CLASSCASTEXCEPTION OCCURS ON LAUNCHJUNIT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Running a JUnit TestSuite using 'launchJUnit' task results in
    java.lang.ClassCastException when client specify a method in
    launchJUnit as test method.
    
    Error Messages:
    java.lang.ClassCastException:
    org.eclipse.jdt.internal.junit.model.TestCaseElement
    incompatible with
    org.eclipse.jdt.internal.junit.model.TestSuiteElement
    

Local fix

  • Use value="", instead of value="failure"
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users of JUnit test framework.                           *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Running a JUnit TestSuite using 'launchJUnit' task results   *
    * in java.lang.ClassCastException when client specify a method *
    * in launchJUnit as test method.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The fix for this APAR is included in Rational Application
    Developer version 9.1.1.3
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI61734

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    911

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-05-01

  • Closed date

    2017-12-07

  • Last modified date

    2017-12-07

  • 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 APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R911 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.1.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
07 December 2017