Cognos Analytics

Expand all | Collapse all

XQE-RSA-0021 Error

  • 1.  XQE-RSA-0021 Error

    Posted Thu July 02, 2020 10:04 AM
    Hi All,
    I am getting error "XQE-RSA-0021 An invalid attempt to cast a class occurred during data retrieval: com.cognos.xqe.data.values.NullValue incompatible with com.cognos.xqe.data.values.DateTimeValue" in CA Version 11.1.5.

    Is it know bug and resolved in CA Version 11.1.6?

    ------------------------------
    Boddula Kumar
    ------------------------------


  • 2.  RE: XQE-RSA-0021 Error

    Posted Thu July 02, 2020 11:51 PM
    Hi Boddula, 
    Sorry to hear about the difficulty that you're having with this scenario.
    I checked our defect system and there was a reference to a similar issue around 2015, but that was fixed.
    This leads me to believe that this is a different issue.
    Please log a bug.
    // Henk

    ------------------------------
    HENK CAZEMIER
    ------------------------------



  • 3.  RE: XQE-RSA-0021 Error

    Posted Mon July 06, 2020 05:18 AM
    remove cognos function in data item from you want casting, then use database functions
    for example to_char([column name], 'yyyymmdd') or convert(varchar, [column name], 120)

    ------------------------------
    JinHo Ko
    ------------------------------