IBM Support

PH11507: REPORT FAILS WITH JAVA.LANG.ARRAYINDEXOUTOFBOUNDSEXCEPTION XVECTORCASTLONGTODOUBLE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • After resolving APAR PH06104 in the FM model the report still
    fails with error XQE-GEN-0005 Found an internal error:
    java.lang.ArrayIndexOutOfBoundsException depending on the data
    returned.
    The error is triggered by elements in a comparison, ie. a case
    when or filter.
    
    Stack Trace:
    Caused by: java.lang.ArrayIndexOutOfBoundsException
        at
    com.cognos.xqe.runtree.relational.vectorization.expressions.cast
    .XVectorCastLongToDouble.evaluate(XVectorCastLongToDouble.java:6
    8)
        at
    com.cognos.xqe.runtree.relational.vectorization.XVectorExpressio
    n.evaluate(XVectorExpression.java:58)
        at
    com.cognos.xqe.runtree.relational.vectorization.expressions.gene
    rated.XVectorDoubleColumnSafeDivideLongColumn.evaluate(XVectorDo
    ubleColumnSafeDivideLongColumn.java:80)
        at
    com.cognos.xqe.runtree.relational.vectorization.XVectorExpressio
    n.evaluate(XVectorExpression.java:58)
        at
    com.cognos.xqe.runtree.relational.vectorization.XVectorSetFuncti
    on.aggregate(XVectorSetFunction.java:205)
        at
    com.cognos.xqe.runtree.relational.vectorization.XVectorHashGroup
    By$XVectorHashGroupByResultSet$XVectorHashGroupByIterator.proces
    sBatch(XVectorHashGroupBy.java:450)
        at
    com.cognos.xqe.runtree.relational.vectorization.XVectorHashGroup
    By$XVectorHashGroupByResultSet$XVectorHashGroupByIterator.loadHa
    sh(XVectorHashGroupBy.java:354)
        at
    com.cognos.xqe.runtree.relational.vectorization.XVectorHashGroup
    By$XVectorHashGroupByResultSet$XVectorHashGroupByIterator.nextBa
    tch(XVectorHashGroupBy.java:219)
        at
    com.cognos.xqe.runtree.relational.vectorization.XVectorTabularIt
    erator.nextImpl(XVectorTabularIterator.java:70)
    

Local fix

  • cast the elements that are part of the comparison to the same
    data type.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Users                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to IBM Cognos Analytics 11.1.4                       *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH11507

  • Reported component name

    COG REPORT STUD

  • Reported component ID

    5724W12RS

  • Reported release

    B0A

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-04-26

  • Closed date

    2019-10-15

  • Last modified date

    2019-10-15

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

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

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCHNWW","label":"Report Authoring v11x"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B0A","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
15 October 2019