[#14211] - Type mismatch: cannot convert from boolean to Object in case of upgrading JasperReport Library version from 6.12.1 to any version above 6.13.1

Category:
Bug report
Priority:
Urgent
Status:
New
Project: Severity:
Critical
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

Hi,

I am using JasperReport Library version 6.12.1 and its working fine with jdk1.8.0_151 but when I try to upgrade JasperReport Library version to 6.18.1 or any version which is above 6.13.0v it is giving me below error, I have tried with different java 1.8 patches as well but facing same issue.

Error -:

Exception in thread "main" net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
1. Type mismatch: cannot convert from boolean to Object
value = ((java.lang.String)field_ACCT_NM.getValue())!=null||((java.lang.String)field_ACCT_NO.getValue())!=null||((java.lang.String)field_BNK_NM.getValue())!=null||((java.lang.String)field_BR_NAM.getValue())!=null||((java.lang.String)field_BR_COD.getValue())!=null||((java.lang.String)field_CUST_NM.getValue())!=null||((java.lang.String)field_CUST_NO.getValue())!=null; //$JR_EXPR_ID=25$
<--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
2. Type mismatch: cannot convert from boolean to Object
value = ((java.lang.Integer)variable_PAGE_NUMBER.getValue()).intValue() != 1; //$JR_EXPR_ID=29$
<------------------------------------------------------------------>
3. Type mismatch: cannot convert from boolean to Object
value = ((java.math.BigDecimal)field_CLOS_AVAIL_BAL.getValue())!=null || ((java.math.BigDecimal)field_AVALTY.getValue())!=null || ((java.math.BigDecimal)field_OPEN_LEDG_BAL.getValue())!=null || ((java.util.Date)field_STMT_DT.getValue())!=null; //$JR_EXPR_ID=31$
<---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
4. Incompatible conditional operand types String and BigDecimal
value = ((java.math.BigDecimal)field_CLOS_AVAIL_BAL.getValue())!=null?new java.text.DecimalFormat(((java.lang.String)parameter_AMOUNT_USER_PREF.getValue()),new java.text.DecimalFormatSymbols(((java.util.Locale)parameter_AMOUNT_LOCALE.getValue()))).format(((java.math.BigDecimal)field_CLOS_AVAIL_BAL.getValue())):((java.math.BigDecimal)field_CLOS_AVAIL_BAL.getValue()); //$JR_EXPR_ID=33$
<--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
5. Incompatible conditional operand types String and BigDecimal
value = ((java.math.BigDecimal)field_AVALTY.getValue())!=null?new java.text.DecimalFormat(((java.lang.String)parameter_AMOUNT_USER_PREF.getValue()),new java.text.DecimalFormatSymbols(((java.util.Locale)parameter_AMOUNT_LOCALE.getValue()))).format(((java.math.BigDecimal)field_AVALTY.getValue())):((java.math.BigDecimal)field_AVALTY.getValue()); //$JR_EXPR_ID=35$
<--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
6. Incompatible conditional operand types String and BigDecimal
value = ((java.math.BigDecimal)field_OPEN_LEDG_BAL.getValue())!=null?new java.text.DecimalFormat(((java.lang.String)parameter_AMOUNT_USER_PREF.getValue()),new java.text.DecimalFormatSymbols(((java.util.Locale)parameter_AMOUNT_LOCALE.getValue()))).format(((java.math.BigDecimal)field_OPEN_LEDG_BAL.getValue())):((java.math.BigDecimal)field_OPEN_LEDG_BAL.getValue()); //$JR_EXPR_ID=37$
<------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------>
7. Type mismatch: cannot convert from boolean to Object
value = ((java.lang.String)field_ACCT_NM.getOldValue())!=null||((java.lang.String)field_ACCT_NO.getOldValue())!=null||((java.lang.String)field_BNK_NM.getOldValue())!=null||((java.lang.String)field_BR_NAM.getOldValue())!=null||((java.lang.String)field_BR_COD.getOldValue())!=null||((java.lang.String)field_CUST_NM.getOldValue())!=null||((java.lang.String)field_CUST_NO.getOldValue())!=null; //$JR_EXPR_ID=25$
<------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------>
8. Type mismatch: cannot convert from boolean to Object
value = ((java.lang.Integer)variable_PAGE_NUMBER.getOldValue()).intValue() != 1; //$JR_EXPR_ID=29$
<--------------------------------------------------------------------->
9. Type mismatch: cannot convert from boolean to Object
value = ((java.math.BigDecimal)field_CLOS_AVAIL_BAL.getOldValue())!=null || ((java.math.BigDecimal)field_AVALTY.getOldValue())!=null || ((java.math.BigDecimal)field_OPEN_LEDG_BAL.getOldValue())!=null || ((java.util.Date)field_STMT_DT.getOldValue())!=null; //$JR_EXPR_ID=31$
<---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
10. Incompatible conditional operand types String and BigDecimal
value = ((java.math.BigDecimal)field_CLOS_AVAIL_BAL.getOldValue())!=null?new java.text.DecimalFormat(((java.lang.String)parameter_AMOUNT_USER_PREF.getValue()),new java.text.DecimalFormatSymbols(((java.util.Locale)parameter_AMOUNT_LOCALE.getValue()))).format(((java.math.BigDecimal)field_CLOS_AVAIL_BAL.getOldValue())):((java.math.BigDecimal)field_CLOS_AVAIL_BAL.getOldValue()); //$JR_EXPR_ID=33$
<------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------>
11. Incompatible conditional operand types String and BigDecimal
value = ((java.math.BigDecimal)field_AVALTY.getOldValue())!=null?new java.text.DecimalFormat(((java.lang.String)parameter_AMOUNT_USER_PREF.getValue()),new java.text.DecimalFormatSymbols(((java.util.Locale)parameter_AMOUNT_LOCALE.getValue()))).format(((java.math.BigDecimal)field_AVALTY.getOldValue())):((java.math.BigDecimal)field_AVALTY.getOldValue()); //$JR_EXPR_ID=35$
<------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------>
12. Incompatible conditional operand types String and BigDecimal
value = ((java.math.BigDecimal)field_OPEN_LEDG_BAL.getOldValue())!=null?new java.text.DecimalFormat(((java.lang.String)parameter_AMOUNT_USER_PREF.getValue()),new java.text.DecimalFormatSymbols(((java.util.Locale)parameter_AMOUNT_LOCALE.getValue()))).format(((java.math.BigDecimal)field_OPEN_LEDG_BAL.getOldValue())):((java.math.BigDecimal)field_OPEN_LEDG_BAL.getOldValue()); //$JR_EXPR_ID=37$
<--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
13. Type mismatch: cannot convert from boolean to Object
value = ((java.lang.String)field_ACCT_NM.getValue())!=null||((java.lang.String)field_ACCT_NO.getValue())!=null||((java.lang.String)field_BNK_NM.getValue())!=null||((java.lang.String)field_BR_NAM.getValue())!=null||((java.lang.String)field_BR_COD.getValue())!=null||((java.lang.String)field_CUST_NM.getValue())!=null||((java.lang.String)field_CUST_NO.getValue())!=null; //$JR_EXPR_ID=25$
<--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
14. Type mismatch: cannot convert from boolean to Object
value = ((java.lang.Integer)variable_PAGE_NUMBER.getEstimatedValue()).intValue() != 1; //$JR_EXPR_ID=29$
<--------------------------------------------------------------------------->
15. Type mismatch: cannot convert from boolean to Object
value = ((java.math.BigDecimal)field_CLOS_AVAIL_BAL.getValue())!=null || ((java.math.BigDecimal)field_AVALTY.getValue())!=null || ((java.math.BigDecimal)field_OPEN_LEDG_BAL.getValue())!=null || ((java.util.Date)field_STMT_DT.getValue())!=null; //$JR_EXPR_ID=31$
<---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
16. Incompatible conditional operand types String and BigDecimal
value = ((java.math.BigDecimal)field_CLOS_AVAIL_BAL.getValue())!=null?new java.text.DecimalFormat(((java.lang.String)parameter_AMOUNT_USER_PREF.getValue()),new java.text.DecimalFormatSymbols(((java.util.Locale)parameter_AMOUNT_LOCALE.getValue()))).format(((java.math.BigDecimal)field_CLOS_AVAIL_BAL.getValue())):((java.math.BigDecimal)field_CLOS_AVAIL_BAL.getValue()); //$JR_EXPR_ID=33$
<--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
17. Incompatible conditional operand types String and BigDecimal
value = ((java.math.BigDecimal)field_AVALTY.getValue())!=null?new java.text.DecimalFormat(((java.lang.String)parameter_AMOUNT_USER_PREF.getValue()),new java.text.DecimalFormatSymbols(((java.util.Locale)parameter_AMOUNT_LOCALE.getValue()))).format(((java.math.BigDecimal)field_AVALTY.getValue())):((java.math.BigDecimal)field_AVALTY.getValue()); //$JR_EXPR_ID=35$
<--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
18. Incompatible conditional operand types String and BigDecimal
value = ((java.math.BigDecimal)field_OPEN_LEDG_BAL.getValue())!=null?new java.text.DecimalFormat(((java.lang.String)parameter_AMOUNT_USER_PREF.getValue()),new java.text.DecimalFormatSymbols(((java.util.Locale)parameter_AMOUNT_LOCALE.getValue()))).format(((java.math.BigDecimal)field_OPEN_LEDG_BAL.getValue())):((java.math.BigDecimal)field_OPEN_LEDG_BAL.getValue()); //$JR_EXPR_ID=37$
<------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------>
18 errors

Please find below JRXML code as well -

<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Cash Balances_PDF_XXXXX_108" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isSummaryNewPage="true" isSummaryWithPageHeaderAndFooter="true" uuid="67626775-67e8-41d4-8fbd-274e98d50f1f">
<style name="LineStyle" mode="Opaque" forecolor="#000000" fontSize="0"/>
<style name="ReportNameStyle" mode="Opaque" forecolor="#000000" backcolor="#FFFFFF" vTextAlign="Middle" fontName="Interstate" fontSize="22"/>
<style name="SummaryTitleStyle" mode="Opaque" backcolor="#FFFFFF" vTextAlign="Middle" fontName="Interstate" fontSize="10" isBold="true"/>
<style name="DefaultStyle" mode="Opaque" forecolor="#000000" backcolor="#FFFFFF" vTextAlign="Middle" fontName="Interstate" fontSize="10"/>
<parameter name="date_user_pref" class="java.lang.String"/>
<parameter name="AMOUNT_USER_PREF" class="java.lang.String"/>
<parameter name="DATETIME_USER_PREF" class="java.lang.String"/>
<parameter name="AMOUNT_LOCALE" class="java.util.Locale"/>
<parameter name="REPORT_DATETIME_FOOTER" class="java.lang.String"/>
<parameter name="DATE_LOCALE" class="java.util.Locale"/>
<parameter name="LL_12_BAS_CCY_COD" class="java.lang.String"/>
<parameter name="LL_13_BR_NAM" class="java.lang.String"/>
<parameter name="LL_25_AVALTY" class="java.lang.String"/>
<parameter name="LL_14_BR_COD" class="java.lang.String"/>
<parameter name="LL_15_CLOS_AVAIL_BAL" class="java.lang.String"/>
<parameter name="LL_26_OPEN_LEDG_BAL" class="java.lang.String"/>
<parameter name="LL_28_STMT_DT" class="java.lang.String"/>
<parameter name="LL_18_CUST_NM" class="java.lang.String"/>
<parameter name="LL_8_ACCT_NM" class="java.lang.String"/>
<parameter name="LL_19_CUST_NO" class="java.lang.String"/>
<parameter name="LL_9_ACCT_NO" class="java.lang.String"/>
<parameter name="LL_11_BNK_NM" class="java.lang.String"/>
<parameter name="LL_SUMMARY_TITLE" class="java.lang.String"/>
<parameter name="LL_OF" class="java.lang.String"/>
<parameter name="LL_REPORT_DATE" class="java.lang.String"/>
<parameter name="LL_REPORT_NAME" class="java.lang.String"/>
<parameter name="STMT_DT" class="java.lang.String"/>
<parameter name="ACCT_NO" class="java.lang.String"/>
<parameter name="BAS_CCY_COD" class="java.lang.String"/>
<parameter name="LL_PRIMARY_SORT" class="java.lang.String"/>
<parameter name="LL_SECONDARY_SORT" class="java.lang.String"/>
<parameter name="PRIMARY_SORT" class="java.lang.String"/>
<parameter name="SECONDARY_SORT" class="java.lang.String"/>
<field name="AVALTY" class="java.math.BigDecimal"/>
<field name="BNK_NM" class="java.lang.String"/>
<field name="BAS_CCY_COD" class="java.lang.String"/>
<field name="BR_NAM" class="java.lang.String"/>
<field name="BR_COD" class="java.lang.String"/>
<field name="STMT_DT" class="java.util.Date"/>
<field name="CLOS_AVAIL_BAL" class="java.math.BigDecimal"/>
<field name="ACCT_NM" class="java.lang.String"/>
<field name="CUST_NO" class="java.lang.String"/>
<field name="ACCT_NO" class="java.lang.String"/>
<field name="OPEN_LEDG_BAL" class="java.math.BigDecimal"/>
<field name="CUST_NM" class="java.lang.String"/>
<group name="MultipleGrouping" isStartNewPage="true">
<groupExpression><![CDATA["" + $F{ACCT_NM} + $F{ACCT_NO} + $F{BNK_NM} + $F{BR_NAM} + $F{BR_COD} + $F{CUST_NM} + $F{CUST_NO} ]]></groupExpression>
<groupHeader>
<band height="96" splitType="Immediate">
<textField>
<reportElement style="DefaultStyle" positionType="Float" x="0" y="0" width="300" height="12" uuid="042a098c-3729-4690-a6f6-ad923e971eb7"/>
<textElement textAlignment="Left" markup="styled"/>
<textFieldExpression><![CDATA["<style isBold='true'>" + net.sf.jasperreports.engine.util.JRStringUtil.xmlEncode($P{LL_8_ACCT_NM})+ "</style>"]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
<reportElement style="DefaultStyle" positionType="Float" x="250" y="0" width="300" height="12" uuid="34c55ace-901d-4677-8acc-caaa7beb8308"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{ACCT_NM}]]></textFieldExpression>
</textField>
<textField>
<reportElement style="DefaultStyle" positionType="Float" x="0" y="12" width="300" height="12" uuid="4708e0c2-4edb-40b1-9e09-e0f832fb3df3"/>
<textElement textAlignment="Left" markup="styled"/>
<textFieldExpression><![CDATA["<style isBold='true'>" + net.sf.jasperreports.engine.util.JRStringUtil.xmlEncode($P{LL_9_ACCT_NO})+ "</style>"]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
<reportElement style="DefaultStyle" positionType="Float" x="250" y="12" width="300" height="12" uuid="d21c3b0a-5a71-4dfa-a125-05fa52a6e751"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{ACCT_NO}]]></textFieldExpression>
</textField>
<textField>
<reportElement style="DefaultStyle" positionType="Float" x="0" y="24" width="300" height="12" uuid="bdad7ed5-efcf-4f49-9710-696a4d7b2da6"/>
<textElement textAlignment="Left" markup="styled"/>
<textFieldExpression><![CDATA["<style isBold='true'>" + net.sf.jasperreports.engine.util.JRStringUtil.xmlEncode($P{LL_11_BNK_NM})+ "</style>"]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
<reportElement style="DefaultStyle" positionType="Float" x="250" y="24" width="300" height="12" uuid="b7fe97c5-e80a-42b1-ae6c-38128520d1c7"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{BNK_NM}]]></textFieldExpression>
</textField>
<textField>
<reportElement style="DefaultStyle" positionType="Float" x="0" y="36" width="300" height="12" uuid="9252afdc-18bb-4586-a822-a1e71ac85cfc"/>
<textElement textAlignment="Left" markup="styled"/>
<textFieldExpression><![CDATA["<style isBold='true'>" + net.sf.jasperreports.engine.util.JRStringUtil.xmlEncode($P{LL_13_BR_NAM})+ "</style>"]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
<reportElement style="DefaultStyle" positionType="Float" x="250" y="36" width="300" height="12" uuid="638fa52a-dba6-48b3-90ac-796e5ed335ca"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{BR_NAM}]]></textFieldExpression>
</textField>
<textField>
<reportElement style="DefaultStyle" positionType="Float" x="0" y="48" width="300" height="12" uuid="9ab32853-e4c6-4a8c-8828-5fd610c18e42"/>
<textElement textAlignment="Left" markup="styled"/>
<textFieldExpression><![CDATA["<style isBold='true'>" + net.sf.jasperreports.engine.util.JRStringUtil.xmlEncode($P{LL_14_BR_COD})+ "</style>"]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
<reportElement style="DefaultStyle" positionType="Float" x="250" y="48" width="300" height="12" uuid="9f686b2b-1c80-48df-99f8-9a56285be1ea"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{BR_COD}]]></textFieldExpression>
</textField>
<textField>
<reportElement style="DefaultStyle" positionType="Float" x="0" y="60" width="300" height="12" uuid="491f3a38-018d-4b89-8c22-17075a2c6f32"/>
<textElement textAlignment="Left" markup="styled"/>
<textFieldExpression><![CDATA["<style isBold='true'>" + net.sf.jasperreports.engine.util.JRStringUtil.xmlEncode($P{LL_18_CUST_NM})+ "</style>"]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
<reportElement style="DefaultStyle" positionType="Float" x="250" y="60" width="300" height="12" uuid="a65fa2b2-7277-4c0a-95d5-a936bc5a24ae"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{CUST_NM}]]></textFieldExpression>
</textField>
<textField>
<reportElement style="DefaultStyle" positionType="Float" x="0" y="72" width="300" height="12" uuid="57aa94fb-65e4-49ca-b063-8b388a5f230f"/>
<textElement textAlignment="Left" markup="styled"/>
<textFieldExpression><![CDATA["<style isBold='true'>" + net.sf.jasperreports.engine.util.JRStringUtil.xmlEncode($P{LL_19_CUST_NO})+ "</style>"]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
<reportElement style="DefaultStyle" positionType="Float" x="250" y="72" width="300" height="12" uuid="0b5528d3-e853-4717-8a2f-ec66c62dc813"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{CUST_NO}]]></textFieldExpression>
</textField>
<line>
<reportElement style="LineStyle" x="0" y="-8" width="550" height="1" uuid="b2ba482a-4604-4203-8f8a-7bf95899462b">
<printWhenExpression><![CDATA[$F{ACCT_NM}!=null||$F{ACCT_NO}!=null||$F{BNK_NM}!=null||$F{BR_NAM}!=null||$F{BR_COD}!=null||$F{CUST_NM}!=null||$F{CUST_NO}!=null]]></printWhenExpression>
</reportElement>
</line>
</band>
</groupHeader>
</group>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="110" splitType="Stretch">

<textField>
<reportElement style="ReportNameStyle" positionType="Float" x="0" y="65" width="555" height="29" uuid="af0873c6-833b-4f32-af88-75dfd2e9868e"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$P{LL_REPORT_NAME}]]></textFieldExpression>
</textField>
</band>
</title>
<pageHeader>
<band height="40">
<printWhenExpression><![CDATA[$V{PAGE_NUMBER}.intValue() != 1]]></printWhenExpression>
<textField>
<reportElement style="ReportNameStyle" positionType="Float" x="0" y="0" width="555" height="29" uuid="fb4a8a49-8c77-4481-a75b-0703d86ade5f"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$P{LL_REPORT_NAME}]]></textFieldExpression>
</textField>
<line>
<reportElement style="LineStyle" x="0" y="32" width="550" height="1" uuid="60e56bcb-901f-4d6f-a644-9e0d0badc15d"/>
</line>
</band>
</pageHeader>
<detail>
<band height="60" splitType="Immediate">
<printWhenExpression><![CDATA[$F{CLOS_AVAIL_BAL}!=null || $F{AVALTY}!=null || $F{OPEN_LEDG_BAL}!=null || $F{STMT_DT}!=null ]]></printWhenExpression>
<line>
<reportElement style="LineStyle" x="0" y="0" width="550" height="1" uuid="e47d0343-5af5-4353-bef8-f5279d2601ed"/>
</line>
<textField textAdjust="StretchHeight">
<reportElement style="DefaultStyle" positionType="Float" x="0" y="4" width="300" height="12" uuid="8438d629-13a2-4fce-b270-6ccc5114b7f8"/>
<textElement textAlignment="Left" markup="styled"/>
<textFieldExpression><![CDATA["<style isBold='true'>" + net.sf.jasperreports.engine.util.JRStringUtil.xmlEncode($P{LL_15_CLOS_AVAIL_BAL})+ "</style>"]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
<reportElement style="DefaultStyle" positionType="Float" x="250" y="4" width="300" height="12" uuid="ea1725f6-21d9-4a45-b56b-7d987c89d566"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{CLOS_AVAIL_BAL}!=null?new java.text.DecimalFormat($P{AMOUNT_USER_PREF},new java.text.DecimalFormatSymbols($P{AMOUNT_LOCALE})).format($F{CLOS_AVAIL_BAL}):$F{CLOS_AVAIL_BAL}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement style="DefaultStyle" positionType="Float" x="0" y="16" width="300" height="12" uuid="4c5377df-6c3e-4b14-a875-d8d0fe88b807"/>
<textElement textAlignment="Left" markup="styled"/>
<textFieldExpression><![CDATA["<style isBold='true'>" + net.sf.jasperreports.engine.util.JRStringUtil.xmlEncode($P{LL_25_AVALTY})+ "</style>"]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
<reportElement style="DefaultStyle" positionType="Float" x="250" y="16" width="300" height="12" uuid="fc382402-b3c4-49c6-8a48-0fe73ad3ab17"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{AVALTY}!=null?new java.text.DecimalFormat($P{AMOUNT_USER_PREF},new java.text.DecimalFormatSymbols($P{AMOUNT_LOCALE})).format($F{AVALTY}):$F{AVALTY}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement style="DefaultStyle" positionType="Float" x="0" y="28" width="300" height="12" uuid="fe74bec3-8424-4d84-925c-b8454cdaf1f1"/>
<textElement textAlignment="Left" markup="styled"/>
<textFieldExpression><![CDATA["<style isBold='true'>" + net.sf.jasperreports.engine.util.JRStringUtil.xmlEncode($P{LL_26_OPEN_LEDG_BAL})+ "</style>"]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
<reportElement style="DefaultStyle" positionType="Float" x="250" y="28" width="300" height="12" uuid="60ea48db-e6e6-47f8-879e-cc8ae10e95d2"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{OPEN_LEDG_BAL}!=null?new java.text.DecimalFormat($P{AMOUNT_USER_PREF},new java.text.DecimalFormatSymbols($P{AMOUNT_LOCALE})).format($F{OPEN_LEDG_BAL}):$F{OPEN_LEDG_BAL}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement style="DefaultStyle" positionType="Float" x="0" y="40" width="300" height="12" uuid="5dac8b03-4596-445d-bfd6-511826ef0f63"/>
<textElement textAlignment="Left" markup="styled"/>
<textFieldExpression><![CDATA["<style isBold='true'>" + net.sf.jasperreports.engine.util.JRStringUtil.xmlEncode($P{LL_28_STMT_DT})+ "</style>"]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
<reportElement style="DefaultStyle" positionType="Float" x="250" y="40" width="300" height="12" uuid="701a00fb-79f8-4d5e-879b-d1b7808d4880"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[(new java.text.SimpleDateFormat($P{date_user_pref},$P{DATE_LOCALE})).format($F{STMT_DT})]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band height="30" splitType="Stretch">
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
<reportElement x="400" y="7" width="100" height="15" uuid="647a73ec-dc1f-4cea-8015-6734605c1935"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[$V{PAGE_NUMBER} ]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight" evaluationTime="Report" isBlankWhenNull="true">
<reportElement x="500" y="7" width="48" height="15" uuid="47e10c0f-013f-47de-94ff-d929897de750"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$P{LL_OF}+$V{PAGE_NUMBER} ]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight" evaluationTime="Report" isBlankWhenNull="true">
<reportElement x="0" y="7" width="60" height="15" uuid="8b9bf24e-d5d2-4ef8-9aa9-a7e97659066c"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$P{LL_REPORT_DATE}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
<reportElement x="62" y="7" width="217" height="10" uuid="32027cb4-9644-4692-ba3e-e66a4ae47053"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$P{REPORT_DATETIME_FOOTER}]]></textFieldExpression>
</textField>
<line>
<reportElement style="LineStyle" x="0" y="5" width="550" height="1" uuid="8f679cd0-9d2b-4014-a059-f6290c2e2e11"/>
</line>
</band>
</pageFooter>
<summary>
<band height="116" splitType="Stretch">
<textField textAdjust="StretchHeight">
<reportElement style="SummaryTitleStyle" x="0" y="0" width="555" height="15" uuid="3468bd03-8919-4e46-9cf4-4996a8d38368"/>
<textElement textAlignment="Left" markup="styled"/>
<textFieldExpression><![CDATA["<style isBold='true'>" + net.sf.jasperreports.engine.util.JRStringUtil.xmlEncode($P{LL_SUMMARY_TITLE})+ "</style>"]]></textFieldExpression>
</textField>
<line>
<reportElement style="LineStyle" x="0" y="12" width="550" height="1" uuid="3d7f2c09-1b4e-473f-b716-7727ab9321e0"/>
</line>
<textField textAdjust="StretchHeight">
<reportElement style="DefaultStyle" positionType="Float" x="0" y="24" width="300" height="12" uuid="23156ca0-ec4f-42c7-95d7-0328306edd4c"/>
<textElement textAlignment="Left" markup="styled"/>
<textFieldExpression><![CDATA["<style isBold='true'>" + net.sf.jasperreports.engine.util.JRStringUtil.xmlEncode($P{LL_28_STMT_DT})+ "</style>"]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
<reportElement style="DefaultStyle" positionType="Float" x="250" y="24" width="300" height="12" uuid="1dbe85ea-0085-4420-9818-01c80ec26a6b"/>
<textFieldExpression><![CDATA[$P{STMT_DT}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement style="DefaultStyle" positionType="Float" x="0" y="36" width="300" height="12" uuid="dd868d58-2e65-4901-8f67-3cec7ecfce27"/>
<textElement textAlignment="Left" markup="styled"/>
<textFieldExpression><![CDATA["<style isBold='true'>" + net.sf.jasperreports.engine.util.JRStringUtil.xmlEncode($P{LL_9_ACCT_NO})+ "</style>"]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
<reportElement style="DefaultStyle" positionType="Float" x="250" y="36" width="300" height="12" uuid="040669d2-c2ee-4da8-ac84-d81c73168ae7"/>
<textFieldExpression><![CDATA[$P{ACCT_NO}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement style="DefaultStyle" positionType="Float" x="0" y="48" width="300" height="12" uuid="840331d6-af8b-4128-b65a-a41e93d20b66"/>
<textElement textAlignment="Left" markup="styled"/>
<textFieldExpression><![CDATA["<style isBold='true'>" + net.sf.jasperreports.engine.util.JRStringUtil.xmlEncode($P{LL_12_BAS_CCY_COD})+ "</style>"]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
<reportElement style="DefaultStyle" positionType="Float" x="250" y="48" width="300" height="12" uuid="d937d07d-301e-462e-a692-11f098fb3ea3"/>
<textFieldExpression><![CDATA[$P{BAS_CCY_COD}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement style="DefaultStyle" positionType="Float" x="0" y="60" width="300" height="12" uuid="48076956-9169-481b-8997-74fb7597de35"/>
<textElement textAlignment="Left" markup="styled"/>
<textFieldExpression><![CDATA["<style isBold='true'>" + net.sf.jasperreports.engine.util.JRStringUtil.xmlEncode($P{LL_PRIMARY_SORT})+ "</style>"]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
<reportElement style="DefaultStyle" positionType="Float" x="250" y="60" width="300" height="12" uuid="c159d79b-498f-4f4c-87ec-701df6814c20"/>
<textFieldExpression><![CDATA[$P{PRIMARY_SORT}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement style="DefaultStyle" positionType="Float" x="0" y="72" width="300" height="12" uuid="6e5e383a-7f11-4c69-9b32-6216c1772c6c"/>
<textElement textAlignment="Left" markup="styled"/>
<textFieldExpression><![CDATA["<style isBold='true'>" + net.sf.jasperreports.engine.util.JRStringUtil.xmlEncode($P{LL_SECONDARY_SORT})+ "</style>"]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
<reportElement style="DefaultStyle" positionType="Float" x="250" y="72" width="300" height="12" uuid="5f980ec6-fe8d-45c5-a170-4bbf2e332fe1"/>
<textFieldExpression><![CDATA[$P{SECONDARY_SORT}]]></textFieldExpression>
</textField>
</band>
</summary>
</jasperReport>

v6.18.1
atulnamdeo7's picture
Joined: Feb 26 2020 - 11:05pm
Last seen: 8 months 1 week ago
Feedback