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:

  • 相关阅读:
    zabbix 表结构详情(基本)
    服务器监控zabbix
    服务器启动与关闭
    查看mysql中所有表的数据记录
    linux 常用进程使用命令
    linux mysql access denied for user ‘root’@’localhost'(using password:YES)
    初次使用IDEA的相关技巧
    javaweb回顾第十二篇监听器
    javaweb回顾第十一篇过滤器(附实现中文乱码问题)
    javaweb回顾第十篇JSTL
  • 原文地址:https://www.cnblogs.com/liupuLearning/p/6170544.html
Copyright © 2011-2022 走看看