IBM Support

PK73844: ClassCastException while rendering an authoring component

 

APAR status

  • Closed as program error.

Error description

  • ClassCast Exception, when rendering a page that references an
    authoring component that the logged in user has no access to,
    that doesn't exist or that fails retrieval. The known occurrence
    of this problem is when referencing and authoring component
    using an AuthoringTool tag with an autofill context in a menu
    component, however the fix should also correct other occurrences
    of the problem which is identified by the following error in the
    log file: IWKPC1085X: Exception while rendering component:
    inline class com.aptrix.pluto.cmpnt.InlineEditCmpntReference -
    Exception: java.lang.ClassCastException:
    com.aptrix.pluto.content.Content.
    (Also refer to APAR PK74875 for the above exception but for a
    more specifc scenario.)
    
    
    
    The inline edit component reference was using the source
    attribute during rendering to reference the content item the
    authoring component applies to. The source attribute should be
    reserved to reference the source component mapper item for
    elements.
    

Local fix

  • The authoring component has a new attribute that is used during
    rendering to reference the editable content item. The source
    attribute is no longer used as the authoring component is a
    library component and can not exist in the component mapper of
    another item as an element. This prevents the backup lookup
    using the source in the scenarios where the retrieval by ID
    fails.
    

Problem summary

  • ClassCast Exception, when rendering a page that references an
    authoring component that the logged in user has no access to,
    that doesn't exist or that fails retrieval. The known occurrence
    of this problem is when referencing and authoring component
    using an AuthoringTool tag with an autofill context in a menu
    component, however the fix should also correct other occurrences
    of the problem which is identified by the following error in the
    log file: IWKPC1085X: Exception while rendering component:
    inline class com.aptrix.pluto.cmpnt.InlineEditCmpntReference -
    Exception: java.lang.ClassCastException:
    com.aptrix.pluto.content.Content.
    The inline edit component reference was using the source
    attribute during rendering to reference the content item the
    authoring component applies to. The source attribute should be
    reserved to reference the source component mapper item for
    elements.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PK73844

  • Reported component name

    LOTUS WEB CONT

  • Reported component ID

    5724I2900

  • Reported release

    60H

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-10-16

  • Closed date

    2008-10-19

  • Last modified date

    2009-01-06

  • 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

    LOTUS WEB CONT

  • Fixed component ID

    5724I2900

Applicable component levels

  • R60G PSY

       UP

[{"Business Unit":{"code":"BU051","label":"N\/A"},"Product":{"code":"SUPPORT","label":"IBM Web Content Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0.1.4","Line of Business":{"code":"LOB33","label":"N\/A"}}]

Document Information

Modified date:
20 December 2021