IBM Support

PK81795: WHILE WEBSITE CRAWLER CRAWLING WCM CONTENT VIA RENDERING PORTLET. NULL VALUES IN WCM CONTENT CAUSES SEARCH QUERY FAIL

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Search Environment: Customer has website collection created
    which points to portal url. Portal url which is being crawled
    consists of WCM remote or local rendering portlet. Search
    crawler is able to index all the WCM content. But while doing
    search query by anonymous user it fails as crawler uses
    rendering portlet to parse the page source and if rendering
    those content throws null exception for the null values with in
    it. Search query fails.
    
    
    From WCM rendering portlet exception seen:
    
    
    [2/11/09 19:07:17:447 EST] 00000066 WCM_Rendering W   Exception
    caught accessing object.
    [2/11/09 19:07:17:471 EST] 00000066 WCM_Rendering W   Exception
    caught processing request. Cause: IWKPY1017X: Unauthorised
    access on {bea872804b1dd94583a1977f5f96a283,
    com.aptrix.pluto.site.SiteArea} by
    {{anonymous portal user, anonymous_user, anonymous_user_id, en,
    Type: User}, 4, {false, {userAccess={}}, {editorAccess={}},
    {managerAccess= {}}, [anonymous_user%anonymous_user_id,
    all_users%all_users_group_id,
    anonymous_user%anonymous_user_id]}} -
    
    com.ibm.workplace.wcm.api.exceptions.AuthorizationException:
    IWKPY1017X:
    Unauthorised access on {bea872804b1dd94583a1977f5f96a283,
    com.aptrix.pluto.site.SiteArea} by {{anonymous portal user,
    anonymous_user, anonymous_user_id, en, Type: User}, 4, {false,
    {userAccess={}}, {editorAccess={}}, {managerAccess={}},
    [anonymous_user%anonymous_user_id,
    all_users%all_users_group_id,
    anonymous_user%anonymous_user_id]}} -
    at
    com.ibm.workplace.wcm.api.WCM_RenderingContext.createRenderConte
    xt(WCM_RenderingContext.java:872)
    at
    com.ibm.workplace.wcm.api.WCM_RenderingContext.getRenderContext(
    WCM_RenderingContext.java:395) at...
    
    
    From Search traces while doing search query you see:
    
    [2/18/09 8:27:29:031 EST] 00000052 SystemOut     O
    translateFields.field : creation_date
    [2/18/09 8:27:29:031 EST] 00000052 SystemOut     O
    translateFields.fieldName : resource-type
    [2/18/09 8:27:29:031 EST] 00000052 SystemOut     O
    result.get() is NULL
    [2/18/09 8:27:29:031 EST] 00000052 SystemOut     O
    fieldValues is NULL
    [2/18/09 8:27:29:031 EST] 00000052 SystemOut     O
    translateFields.field : resource-type
    [2/18/09 8:27:29:031 EST] 00000052 SystemOut     O
    translateFields.fieldName : DTTM Created
    [2/18/09 8:27:29:031 EST] 00000052 SystemOut     O
    result.get() is NULL
    [2/18/09 8:27:29:031 EST] 00000052 SystemOut     O
    fieldValues is NULL
    [2/18/09 8:27:29:031 EST] 00000052 SystemOut     O
    translateFields.field : DTTM Created
    [2/18/09 8:27:29:031 EST] 00000052 SystemOut     O
    translateFields.fieldName : dttm last print
    [2/18/09 8:27:29:031 EST] 00000052 SystemOut     O
    result.get() is NULL
    [2/18/09 8:27:29:031 EST] 00000052 SystemOut     O
    fieldValues is NULL
    [2/18/09 8:27:29:031 EST] 00000052 SystemOut     O
    translateFields.field : dttm last print
    [2/18/09 8:27:29:032 EST] 00000052 SystemOut     O
    translateFields.fieldName : DOCUMENT_TYPE
    [2/18/09 8:27:29:032 EST] 00000052 SystemOut     O
    result.get() is NULL
    [2/18/09 8:27:29:032 EST] 00000052 SystemOut     O
    fieldValues is NULL
    [2/18/09 8:27:29:032 EST] 00000052 SystemOut     O
    translateFields.field : DOCUMENT_TYPE
    [2/18/09 8:27:29:032 EST] 00000052 SystemOut     O
    translateFields.fieldName : GENERATOR
    [2/18/09 8:27:29:032 EST] 00000052 SystemOut     O
    result.get() is NULL
    [2/18/09 8:27:29:032 EST] 00000052 SystemOut     O
    fieldValues is NULL
    [2/18/09 8:27:29:032 EST] 00000052 SystemOut     O
    translateFields.field : GENERATOR
    [2/18/09 8:27:29:032 EST] 00000052 SystemOut     O
    translateFields.fieldName : SOURCE
    [2/18/09 8:27:29:032 EST] 00000052 SystemOut     O
    result.get() is NULL
    [2/18/09 8:27:29:032 EST] 00000052 SystemOut     O
    fieldValues is NULL
    [2/18/09 8:27:29:032 EST] 00000052 SystemOut     O
    translateFields.field : SOURCE
    
    
    Solution provided in this apar: While doing search catching
    null exceptions resolves the issue and problem no longer occurs.
    

Local fix

Problem summary

  • While crawler crawls WCM content, invalid WCM fields values caus
    query to fail
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PK81795

  • Reported component name

    WEBSPHERE PORTA

  • Reported component ID

    5724E7600

  • Reported release

    60H

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-03-04

  • Closed date

    2009-03-31

  • Last modified date

    2009-03-31

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

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

Modules/Macros

  • SEARCH
    

Fix information

  • Fixed component name

    WEBSPHERE PORTA

  • Fixed component ID

    5724E7600

Applicable component levels

  • R60G PSY

       UP

  • R60H PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0.1.4","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
31 March 2009