IBM Support

JR43764: CMVC 224017 - ALLOW EXTENDING ABSTRACTSOLRSEARCHQUERYPOSTPROCESSOR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When writing a new class which extends
    AbstractSolrSearchQueryPostprocessor and implements
    SearchQueryPostprocessor, the below error is observed:
    
    Caused by: java.lang.ClassCastException:
    org.apache.solr.client.solrj.SolrQuery incompatible with
    org.apache.solr.client.solrj.response.QueryResponse
            at
    com.ibm.commerce.foundation.server.services.search.query.solr.Ab
    stractSolrSearchQueryPostprocessor.invoke(AbstractSolrSearchQuer
    yPostprocessor.java:79)
    

Local fix

Problem summary

  • USERS AFFECTED:
    Users running V7 FEP5 who are extending
    AbstractSolrSearchQueryPostprocessor
    
    PROBLEM ABSTRACT:
    ClassCastException is obtained after extending from
    AbstractSolrSearchQueryPostprocessor
    
    BUSINESS IMPACT:
    Unable to extend AbstractSolrSearchQueryPostprocessor
    
    RECOMMENDATION:
    

Problem conclusion

  • The correct object type is now passed to the custom query post
    processor.
    
    -------------------------------------------------------------
    The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
    http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR43764

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-14

  • Closed date

    2012-09-06

  • Last modified date

    2012-09-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

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

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

Document Information

Modified date:
06 September 2012