IBM Support

PM02773: EXPORTUSERRESOURCE.XML FAILS WITH A CLASSCASTEXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Running XMLAccess with sample file ExportUserResource.xml as
    input results in:
    
    Caused by: java.lang.ClassCastException: com.ibm.wps.datastore.i
    mpl.PortletInstanceImpl incompatible with com.ibm.portal.ObjectI
    D
    at com.ibm.wps.command.xml.items.UserResourceItem.object
    ID2Item(UserResourceItem.java:129)
    at com.ibm.wps.command.xml.items.UserResourceItem.create
    Children(UserResourceItem.java:115)
    at com.ibm.wps.command.xml.ExportEngine.loadItem(ExportE
    ngine.java:504)
    at com.ibm.wps.command.xml.ExportEngine.exportPortal(Exp
    ortEngine.java:124)
    at com.ibm.wps.command.xml.Engine.processSax(Engine.java
    :487)
    

Local fix

Problem summary

  • ExportUserResource.xml fails with a ClassCastException:
    
    Caused by: java.lang.ClassCastException:
    com.ibm.wps.datastore.impl.PortletInstanceImpl incompatible with
    com.ibm.portal.ObjectID
               at
    com.ibm.wps.command.xml.items.UserResourceItem.objectID2Item(Use
    rResourceItem.java:129)
               at
    com.ibm.wps.command.xml.items.UserResourceItem.createChildren(Us
    erResourceItem.java:115)
               at
    com.ibm.wps.command.xml.ExportEngine.loadItem(ExportEngine.java:
    504)
               at
    com.ibm.wps.command.xml.ExportEngine.exportPortal(ExportEngine.j
    ava:124)
               at
    com.ibm.wps.command.xml.Engine.processSax(Engine.java:487)
               ... 29 more
    

Problem conclusion

  • Changed the code to put the objectids in a list instead of
    the PortletInstnaceImpl object.
    
    Manual Steps:
       None
    
    Failing Module(s):
       XML Access
    
    Affected Users:
       All users
    
    Version Information:
        Portal Version(s): 6.1.0.1
         Pre-Requisite(s):
          Co-Requisite(s): ---
    
        Portal Version(s): 6.1.0.2
         Pre-Requisite(s):
          Co-Requisite(s): ---
    
    Platform Specific:
       This fix applies to all platforms.
    
    A fix is available from Fix Central:
    
    http://www.ibm.com/eserver/support/fixes/fixcentral/swgquickorde
    r?apar=PM02773&productid=WebSphere%20Portal&brandid=5
    
    You may need to type or paste the complete address into your Web
    browser.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM02773

  • Reported component name

    WEBSPHERE PORTA

  • Reported component ID

    5724E7600

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-12-04

  • Closed date

    2009-12-22

  • Last modified date

    2009-12-22

  • 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

    WEBSPHERE PORTA

  • Fixed component ID

    5724E7600

Applicable component levels

  • R61A PSY

       UP

  • R61B PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
21 December 2021