IBM Support

PI95817: RATIONAL PROGRAMMING PATTERNS : USAGE OF PUBLIC API FAILS.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • Rational Programming Patterns - v9.6.0
    
    
    A plugin that checks some consistency rules in the entity has
    been developed in site.
    When saving a user entity, this control fails with an error
    '...ResourceSetImpl incompatible with ...PTResourceSet'.
    This error occurs in RPP API layer.
    
    The error is a java cast exception :
    
    java.lang.ClassCastException: org.eclipse.emf.ecore.resource.
    impl.ResourceSetImpl incompatible with com.ibm.pdp.explorer.
    model.tool.PTResourceSet
    at com.ibm.pdp.explorer.model.tool.PTResourceSet.isContext
    Synchronized(PTResourceSet.java:75)
    at com.ibm.pdp.explorer.editor.service.PTEditorService.resolve
    SharedResource(PTEditorService.java:229)
    at com.mia.pdp.cobol.common.util.RppHelper.findUserEntity
    (RppHelper.java:576)
    at com.mia.pdp.userentitycontrol.map.execution.UserEntityMap
    NormChecker.controlUserEntity(UserEntityMapNormChecker.java:76)
    at com.mia.pdp.userentitycontrol.map.handler.ExecutionHandler.
    executionJob(ExecutionHandler.java:165)
    at com.mia.pdp.userentitycontrol.map.handler.ExecutionHandler
    $1.run(ExecutionHandler.java:147) at org.eclipse.core.internal.
    jobs.Worker.run(Worker.java:55)dbg jm:org.eclipse.emf.ecore.
    xmi.impl.XMIResourceImpl@bb211ff1uri='xxxxxxxx....userentity'
    org.eclipse.emf.ecore.resource.impl.ResourceSetImpl@e9d65dad
    resources= [org.eclipse.emf.ecore.xmi.impl.XMIResource
    Impl@bb211ff1 uri='xxxxxxxx....userentity'] java.lang.Class
    CastException: org.eclipse.emf.ecore.resource.impl.Resource
    SetImpl incompatible with com.ibm.pdp.explorer.model.tool.
    PTResourceSet
    at com.ibm.pdp.explorer.model.tool.PTResourceSet.isContext
    Synchronized(PTResourceSet.java:75)
    at com.ibm.pdp.explorer.editor.service.PTEditorService.
    resolveSharedResource(PTEditorService.java:229)
    at com.mia.pdp.cobol.common.util.RppHelper.findUserEntity
    (RppHelper.java:587)
    at com.mia.pdp.userentitycontrol.map.execution.UserEntity
    MapNormChecker.controlUserEntity(UserEntityMapNormChecker.
    java:76)
    at com.mia.pdp.userentitycontrol.map.handler.ExecutionHandler.
    executionJob(ExecutionHandler.java:165)
    at com.mia.pdp.userentitycontrol.map.handler.ExecutionHandler
    $1.run(ExecutionHandler.java:147)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users of RPP API for RPP model customization             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Published API fails with a ClassCastException, due to an     *
    * unexpected EMF ResourseSet implementation                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI95817

  • Reported component name

    RATL PROG PATTE

  • Reported component ID

    5725H0300

  • Reported release

    960

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-03-27

  • Closed date

    2018-03-29

  • Last modified date

    2018-03-29

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R960 PSY

       UP

  • R961 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSKPEG","label":"Rational Programming Patterns"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"960","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
19 October 2021