Jump to content
Changes to the Jaspersoft community edition download ×

Report crashes with an heap overflow! Can you help me?


sherzfel

Recommended Posts

Hello,

my report crashes sometimes, not frequently, with an heap overflow error. Can you help me. I am using jasper report 5.6.1.

<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="KV_Schein_Pos" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="530" leftMargin="50" rightMargin="15" topMargin="20" bottomMargin="20" uuid="9f3405f9-bcf7-41ae-86f7-cb10db6f2fb2">
    <property name="ireport.scriptlethandling" value="0"/>
    <property name="ireport.encoding" value="UTF-8"/>
    <property name="ireport.zoom" value="1.0"/>
    <property name="ireport.x" value="0"/>
    <property name="ireport.y" value="0"/>
    <import value="net.sf.jasperreports.engine.*"/>
    <import value="java.util.*"/>
    <import value="net.sf.jasperreports.engine.data.*"/>
    <parameter name="ebmnr" class="java.lang.String"/>
    <parameter name="kvnr" class="java.lang.String"/>
    <parameter name="lief_adr2" class="java.lang.String"/>
    <parameter name="lief_adr3" class="java.lang.String"/>
    <parameter name="lief_adr4" class="java.lang.String"/>
    <parameter name="lief_adr5" class="java.lang.String"/>
    <parameter name="lief_email1" class="java.lang.String"/>
    <parameter name="ebm_bestellwert" class="java.lang.String"/>
    <parameter name="copyVW" class="java.lang.String"/>
    <parameter name="lief_adr1" class="java.lang.String"/>
    <parameter name="abrufnr" class="java.lang.String"/>
    <parameter name="datum1" class="java.lang.String"/>
    <parameter name="werk" class="java.lang.String"/>
    <parameter name="abladestelle" class="java.lang.String"/>
    <parameter name="ansprechp" class="java.lang.String"/>
    <parameter name="telefon" class="java.lang.String"/>
    <parameter name="anfkst1" class="java.lang.String"/>
    <parameter name="anfkst" class="java.lang.String"/>
    <parameter name="kontierung" class="java.lang.String"/>
    <parameter name="lief_nr" class="java.lang.String"/>
    <parameter name="datum2" class="java.lang.String"/>
    <parameter name="nutzkst" class="java.lang.String"/>
    <parameter name="ausfkst" class="java.lang.String"/>
    <parameter name="bmnr" class="java.lang.String"/>
    <parameter name="lief_email2" class="java.lang.String"/>
    <parameter name="companyLogo" class="java.lang.Object"/>
    <parameter name="einzelposText" class="java.lang.String"/>
    <queryString language="SQL">
        <![CDATA[]]>
    </queryString>
    <field name="ebm_pos" class="java.lang.String"/>
    <field name="ebm_matnr" class="java.lang.String"/>
    <field name="ebm_gegenst" class="java.lang.String"/>
    <field name="ebm_festpreis" class="java.lang.String"/>
    <field name="ebm_text" class="java.lang.String"/>
    <field name="ebm_menge" class="java.lang.String"/>
    <background>
        <band height="792">
            <rectangle>
                <reportElement uuid="e5f3001f-874f-4712-b248-3cc0905a0bfa" mode="Transparent" x="0" y="0" width="525" height="792"/>
            </rectangle>
        </band>
    </background>
    <title>
        <band/>
    </title>
    <pageHeader>
        <band height="339">
            <image scaleImage="FillFrame" hAlign="Center" vAlign="Middle">
                <reportElement uuid="0c86384b-3731-4f88-b26b-029a2b1894b0" x="5" y="5" width="45" height="45"/>
                <imageExpression class="java.awt.Image"><![CDATA[$P{companyLogo}]]></imageExpression>
            </image>
            <staticText>
                <reportElement uuid="fd4a82d1-6761-4db7-a537-6e0ad5fa329a" x="60" y="16" width="156" height="22"/>
                <textElement verticalAlignment="Middle">
                    <font size="16" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[VOLKSWAGEN
]]></text>
            </staticText>
            <textField isBlankWhenNull="true">
                <reportElement uuid="259a8b12-5641-41a4-9b82-f11b639f4f93" x="6" y="120" width="253" height="17"/>
                <textElement>
                    <font size="12" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{lief_adr1}]]></textFieldExpression>
            </textField>
            <textField isBlankWhenNull="true">
                <reportElement uuid="5891c3af-1217-4cbf-b7e5-b9abd3127128" x="6" y="133" width="253" height="17"/>
                <textElement>
                    <font size="12" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{lief_adr2}]]></textFieldExpression>
            </textField>
            <textField isBlankWhenNull="true">
                <reportElement uuid="e6cbc6ea-d74a-4605-b4b4-a31094d8d66d" x="6" y="148" width="253" height="16"/>
                <textElement>
                    <font size="12" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{lief_adr3}]]></textFieldExpression>
            </textField>
            <textField isBlankWhenNull="true">
                <reportElement uuid="0a94cafc-8ce0-4ecb-97f8-cdc07c71c286" x="6" y="163" width="253" height="16"/>
                <textElement>
                    <font size="12" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{lief_adr4}]]></textFieldExpression>
            </textField>
            <rectangle>
                <reportElement uuid="d55eb14a-4b05-483d-a7b2-aaf6086b8440" x="269" y="1" width="255" height="45"/>
                <graphicElement>
                    <pen lineWidth="1.0"/>
                </graphicElement>
            </rectangle>
            <staticText>
                <reportElement uuid="0528b0aa-ab4c-4cdd-8676-3250807a07e0" x="6" y="246" width="54" height="16"/>
                <textElement verticalAlignment="Top">
                    <font size="12" isBold="true"/>
                </textElement>
                <text><![CDATA[EBM-Nr.:
]]></text>
            </staticText>
            <textField isBlankWhenNull="true">
                <reportElement uuid="636049ca-fa54-4015-baa3-6fda8bea2eec" x="6" y="262" width="69" height="16"/>
                <textElement verticalAlignment="Top">
                    <font size="12" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{ebmnr}]]></textFieldExpression>
            </textField>
            <rectangle>
                <reportElement uuid="91d4af89-5051-4300-a0ef-738d99d8c9bf" x="32" y="308" width="48" height="31"/>
            </rectangle>
            <rectangle>
                <reportElement uuid="1cf81c4d-861d-4d3d-b580-82dfdd245c5b" x="80" y="308" width="65" height="31"/>
            </rectangle>
            <rectangle>
                <reportElement uuid="0698fcc0-ee36-4888-a4f0-448452ee4301" x="145" y="308" width="241" height="31"/>
            </rectangle>
            <rectangle>
                <reportElement uuid="7a28268a-be00-4a30-8ae4-de52912b0e77" x="385" y="308" width="73" height="31"/>
            </rectangle>
            <rectangle>
                <reportElement uuid="c30ffe29-8b40-4fcd-b39a-a225424e19b2" x="458" y="308" width="67" height="31"/>
            </rectangle>
            <rectangle>
                <reportElement uuid="056cdde6-2d1d-4827-8041-16fdcc842818" x="0" y="308" width="32" height="31"/>
            </rectangle>
            <rectangle>
                <reportElement uuid="e8dc522b-bfba-4731-858d-443d7e3e46e3" x="270" y="45" width="255" height="62"/>
                <graphicElement>
                    <pen lineWidth="1.0"/>
                </graphicElement>
            </rectangle>
            <rectangle>
                <reportElement uuid="b60b34ac-d912-49eb-b449-9fc55a8e16c3" x="270" y="107" width="255" height="28"/>
                <graphicElement>
                    <pen lineWidth="1.0"/>
                </graphicElement>
            </rectangle>
            <rectangle>
                <reportElement uuid="c431486a-1a98-4ccd-b789-3b09e9a5a5a1" x="270" y="135" width="255" height="28"/>
                <graphicElement>
                    <pen lineWidth="1.0"/>
                </graphicElement>
            </rectangle>
            <rectangle>
                <reportElement uuid="2fc61f9e-447c-45e8-a13a-e53f55115172" x="270" y="163" width="255" height="63"/>
                <graphicElement>
                    <pen lineWidth="1.0"/>
                </graphicElement>
            </rectangle>
            <rectangle>
                <reportElement uuid="e6bf8940-f8e5-4e1b-be39-88d34f6b3bc9" x="270" y="226" width="255" height="15"/>
                <graphicElement>
                    <pen lineWidth="1.0"/>
                </graphicElement>
            </rectangle>
            <staticText>
                <reportElement uuid="eeadb0d0-0178-4ff6-ae7b-c837ef9e00d5" x="278" y="6" width="81" height="14"/>
                <textElement verticalAlignment="Bottom">
                    <font size="10" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[11) Abruf zur]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="d763d45e-462b-4c53-9122-004b65fbe1ab" x="296" y="20" width="75" height="14"/>
                <textElement verticalAlignment="Bottom">
                    <font size="10" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[bestellung Nr.]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="f85ac599-c9e8-45bf-b83e-aa900fdf45d3" x="296" y="32" width="63" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[vom:]]></text>
            </staticText>
            <textField isBlankWhenNull="true">
                <reportElement uuid="0536ac15-9623-474f-96d3-1c877bde1e45" x="6" y="177" width="253" height="17"/>
                <textElement>
                    <font size="12" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{lief_adr5}]]></textFieldExpression>
            </textField>
            <textField isBlankWhenNull="true">
                <reportElement uuid="8523c024-887f-4ee6-8c5a-c7a80a7663f6" x="6" y="203" width="264" height="21"/>
                <textElement>
                    <font size="12" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{lief_email1}]]></textFieldExpression>
            </textField>
            <staticText>
                <reportElement uuid="143674dc-274f-403e-a72a-fcd992b345fe" x="80" y="246" width="54" height="16"/>
                <textElement verticalAlignment="Top">
                    <font size="12" isBold="true"/>
                </textElement>
                <text><![CDATA[KV]]></text>
            </staticText>
            <textField isBlankWhenNull="true">
                <reportElement uuid="5368369e-a9f9-42b1-a5ae-89f74c1d03d8" x="80" y="262" width="60" height="16"/>
                <textElement verticalAlignment="Top">
                    <font size="12" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{kvnr}]]></textFieldExpression>
            </textField>
            <staticText>
                <reportElement uuid="4b68996d-eb3c-4568-8d9b-4a7df9802bfd" x="160" y="246" width="63" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[ihr Zeichen]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="080c7fe9-fe1e-4470-9a1b-840e5ab7abbb" x="240" y="246" width="63" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[unser Zeichen]]></text>
            </staticText>
            <rectangle>
                <reportElement uuid="ac76f828-6b69-41b7-9612-e6feb7c2a2a1" x="0" y="277" width="116" height="31"/>
            </rectangle>
            <staticText>
                <reportElement uuid="a3b50446-aa8d-420d-aa43-b1bc6222e863" x="6" y="314" width="27" height="11"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[Pos.]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="3b3ae9cf-0e4a-4c3d-b322-b0d1146137c5" x="38" y="314" width="42" height="11"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[30) Menge]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="79d2f04e-9535-4d85-af29-8ec6037f04d8" x="86" y="314" width="62" height="11"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[28) Material-Nr.]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="40a64e8d-93a0-45af-8e65-709d6d307a60" x="151" y="314" width="157" height="11"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[29) Gegenstand ]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="9d59fcb1-6b8f-4d49-960d-d50d197d300d" x="391" y="314" width="65" height="11"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[Festpreis (EUR)]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="aa7e1ba2-4d87-4555-86d9-4e69678deb94" x="464" y="308" width="65" height="17"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[bei uns im Werk]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="774702b8-3971-4897-8222-862691d93755" x="464" y="325" width="61" height="14"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[   eintreffend]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="3b88bdf2-afbc-4259-881d-32bc641f56da" x="6" y="282" width="60" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[von Org. Einheit:]]></text>
            </staticText>
            <rectangle>
                <reportElement uuid="2252d2ee-2f95-464d-a124-019f4f52e2b6" x="116" y="277" width="154" height="31"/>
            </rectangle>
            <rectangle>
                <reportElement uuid="482b96ba-8af8-4ca0-a689-17c82c549e26" x="270" y="277" width="115" height="31"/>
            </rectangle>
            <rectangle>
                <reportElement uuid="0c7cf92b-a1e0-4c03-b56f-2f49d2d0a1f3" x="385" y="277" width="73" height="31"/>
            </rectangle>
            <rectangle>
                <reportElement uuid="abb1357e-2b87-4090-a9b7-538d922c993e" x="458" y="277" width="67" height="31"/>
            </rectangle>
            <textField isBlankWhenNull="true">
                <reportElement uuid="dfaed808-c89c-485d-bee4-854e0f854e9f" x="368" y="6" width="131" height="14"/>
                <textElement>
                    <font size="10" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{abrufnr}]]></textFieldExpression>
            </textField>
            <textField isBlankWhenNull="true">
                <reportElement uuid="1423a7f9-8155-4334-bc91-aa055c923f8d" x="368" y="32" width="131" height="14"/>
                <textElement>
                    <font size="10" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{datum1}]]></textFieldExpression>
            </textField>
            <staticText>
                <reportElement uuid="afcd34b7-ead5-4e4b-83d4-7361b27d8810" x="278" y="49" width="12" height="12"/>
                <textElement verticalAlignment="Bottom">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[26) ]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="22258b28-afbe-4c04-aa39-bbab169cc169" x="296" y="50" width="63" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[Werk:]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="3201d656-4011-4114-afde-61eb1f23cfa3" x="296" y="61" width="63" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[Abladestelle:]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="0e2e17a8-12a9-459f-839a-d886a4c3dc40" x="296" y="72" width="63" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[Ansprechpartner:]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="ffc39105-fcde-4b0c-80a5-fe1cced67c8a" x="296" y="95" width="63" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[bM-Nr.:]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="f6dac741-c009-4b9b-ad86-e7dd10b9defc" x="278" y="108" width="12" height="12"/>
                <textElement verticalAlignment="Bottom">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[15) ]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="0cf1b144-cd66-4f63-a31e-08a4876521ff" x="296" y="121" width="63" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[Kontierung:]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="1da968ee-86cb-492e-b05d-18bbefa28480" x="296" y="109" width="63" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[WA-Nr.:]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="c8442ca7-437e-4d7c-9203-28d751d6c9c3" x="296" y="137" width="63" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[inv.-Nr. und]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="4d08eb1c-9969-41d4-b253-1c2c20bece41" x="296" y="149" width="63" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[Fachgruppe]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="ee403e9f-5216-4000-9e69-ba0912a25030" x="278" y="136" width="12" height="12"/>
                <textElement verticalAlignment="Bottom">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[29) ]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="c9e5f2f4-ad36-4e47-91db-ef5dac03d005" x="278" y="215" width="247" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[Abladestelle; (26) Inv.-Nr. (29)]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="e05c47e0-71cb-47af-bb9d-c510089c0562" x="278" y="191" width="247" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[Lieferschein und Rechnung zu übernehmen. Auf dem Frachtbrief ist]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="816df02a-fb2a-47bf-b740-53a35a1773e9" x="278" y="179" width="247" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[Die mit Ziffer versehenen Daten sind in entsprechende Felder von]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="0f20f763-fc18-4ebd-89f8-4a0919711656" x="278" y="165" width="109" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[bitte unbedingt beachten:]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="f19e6a72-466e-498d-8860-cfe862c01275" x="278" y="203" width="247" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[einzutragen: Lieferschein-Nr.;  Bestellung-Nr.; 11) WA-Nr.; (15),]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="b875379e-d3ad-4927-b55b-bfa79980cc2e" x="296" y="228" width="63" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[Lieferer-Nr.:]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="ad4fa543-f3c4-4dd8-8741-e701b7a75a14" x="278" y="227" width="12" height="12"/>
                <textElement verticalAlignment="Bottom">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[ 5) ]]></text>
            </staticText>
            <textField isBlankWhenNull="true">
                <reportElement uuid="aad0cc9a-05d1-4a76-b80f-07fa0d6e1d86" x="368" y="50" width="157" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{werk}]]></textFieldExpression>
            </textField>
            <textField isBlankWhenNull="true">
                <reportElement uuid="fbf51660-8b97-49c1-af5c-d8abb7080211" x="368" y="62" width="157" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{abladestelle}]]></textFieldExpression>
            </textField>
            <textField isBlankWhenNull="true">
                <reportElement uuid="43deb6e9-fd5f-4d17-b0ca-26975010af95" x="368" y="72" width="156" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{ansprechp}]]></textFieldExpression>
            </textField>
            <textField isBlankWhenNull="true">
                <reportElement uuid="c2aff6bf-6ba7-4300-9477-9aed1e974921" x="469" y="95" width="51" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{anfkst}]]></textFieldExpression>
            </textField>
            <staticText>
                <reportElement uuid="a7542de1-d34b-4431-a842-afa71ffc5b3e" x="435" y="97" width="33" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[Anf.K'St:]]></text>
            </staticText>
            <textField isBlankWhenNull="true">
                <reportElement uuid="fd12d087-2738-47cc-8685-b2ab8792eae4" x="368" y="121" width="157" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{kontierung}]]></textFieldExpression>
            </textField>
            <textField isBlankWhenNull="true">
                <reportElement uuid="82e07fa8-1345-496a-91c5-c4e486de0c62" x="368" y="228" width="157" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{lief_nr}]]></textFieldExpression>
            </textField>
            <textField isBlankWhenNull="true">
                <reportElement uuid="82577897-a292-4f8f-bd01-ec0058c38eea" x="359" y="246" width="161" height="12"/>
                <textElement textAlignment="Right" verticalAlignment="Middle">
                    <font size="8" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{werk}]]></textFieldExpression>
            </textField>
            <textField isBlankWhenNull="true">
                <reportElement uuid="25666499-2f8d-4ec1-ac5a-7685b32f36c1" x="458" y="262" width="63" height="12"/>
                <textElement textAlignment="Right" verticalAlignment="Middle">
                    <font size="8" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{datum2}]]></textFieldExpression>
            </textField>
            <staticText>
                <reportElement uuid="60ccfd7f-e884-4248-8e17-b4c075ff3121" x="122" y="282" width="60" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[Aussteller/in:]]></text>
            </staticText>
            <textField isBlankWhenNull="true">
                <reportElement uuid="da91b000-37f5-4360-9759-29b30709ed32" x="122" y="294" width="148" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{ansprechp}]]></textFieldExpression>
            </textField>
            <staticText>
                <reportElement uuid="da0cc3c2-26fa-49a8-8c9e-d24af2aefcb2" x="276" y="282" width="60" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[Telefon:]]></text>
            </staticText>
            <textField isBlankWhenNull="true">
                <reportElement uuid="7fbfa42e-1bb9-48ed-a68f-794449f8fe39" x="279" y="294" width="102" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{telefon}]]></textFieldExpression>
            </textField>
            <staticText>
                <reportElement uuid="e1ad961e-b0f0-408f-94d6-14f5d7b50739" x="391" y="282" width="60" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[Nutzer-K'St.:]]></text>
            </staticText>
            <textField isBlankWhenNull="true">
                <reportElement uuid="3df63d14-a474-4c59-a8df-b204c5a3e688" x="391" y="294" width="60" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{nutzkst}]]></textFieldExpression>
            </textField>
            <textField isBlankWhenNull="true">
                <reportElement uuid="6c603064-eadf-48ef-a8a6-3aa65b7762be" x="464" y="294" width="60" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{ausfkst}]]></textFieldExpression>
            </textField>
            <staticText>
                <reportElement uuid="3b207303-63d4-406b-84e4-f2ec0ffb8676" x="464" y="282" width="60" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="false" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[Ausf.K'St.:]]></text>
            </staticText>
            <textField isBlankWhenNull="true">
                <reportElement uuid="125ebbf3-519d-4250-a47e-f79ced185e33" x="368" y="95" width="65" height="12"/>
                <textElement verticalAlignment="Middle">
                    <font size="8" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{bmnr}]]></textFieldExpression>
            </textField>
            <textField isBlankWhenNull="true">
                <reportElement uuid="f088a9f3-138a-415b-94e4-e116c9ac5924" x="6" y="224" width="264" height="17"/>
                <textElement>
                    <font size="12" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{lief_email2}]]></textFieldExpression>
            </textField>
            <textField isBlankWhenNull="true">
                <reportElement uuid="b773b465-7449-4312-a110-0b13d20cf6d6" x="368" y="20" width="123" height="14"/>
                <textElement>
                    <font isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{einzelposText}]]></textFieldExpression>
            </textField>
        </band>
    </pageHeader>
    <columnHeader>
        <band/>
    </columnHeader>
    <detail>
        <band height="373" splitType="Stretch">
            <rectangle>
                <reportElement uuid="05345c8c-ec46-4395-b6a5-49aa6822ea16" stretchType="RelativeToBandHeight" mode="Transparent" x="80" y="0" width="65" height="373" isPrintWhenDetailOverflows="true"/>
            </rectangle>
            <rectangle>
                <reportElement uuid="9510fe9f-fe12-42e4-91d6-e98fcbfe5b2a" stretchType="RelativeToBandHeight" mode="Transparent" x="32" y="0" width="48" height="373" isPrintWhenDetailOverflows="true"/>
            </rectangle>
            <rectangle>
                <reportElement uuid="680d000a-b8b6-4430-8d16-eebe9a445c00" stretchType="RelativeToBandHeight" mode="Transparent" x="385" y="0" width="73" height="373" isPrintWhenDetailOverflows="true"/>
            </rectangle>
            <rectangle>
                <reportElement uuid="b6482b0e-a081-4f88-aa27-70771a25032b" stretchType="RelativeToBandHeight" mode="Transparent" x="458" y="0" width="67" height="373" isPrintWhenDetailOverflows="true"/>
            </rectangle>
            <textField isStretchWithOverflow="true" isBlankWhenNull="false">
                <reportElement uuid="bac1a896-11d1-4cc6-8c00-8ecb110b6c92" stretchType="RelativeToBandHeight" mode="Transparent" x="38" y="6" width="38" height="367" isRemoveLineWhenBlank="true"/>
                <textElement textAlignment="Right">
                    <font size="8" isBold="true" isPdfEmbedded="true"/>
                    <paragraph lineSpacing="1_1_2"/>
                </textElement>
                <textFieldExpression><![CDATA[$F{ebm_menge}]]></textFieldExpression>
            </textField>
            <rectangle>
                <reportElement uuid="697a83f2-7c3b-4a0d-943d-bdbf1bd7cedb" stretchType="RelativeToBandHeight" x="145" y="0" width="241" height="373" isPrintWhenDetailOverflows="true"/>
            </rectangle>
            <rectangle>
                <reportElement uuid="e71536aa-5915-42af-8de1-ea2ae37fd59d" stretchType="RelativeToBandHeight" mode="Transparent" x="0" y="0" width="32" height="373" isPrintWhenDetailOverflows="true"/>
            </rectangle>
            <textField isStretchWithOverflow="true" isBlankWhenNull="false">
                <reportElement uuid="ddc15a2d-c7dd-43e4-8e48-44512b34e7e8" stretchType="RelativeToBandHeight" mode="Transparent" x="6" y="6" width="20" height="367" isRemoveLineWhenBlank="true"/>
                <textElement textAlignment="Right">
                    <font size="8" isBold="true" isPdfEmbedded="true"/>
                    <paragraph lineSpacing="1_1_2"/>
                </textElement>
                <textFieldExpression><![CDATA[$F{ebm_pos}]]></textFieldExpression>
            </textField>
            <textField isStretchWithOverflow="true" isBlankWhenNull="false">
                <reportElement uuid="a3e88fc0-bba4-403b-819b-9b34feddc680" stretchType="RelativeToBandHeight" mode="Transparent" x="86" y="6" width="55" height="367" isRemoveLineWhenBlank="true"/>
                <textElement textAlignment="Left">
                    <font size="8" isBold="true" isPdfEmbedded="true"/>
                    <paragraph lineSpacing="1_1_2"/>
                </textElement>
                <textFieldExpression><![CDATA[$F{ebm_matnr}]]></textFieldExpression>
            </textField>
            <textField isStretchWithOverflow="true" isBlankWhenNull="false">
                <reportElement uuid="a39ad1a4-102b-4763-bc31-d59a0d9f737f" stretchType="RelativeToBandHeight" mode="Transparent" x="151" y="6" width="231" height="367" isRemoveLineWhenBlank="true"/>
                <textElement textAlignment="Left">
                    <font size="8" isBold="true" isPdfEmbedded="true"/>
                    <paragraph lineSpacing="1_1_2"/>
                </textElement>
                <textFieldExpression><![CDATA[$F{ebm_gegenst}]]></textFieldExpression>
            </textField>
            <textField isStretchWithOverflow="true" isBlankWhenNull="false">
                <reportElement uuid="ff2816ba-3f04-48d6-b471-742d0642aaeb" stretchType="RelativeToBandHeight" mode="Transparent" x="391" y="6" width="64" height="367" isRemoveLineWhenBlank="true"/>
                <textElement textAlignment="Right">
                    <font size="8" isBold="true" isPdfEmbedded="true"/>
                    <paragraph lineSpacing="1_1_2"/>
                </textElement>
                <textFieldExpression><![CDATA[$F{ebm_festpreis}]]></textFieldExpression>
            </textField>
            <staticText>
                <reportElement uuid="f98a09b3-7fbb-40e7-a6a2-bc4be5f64cc1" x="459" y="6" width="62" height="57"/>
                <textElement>
                    <font isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[Liefern nach eingestellter Lieferzeit]]></text>
            </staticText>
        </band>
    </detail>
    <columnFooter>
        <band/>
    </columnFooter>
    <pageFooter>
        <band height="90" splitType="Prevent">
            <staticText>
                <reportElement uuid="778d2676-b967-48ff-9d30-606500e65626" x="210" y="80" width="65" height="10"/>
                <textElement verticalAlignment="Bottom">
                    <font size="8" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[EBM-NR.:]]></text>
            </staticText>
            <textField>
                <reportElement uuid="57198f29-aa11-4e12-b961-4e142724a2f3" x="255" y="80" width="132" height="10"/>
                <textElement verticalAlignment="Bottom">
                    <font size="8" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{ebmnr}]]></textFieldExpression>
            </textField>
            <staticText>
                <reportElement uuid="768f29db-7315-43aa-b777-c0b012de036d" x="480" y="80" width="25" height="10"/>
                <textElement verticalAlignment="Bottom">
                    <font size="8" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[seite]]></text>
            </staticText>
            <textField>
                <reportElement uuid="feeaafb8-0c8e-4732-9fa4-66a8d8d6b9d5" x="515" y="80" width="10" height="10"/>
                <textElement verticalAlignment="Bottom">
                    <font size="8" isBold="false"/>
                </textElement>
                <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
            </textField>
            <staticText>
                <reportElement uuid="67533b9e-cc6b-424e-b9b8-254e26863c35" x="1" y="80" width="100" height="10"/>
                <textElement verticalAlignment="Bottom">
                    <font size="8" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[© VOLKSWAGEN AG]]></text>
            </staticText>
            <rectangle>
                <reportElement uuid="7dc5e617-0601-4969-ba1b-c39c406882c3" x="0" y="0" width="525" height="80"/>
            </rectangle>
            <staticText>
                <reportElement uuid="520affc2-b7f2-42bc-b542-11101b9e52e1" x="381" y="60" width="98" height="12"/>
                <textElement textAlignment="Center" verticalAlignment="Bottom">
                    <font size="10" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[- Folgeseite(n) -]]></text>
            </staticText>
        </band>
    </pageFooter>
    <lastPageFooter>
        <band height="90" splitType="Prevent">
            <staticText>
                <reportElement uuid="d60e5ea9-61a7-49b9-bdbf-ee879c81153a" x="210" y="80" width="65" height="10"/>
                <textElement verticalAlignment="Bottom">
                    <font size="8" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[EBM-NR.:]]></text>
            </staticText>
            <textField>
                <reportElement uuid="dc275034-1628-4f47-ad74-6033bf641fe3" x="255" y="80" width="132" height="10"/>
                <textElement verticalAlignment="Bottom">
                    <font size="8" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{ebmnr}]]></textFieldExpression>
            </textField>
            <staticText>
                <reportElement uuid="a87fe387-dc21-468a-8a15-a3d8b450b5ed" x="480" y="80" width="25" height="10"/>
                <textElement verticalAlignment="Bottom">
                    <font size="8" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[seite]]></text>
            </staticText>
            <textField>
                <reportElement uuid="b2535201-19fc-4995-9651-80f6713888b9" x="516" y="80" width="10" height="10"/>
                <textElement verticalAlignment="Bottom">
                    <font size="8" isBold="false"/>
                </textElement>
                <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
            </textField>
            <staticText>
                <reportElement uuid="28ab6f01-e20a-461f-ae70-b6b5f53ce260" x="0" y="80" width="100" height="10"/>
                <textElement verticalAlignment="Bottom">
                    <font size="8" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[© VOLKSWAGEN AG]]></text>
            </staticText>
            <rectangle>
                <reportElement uuid="b9d2a5f5-516f-4ee6-b73c-48b527e1fe2f" x="0" y="0" width="525" height="80"/>
            </rectangle>
            <staticText>
                <reportElement uuid="a203edeb-4a11-4942-8dc5-330dcca72f26" x="10" y="6" width="408" height="14"/>
                <textElement verticalAlignment="Bottom">
                    <font size="8" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[Falls Termine nicht gehalten werden können, ist sofortige Nachricht nach hier erforderlich.]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="7a508302-87cb-427b-b751-aedaa1cfb2f1" x="10" y="20" width="222" height="17"/>
                <textElement verticalAlignment="Bottom">
                    <font size="8" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[unverlangte Lieferungen gehen in jedem Fall unfranko zurück.]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="edfc3ab2-984d-4ed5-8dd1-fe4187ef6277" x="10" y="37" width="55" height="15"/>
                <textElement verticalAlignment="Bottom">
                    <font size="10" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[bestellwert]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="c8b17fa6-f947-4cf3-b490-532414e50a83" x="10" y="51" width="55" height="14"/>
                <textElement verticalAlignment="Bottom">
                    <font size="10" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[EUR netto]]></text>
            </staticText>
            <rectangle>
                <reportElement uuid="47425201-1863-4ddb-b0d5-7295263a35a1" x="75" y="42" width="138" height="22"/>
            </rectangle>
            <textField>
                <reportElement uuid="7a075c48-50c7-4338-90bc-98742d31a263" x="81" y="46" width="125" height="18"/>
                <textElement textAlignment="Right" verticalAlignment="Bottom">
                    <font size="12" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{ebm_bestellwert}]]></textFieldExpression>
            </textField>
            <staticText>
                <reportElement uuid="a2ac1f6d-41d0-4eef-ac94-03c890fbd0f0" x="257" y="37" width="240" height="15"/>
                <textElement textAlignment="Center" verticalAlignment="Bottom">
                    <font size="10" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[i.V.                VOLKSWAGEN AG                i.A.]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="d781704d-2682-4aed-ba73-0d12ba14cec0" x="257" y="51" width="240" height="14"/>
                <textElement textAlignment="Center" verticalAlignment="Bottom">
                    <font size="10" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[Diese EBM wurde elektronisch erstellt und ist]]></text>
            </staticText>
            <staticText>
                <reportElement uuid="2535ddd1-6f3b-450a-ba3b-8183d6d7a23d" x="257" y="65" width="240" height="15"/>
                <textElement textAlignment="Center" verticalAlignment="Bottom">
                    <font size="10" isBold="true" isPdfEmbedded="true"/>
                </textElement>
                <text><![CDATA[ohne Unterschrift gültig.]]></text>
            </staticText>
        </band>
    </lastPageFooter>
    <summary>
        <band/>
    </summary>
</jasperReport>
 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi ,

Java is simply running out of memory. It cannot allocate more memory anymore.
 
Apparently you're trying to generate a report based on an extremely large dataset (thousands or tenthousands of records maybe), or you've supplied JVM too little memory. You should then just ensure that JVM has enough memory to handle all that data. The default is 128MB or 256MB, depending on JVM and environment used.
Start to double that amount using the  -Xmx argument for the JVM.
 
E.g.
 
java -Xmx512M (other arguments here)
 
On the other hand, if you're processing really a lot of data, then consider doing it in parts, e.g. first the first thousand records and then the second thousand records.
 
Hope that this helps.
 
Thanks,
Ankur Gupta
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...