SAP Knowledge Base Article - Public

1690090 - Using a formula in a Gantt chart causes Crystal Reports for Enterprise to crash

Symptom

  • Cannot use formula in Gantt chart
  • Crystal Reports for enterprise crashes with the following error message:

"Crystal Reports has encountered an unexpected error and needs to close"

  • Error details:

Java.lang.ClassCastException: com.crystaldecisions.sdk.occa.report.data.FormulaField cannot be cast to com.crystaldecisions.sdk.occa.report.data.IDBField - [CRSDK00001016]

                Caused by: java.lang.ClassCastException: com.crystaldecisions.sdk.occa.report.data.FormulaField cannot be cast to com.crystaldecisions.sdk.occa.report.data.IDBField - [Internal Error UndoManagerL394]

                Caused by: com.crystaldecisions.sdk.occa.report.data.FormulaField cannot be cast to com.crystaldecisions.sdk.occa.report.data.IDBField - [Internal Error ElementLookupsL494]

Environment

  • Crystal Reports for Enterprise 4

Reproducing the Issue

  • Create a new report
  • Insert a Gantt chart in the report
  • Create a test formula
  • Drag and drop the formula in the label area of the chart

Cause

This has been identified as a potential bug and escalated to Product Group with reference number ADAPT01617691

Resolution

The issue will be addressed in patch 2.14 for BI 4

Keywords

Gant gantchart ganttchart gantt-chart close unexpectedly date field , KBA , BI-RA-CR-DSL , Crystal Reports on C++ Data Semantic Layer (ClassicUniverse) , Bug Filed

Product

SAP Crystal Reports 2011