形式が Excel の cfreport を使用すると問題が発生します。このエラーは、*.cfr ファイルにラベルが 1 つしか含まれていない場合でも発生します。
<cferror template="path/to/error_template.cfm" type="EXCEPTION">
<cfreport template="path/to/cfr_file.cfr" format="excel">
<cfreportparam name="param1" value="value1">
<!--- several cfreportparam tag --->
</cfreport>
カスタム エラー テンプレートから、
- 診断: (クラス: net/sf/jasperreports/engine/export/JRXlsExporter、メソッド: createMergeRegion 署名: (Lnet/sf/jasperreports/engine/export/JRExporterGridCell;IILorg/apache/poi/hssf/usermodel/HSSFCellStyle;)V)関数 null
の引数に互換性がありません。エラーは -1 行目で発生しました。 - メッセージ: (クラス: net/sf/jasperreports/engine/export/JRXlsExporter、メソッド: createMergeRegion 署名: (Lnet/sf/jasperreports/engine/export/JRExporterGridCell;IILorg/apache/poi/hssf/usermodel/HSSFCellStyle;)V)関数への互換性のない引数
このエラーは、形式が Excel の場合にのみ発生します。
ありがとうございました :)