zoukankan      html  css  js  c++  java
  • Jasper_crosstab_group_dataset_Error incrementing crosstab dataset

    Error detail:

    net.sf.jasperreports.engine.JRException: net.sf.jasperreports.engine.JRRuntimeException: Error incrementing crosstab dataset.
        at com.jaspersoft.studio.editor.preview.view.control.ReportControler.fillReport(ReportControler.java:524)
        at com.jaspersoft.studio.editor.preview.view.control.ReportControler.access$20(ReportControler.java:499)
        at com.jaspersoft.studio.editor.preview.view.control.ReportControler$5.run(ReportControler.java:380)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
    Caused by: net.sf.jasperreports.engine.JRRuntimeException: Error incrementing crosstab dataset.
        at net.sf.jasperreports.engine.fill.JRFillCrosstab$JRFillCrosstabDataset.customIncrement(JRFillCrosstab.java:1220)
        at net.sf.jasperreports.engine.fill.JRFillElementDataset.increment(JRFillElementDataset.java:191)
        at net.sf.jasperreports.engine.fill.JRCalculator.calculateVariables(JRCalculator.java:191)
        at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:739)
        at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportContent(JRVerticalFiller.java:279)
        at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:123)
        at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:558)
        at net.sf.jasperreports.engine.fill.BaseFillHandle$ReportFill.run(BaseFillHandle.java:119)
        at java.lang.Thread.run(Unknown Source)
    Caused by: net.sf.jasperreports.engine.JRException: Crosstab data has already been processed.
        at net.sf.jasperreports.crosstabs.fill.calculation.BucketingService.addData(BucketingService.java:317)
        at net.sf.jasperreports.engine.fill.JRFillCrosstab$JRFillCrosstabDataset.customIncrement(JRFillCrosstab.java:1216)
        ... 8 more

    summary:

    <crosstabDataset>
        <dataset resetType="Group" resetGroup="currentGroupName"/>
    </crosstabDataset>

    detail:

    <group name="rule name">
            <groupExpression><![CDATA[$F{rule name}]]></groupExpression>
            <groupHeader>
                <band height="53">
                    <textField>
                        <reportElement x="0" y="23" width="149" height="30" uuid="ae7b6461-ca5f-4812-8249-cfdfbe705e45"/>
                        <textFieldExpression><![CDATA[$F{rule name}]]></textFieldExpression>
                    </textField>
                </band>
            </groupHeader>
            <groupFooter>
                <band height="302">
                    <crosstab>
                        <reportElement x="51" y="85" width="429" height="200" uuid="cc960929-433f-46f7-8ccb-4164a2d0614f"/>
                        <crosstabDataset>
                            <dataset resetType="Group" resetGroup="rule name"/>
                        </crosstabDataset>
                        <crosstabHeaderCell>
                            <cellContents>

    set via properties:

  • 相关阅读:
    我回来了
    wget 官方jdk
    linux rpm命令安装卸载 初步使用
    关于一些对location认识的误区(转)
    直接插入排序
    冒泡排序
    Wireshark下TCP三次握手四次挥手
    linux内存使用率详解
    Linux下硬盘使用率详解及shell脚本实现
    Linux下CPU使用率详解
  • 原文地址:https://www.cnblogs.com/liupuLearning/p/6170544.html
Copyright © 2011-2022 走看看