IBM Support

PK94337: WCM RTE BREAKS LINKS OF IMPORTED IMAGES & IMPORTED HTML

 

APAR status

  • Closed as program error.

Error description

  • PROBLEM:
    
    WCM RTE BREAKS LINKS OF IMPORTED IMAGES & IMPORTED HTML
    
    DESCRIPTION:
    
    Web content management ( WCM ) may observe issues as per the
    scenarios reported below :
    
    Create a new piece of content from an authoring template and add
    the Rich Text Editor (RTE) element in the authoring template.
    When carrying out any of the following mentioned steps you would
    see the issue reported :
    
    a) Use the HTML import functionality
    b) Use the "Insert Image" functionality ( without the "Add image
    to library with anonymous access" feature enabled )
    
    The details on these functionalities are available here:
    
    a)http://publib.boulder.ibm.com/infocenter/wpdoc/v6r0/topic/com.
    ibm.wp.ent.doc/wcm/wcm_dev_import-export-html.html
    b)http://publib.boulder.ibm.com/infocenter/wpdoc/v6r0/topic/com.
    ibm.wp.ent.doc/wcm/wcm_dev_elements_text-richtext-html.html
    
    You would see the following exceptions in the logs and the
    images do not get saved in the RTE:
    
    ******************************
    000000c6 ModuleManager E IWKCT1382X: Major exception caught:
    com.presence.connect.business.module.ErrorExecutingRequestExcept
    ion: IWKMU1062X: Message: IWKCT1366X: Exception caught servicing
    a Servlet request for AJPERES, Cause:
    java.lang.NullPointerException
    000000c6 ModuleManager E IWKCT1383X: Unexpected error from
    Module. Details of cause to follow:
    000000be ResourceUtils 3 Node retrieved:
    /contentRoot/icm:libraries[1]/Content/abc/home/abc def/ibm
    business/it_business/ibmcontentwcm:elements[8](2a570c004ba42ff89
    496dc4313692599)@5461990
    000000be ResourceUtils < class
    com.aptrix.pluto.resource.ResourceUtils
    getResourceForIdParts(Workspace, String) RETURN
    000000c6 ModuleManager E
    java.lang.NullPointerException
    at
    com.aptrix.pluto.resource.ResourceServerModule.createResourceMim
    e(ResourceServerModule.java:1313)
    at
    com.aptrix.pluto.resource.ResourceServerModule.buildResponse(Res
    ourceServerModule.java:718)
    at
    
    We have a workaround here in place which is to downgrade the JDK
    level as per the following URL :
    
    http://www-01.ibm.com/support/docview.wss?rs=180&context=SSEQTP&
    q1=V6.0.2%3a+Java+SDK+1.4.2+SR8+Cumulative+Fix&uid=swg27009757&l
    oc=en_US&cs=utf-8&lang=en
    

Local fix

Problem summary

  • NPE in createResourceMime when saving content where images were
    added to the RTE.  Solaris with SDK > 1.4.2_14
    

Problem conclusion

  • WCM running on Solaris where the SDK is upgraded to version
    1.4.2_15b01 or higher will encounter an issue where images added
    to the RTE are not correctly saved and the following error is
    logged to the SystemOut.log:
     8/12/09 6:23:39:513 MEST  000000c6 ModuleManager E
    IWKCT1383X: Unexpected error from Module. Details of cause to
    follow:
     8/12/09 6:23:39:518 MEST  000000c6 ModuleManager E
                                     java.lang.NullPointerException
     at
    com.aptrix.pluto.resource.ResourceServerModule.createResourceMim
    e(ResourceServerModule.java:1313)
     at
    com.aptrix.pluto.resource.ResourceServerModule.buildResponse(Res
    ourceServerModule.java:718) . . .
    .....
    The root cause of the issue is createResourceMIME could not read
    stream for the image.  When this happened prior to this fix WCM
    would then try to set an attribute on the resourceMime.  The
    resourceMime was however null because WCM failed to read from
    the steam.  WCMs failure to read from the stream was being
    caused by a ZipException due to an invalid CRC.  WCM was always
    storing the zipEntries with a CRC of 0 and due to a bug fix in
    1.4.2_15b01 the Solaris SDK started checking the CRCs on
    uncompressed reads.
    

Temporary fix

  • back level the WASSDK to a level prior to
    1.4.2_15b01
    

Comments

APAR Information

  • APAR number

    PK94337

  • Reported component name

    LOTUS WEB CONT

  • Reported component ID

    5724I2900

  • Reported release

    60K

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-08-20

  • Closed date

    2009-09-22

  • Last modified date

    2009-09-22

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

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

Modules/Macros

  • WCM
    

Fix information

  • Fixed component name

    LOTUS WEB CONT

  • Fixed component ID

    5724I2900

Applicable component levels

  • R60H PSY

       UP

  • R60J 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.6","Line of Business":{"code":"LOB33","label":"N\/A"}}]

Document Information

Modified date:
21 December 2021