Bi Publisher RTF template now giving invalid value for cast/constructor error
We had a 10g report which worked great. After moving to 11g (11.1.1.7.0) and running it through the BI Publisher Template Viewer it gives an error.<Line 67, Column 212>: XML-23029: (Error) FORG0001: invalid value for cast/constructor
@Line 67 ==> <xsl:variable name="_XDOFOTOTAL" select="count(.//IngrAgreementLicenses[Status = "Upgrade Complete"][INGRTaxProduct = contains((INGRTaxProduct)[1], 'Ele')])"/>
Within the report we do not have a 'count' specified. Looks like the field in the RTF it is having issues with is.
<?for-each:IngrAgreementLicenses[Status="Upgrade Complete"][INGRTaxProduct=contains(INGRTaxProduct,'Ele')]?>
This looks similar to issue : BI Publisher Error oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException When Exporting a Report (