We see a lot of Assertion failures in System Error logs triggered by Crystal Reports when reports are invoked from Java. Reports are generated successfully but assertion failures exist in logs. We tried out suppressing assertions from WebSphere side but still the assertions triggered while report generation are not disabled. Following is the assertion failures we encounter after tracing is enabled for crystal reports:
83806 [WebContainer : 0] DEBUG com.crystaldecisions.reports.formulas.Simplifier.Fields - The current value of field {Query.CHECK_AMT} is: c(700.0)
83806 [WebContainer : 0] WARN com.crystaldecisions.reports.common.asserts.CrystalAssert - Assertion Failed: Formula context returned the wrong type of value for a field.
83806 [WebContainer : 0] WARN com.crystaldecisions.reports.common.asserts.CrystalAssert - Assertion Failed: Formula context returned the wrong type of value for a field.
83853 [WebContainer : 0] INFO com.crystaldecisions.reports.common.asserts.CrystalAssert - java.lang.Throwable
at com.crystaldecisions.reports.common.j.b.a(Unknown Source)
at com.crystaldecisions.reports.formulas.al.if(Unknown Source)
at com.crystaldecisions.reports.formulas.ab.if(Unknown Source)
at com.crystaldecisions.reports.formulas.al.if(Unknown Source)
at com.crystaldecisions.reports.formulas.al.if(Unknown Source)
at com.crystaldecisions.reports.formulas.ab.if(Unknown Source)
at com.crystaldecisions.reports.formulas.al.if(Unknown Source)
at com.crystaldecisions.reports.formulas.al.if(Unknown Source)
at com.crystaldecisions.reports.formulas.ab.if(Unknown Source)
at com.crystaldecisions.reports.formulas.al.if(Unknown Source)
at com.crystaldecisions.reports.formulas.al.a(Unknown Source)
at com.crystaldecisions.reports.formulas.al.if(Unknown Source)
at com.crystaldecisions.reports.formulas.al.long(Unknown Source)
at com.crystaldecisions.reports.formulas.n.a(Unknown Source)
at com.crystaldecisions.reports.formulas.FormulaInfo.for(Unknown Source)
at com.crystaldecisions.reports.formulas.FormulaService.evaluate(Unknown Source)
at com.crystaldecisions.reports.reportdefinition.b2.if(Unknown Source)
at com.crystaldecisions.reports.dataengine.o.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.o.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.n.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.n.if(Unknown Source)
at com.crystaldecisions.reports.dataengine.a5.if(Unknown Source)
at com.crystaldecisions.reports.dataengine.a5.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.a5.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bn.case(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.a8.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.a8.goto(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.i.goto(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.a8.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bl.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bn.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bn.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.a9.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bu.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bl.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b0.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.a4.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bu.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bl.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.f.for(Unknown Source)
Interestingly we have the Check_Amt as Number in Oracle database as well as in the reports but still the {Query.CHECK_AMT} is: c(700.0) Check_Amt is read as character.
Is there any way we can suppress this assertion?