How to connect subreport to main report - jasper-reports

Hi I have try to make a sub report using jasper but when I connect it, it can't show up when I preview, On every tutorial the example always connect to database or query, but in this case, I want make report that connnect to database using java code so the connection will be in java not in the jasper. how can i do this?
this the sub report
<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="TargetSDSubReport" pageWidth="270" pageHeight="842" columnWidth="270" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="d736a7f6-85b9-4772-bd5a-2c325d35d2db">
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<property name="com.jaspersoft.studio.unit." value="pixel"/>
<property name="com.jaspersoft.studio.unit.pageHeight" value="pixel"/>
<property name="com.jaspersoft.studio.unit.pageWidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.topMargin" value="pixel"/>
<property name="com.jaspersoft.studio.unit.bottomMargin" value="pixel"/>
<property name="com.jaspersoft.studio.unit.leftMargin" value="pixel"/>
<property name="com.jaspersoft.studio.unit.rightMargin" value="pixel"/>
<property name="com.jaspersoft.studio.unit.columnWidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.columnSpacing" value="pixel"/>
<parameter name="listGroup" class="java.util.List"/>
<field name="targetSD" class="java.lang.String"/>
<field name="targetSDDesc" class="java.lang.String"/>
<background>
<band splitType="Stretch"/>
</background>
<columnHeader>
<band height="20" splitType="Stretch">
<staticText>
<reportElement mode="Opaque" x="5" y="0" width="25" height="20" uuid="1a90696a-6d79-4eea-95b5-b95afc13c8de"/>
<box>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[No]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="30" y="0" width="100" height="20" uuid="1a90696a-6d79-4eea-95b5-b95afc13c8de"/>
<box>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[ Target SD]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="130" y="0" width="130" height="20" uuid="1a90696a-6d79-4eea-95b5-b95afc13c8de"/>
<box>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[ Deskripsi SD]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="20" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="5" y="0" width="25" height="20" uuid="e5302991-ecff-4b9b-80ad-915c3e85b822"/>
<box rightPadding="2">
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$V{REPORT_COUNT}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="30" y="0" width="100" height="20" uuid="016a6929-6c92-4bf3-815f-027e1b0b84e2"/>
<box leftPadding="1" rightPadding="1">
<topPen lineWidth="0.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{targetSD}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="130" y="0" width="130" height="20" uuid="016a6929-6c92-4bf3-815f-027e1b0b84e2"/>
<box leftPadding="1" rightPadding="1">
<topPen lineWidth="0.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{targetSDDesc}]]></textFieldExpression>
</textField>
</band>
</detail>
I want to know, did I must set the parameter to this sub report ?? if yes, how to set it
this the main Report
<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="PRPKReportPDF" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="58db78df-f84a-40cb-b718-7df30c5ec33a">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<parameter name="listGroup" class="java.util.List"/>
<field name="prpkNumber" class="java.lang.String"/>
<field name="prpkTypeName" class="java.lang.String"/>
<field name="createdDate" class="java.util.Date"/>
<field name="picPRPKName" class="java.lang.String"/>
<field name="businessUnitName" class="java.lang.String"/>
<field name="departmentName" class="java.lang.String"/>
<field name="prpkDescription" class="java.lang.String"/>
<field name="prpkRequest" class="java.lang.String"/>
<field name="prpkBackground" class="java.lang.String"/>
<field name="prpkAnalysis" class="java.lang.String"/>
<field name="priorityName" class="java.lang.String"/>
<field name="cost" class="java.lang.Integer"/>
<field name="targetSD" class="java.lang.String"/>
<field name="targetSDDesc" class="java.lang.String"/>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="36" splitType="Stretch">
<staticText>
<reportElement x="0" y="6" width="555" height="30" uuid="7d980369-4787-4228-af9a-c3efb11e45ad"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="16" isBold="true"/>
</textElement>
<text><![CDATA[PEMBUATAN / REVISI PROGRAM KOMPUTER]]></text>
</staticText>
</band>
</title>
<pageHeader>
<band height="14" splitType="Stretch">
<staticText>
<reportElement x="182" y="-6" width="125" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[PRPK No.]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="274" y="-6" width="125" height="20" uuid="016a6929-6c92-4bf3-815f-027e1b0b84e2"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{prpkNumber}]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<detail>
<band height="470" splitType="Stretch">
<staticText>
<reportElement x="0" y="10" width="125" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[Jenis PRPK]]></text>
</staticText>
<staticText>
<reportElement x="220" y="10" width="10" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[:]]></text>
</staticText>
<staticText>
<reportElement x="0" y="35" width="125" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[Tanggal Dibuat]]></text>
</staticText>
<staticText>
<reportElement x="220" y="35" width="10" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[:]]></text>
</staticText>
<staticText>
<reportElement x="0" y="60" width="182" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[Pihak yang membutuhkan]]></text>
</staticText>
<staticText>
<reportElement x="0" y="85" width="125" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[Nama]]></text>
</staticText>
<staticText>
<reportElement x="220" y="85" width="10" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[:]]></text>
</staticText>
<staticText>
<reportElement x="0" y="110" width="182" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[OPU / Business Unit]]></text>
</staticText>
<staticText>
<reportElement x="220" y="110" width="10" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[:]]></text>
</staticText>
<staticText>
<reportElement x="0" y="135" width="182" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[Divisi / Dept. / Lokasi]]></text>
</staticText>
<staticText>
<reportElement x="220" y="135" width="10" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[:]]></text>
</staticText>
<staticText>
<reportElement x="0" y="160" width="182" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[Program yang diminta]]></text>
</staticText>
<staticText>
<reportElement x="220" y="160" width="10" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[:]]></text>
</staticText>
<staticText>
<reportElement x="0" y="220" width="182" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[Uraian Permintaan *]]></text>
</staticText>
<staticText>
<reportElement x="220" y="220" width="10" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[:]]></text>
</staticText>
<staticText>
<reportElement x="0" y="280" width="182" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[Latar Belakang]]></text>
</staticText>
<staticText>
<reportElement x="220" y="280" width="10" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[:]]></text>
</staticText>
<staticText>
<reportElement x="0" y="340" width="182" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[Analisa Manfaat]]></text>
</staticText>
<staticText>
<reportElement x="220" y="340" width="10" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[:]]></text>
</staticText>
<staticText>
<reportElement x="0" y="400" width="182" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[Tingkat Kepentingan]]></text>
</staticText>
<staticText>
<reportElement x="220" y="400" width="10" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[:]]></text>
</staticText>
<staticText>
<reportElement x="0" y="425" width="182" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[Jumlah Investasi yang dibutuhkan]]></text>
</staticText>
<staticText>
<reportElement x="220" y="425" width="30" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[: Rp.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="450" width="200" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[SD / Information Technology Tujuan]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="230" y="10" width="260" height="20" uuid="016a6929-6c92-4bf3-815f-027e1b0b84e2"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{prpkTypeName}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="230" y="35" width="260" height="20" uuid="016a6929-6c92-4bf3-815f-027e1b0b84e2"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{createdDate}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="230" y="85" width="260" height="20" uuid="016a6929-6c92-4bf3-815f-027e1b0b84e2"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{picPRPKName}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="230" y="110" width="260" height="20" uuid="016a6929-6c92-4bf3-815f-027e1b0b84e2"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{businessUnitName}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="230" y="135" width="260" height="20" uuid="016a6929-6c92-4bf3-815f-027e1b0b84e2"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{departmentName}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="230" y="160" width="260" height="60" uuid="016a6929-6c92-4bf3-815f-027e1b0b84e2"/>
<textElement textAlignment="Left" verticalAlignment="Top"/>
<textFieldExpression><![CDATA[$F{prpkDescription}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="230" y="220" width="260" height="60" uuid="016a6929-6c92-4bf3-815f-027e1b0b84e2"/>
<textElement textAlignment="Left" verticalAlignment="Top"/>
<textFieldExpression><![CDATA[$F{prpkRequest}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="230" y="280" width="260" height="60" uuid="016a6929-6c92-4bf3-815f-027e1b0b84e2"/>
<textElement textAlignment="Left" verticalAlignment="Top"/>
<textFieldExpression><![CDATA[$F{prpkBackground}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="230" y="340" width="260" height="60" uuid="016a6929-6c92-4bf3-815f-027e1b0b84e2"/>
<textElement textAlignment="Left" verticalAlignment="Top"/>
<textFieldExpression><![CDATA[$F{prpkAnalysis}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="230" y="400" width="260" height="20" uuid="016a6929-6c92-4bf3-815f-027e1b0b84e2"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{priorityName}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="250" y="425" width="240" height="20" uuid="016a6929-6c92-4bf3-815f-027e1b0b84e2"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{cost}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="220" y="450" width="10" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[:]]></text>
</staticText>
</band>
<band height="100">
<subreport>
<reportElement x="0" y="0" width="555" height="100" uuid="30fd3354-519f-4169-99fe-73879681bef2"/>
<parametersMapExpression><![CDATA[$P{listGroup}]]></parametersMapExpression>
<subreportParameter name="Target SD">
<subreportParameterExpression><![CDATA[$F{targetSD}]]></subreportParameterExpression>
</subreportParameter>
<subreportParameter name="Target SD Description">
<subreportParameterExpression><![CDATA[$F{targetSDDesc}]]></subreportParameterExpression>
</subreportParameter>
<connectionExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{listGroup})]]></connectionExpression>
<subreportExpression><![CDATA["TargetSDSubReport.jasper"]]></subreportExpression>
</subreport>
</band>
</detail>
<columnFooter>
<band height="108" splitType="Stretch">
<staticText>
<reportElement mode="Opaque" x="0" y="0" width="150" height="20" uuid="cb56e179-31af-405a-b6dc-c0477d9b959d"/>
<box>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[Persetujuan ***]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="150" y="0" width="255" height="20" uuid="cb56e179-31af-405a-b6dc-c0477d9b959d"/>
<box>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[Tanggapan dan Pandangan]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="405" y="0" width="150" height="20" uuid="cb56e179-31af-405a-b6dc-c0477d9b959d"/>
<box>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[Pihak yang Membutuhkan **]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="0" y="20" width="150" height="60" uuid="cb56e179-31af-405a-b6dc-c0477d9b959d"/>
<box>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
</staticText>
<staticText>
<reportElement mode="Opaque" x="150" y="20" width="127" height="60" uuid="cb56e179-31af-405a-b6dc-c0477d9b959d"/>
<box>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
</staticText>
<staticText>
<reportElement mode="Opaque" x="277" y="20" width="128" height="60" uuid="cb56e179-31af-405a-b6dc-c0477d9b959d"/>
<box>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
</staticText>
<staticText>
<reportElement mode="Opaque" x="405" y="20" width="150" height="60" uuid="cb56e179-31af-405a-b6dc-c0477d9b959d"/>
<box>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
</staticText>
<staticText>
<reportElement mode="Opaque" x="0" y="80" width="150" height="20" uuid="cb56e179-31af-405a-b6dc-c0477d9b959d"/>
<box>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[CEO]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="150" y="80" width="127" height="20" uuid="cb56e179-31af-405a-b6dc-c0477d9b959d"/>
<box>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[Senior Manager / EX Dir]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="277" y="80" width="128" height="20" uuid="cb56e179-31af-405a-b6dc-c0477d9b959d"/>
<box>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[Jr. Manager / Manager]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="405" y="80" width="150" height="20" uuid="cb56e179-31af-405a-b6dc-c0477d9b959d"/>
<box>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<text><![CDATA[Supervisor]]></text>
</staticText>
</band>
</columnFooter>
<pageFooter>
<band height="80" splitType="Stretch">
<staticText>
<reportElement x="0" y="0" width="555" height="40" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[*Rincian dari uraian permintaan dan juga tanggapan (counter) dari pihak Information Technology dapat disajikan di lembar lain, jika lembar ini tidak mencukupi.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="40" width="555" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[** Setidaknya dengan tingkat Sr.Mgr.]]></text>
</staticText>
<staticText>
<reportElement x="0" y="60" width="555" height="20" uuid="d1375f2a-e5cc-40fc-8c58-fa669f8d3731"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="12" isBold="false"/>
</textElement>
<text><![CDATA[*** Disetujui oleh CEO, hanya jika ada jumlah (Rp.) investasi.]]></text>
</staticText>
</band>
</pageFooter>
this main report if on sub report I must set the parameter, on this main report how to call the parameter of sub report and where i must to write it ??

Related

Blank space at the end of jasper report PDF [duplicate]

This question already has answers here:
Blank space at end of page
(2 answers)
How to reduce the blank space in report?
(1 answer)
Jasper report blank bands still takes up space
(2 answers)
Closed 4 years ago.
I am trying to generate PDF using jasper reports, in ecplise jasper studio. Jasper report is adding extra space at the bottom of the generated PDF. If I spread/push the contents to the bottom, space is further increasing.
See the generated PDf attached. White space is getting added at the bottom of the page.
<?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="ESamplePdfMainReport" pageWidth="595" pageHeight="842" whenNoDataType="NoPages" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isIgnorePagination="true" uuid="39fd1111-cd7c-47f4-b044-025532f15f77">
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<parameter name="kitNumer" class="java.lang.String" isForPrompting="false"/>
<parameter name="pageroot" class="java.lang.String" isForPrompting="false"/>
<queryString>
<!\[CDATA\[Query goes here\]\]>
</queryString>
<field name="SHIPPING_STATE" class="java.lang.String"/>
<!--All fields fo here-->
<detail>
<band height="740" splitType="Prevent">
<property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.FreeLayout"/>
<frame>
<reportElement x="10" y="324" width="181" height="162" uuid="1367c0df-6cff-446d-8889-1f553d542878"/>
<box>
<pen lineColor="#A6A2A2"/>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<rectangle>
<reportElement x="0" y="59" width="180" height="112" backcolor="#F7F7F7" uuid="60816100-cb40-418e-908a-b5123ccbcb90">
<printWhenExpression><!\[CDATA\[$F{SHIP_TO_ADDRESS_ON_FILE}.equalsIgnoreCase( "N" )\]\]></printWhenExpression>
</reportElement>
<graphicElement>
<pen lineWidth="0.5" lineColor="rgba(219, 217, 217, 0.0)"/>
</graphicElement>
</rectangle>
</frame>
<frame>
<reportElement x="7" y="230" width="181" height="80" uuid="68b57d02-870a-40e2-b614-964a3637ce41"/>
<box>
<pen lineColor="#A6A2A2"/>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
</frame>
<frame>
<reportElement x="210" y="220" width="335" height="250" uuid="52028017-4bb4-4afa-bc16-cc98f937337c"/>
<box>
<pen lineColor="#A6A2A2"/>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<staticText>
<reportElement mode="Opaque" x="123" y="18" width="100" height="20" forecolor="#000000" backcolor="#FFF1F0" uuid="68a8ecf4-59dd-4000-9c49-3a6bae6b826d"/>
<box>
<pen lineWidth="0.0" lineColor="#030303"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Georgia" size="11" isBold="true"/>
</textElement>
<text><!\[CDATA\[SAMPLE INFORMATION\]\]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="-188" y="19" width="153" height="20" forecolor="#000000" backcolor="#FFF1F0" uuid="f4cf1cea-528f-47d4-bf4f-1e21ccb04454"/>
<box>
<pen lineWidth="0.0" lineColor="#A6A2A2"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Georgia" size="11" isBold="true"/>
</textElement>
<text><!\[CDATA\[ASSOCIATED AIRCRAFT\]\]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="-163" y="-153" width="100" height="20" forecolor="#000000" backcolor="#FFF1F0" uuid="18293f1d-7596-49c0-adeb-f4412d2a51ad"/>
<box>
<pen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle" markup="styled">
<font fontName="Georgia" size="11" isBold="true"/>
</textElement>
<text><!\[CDATA\[SAMPLE TYPE\]\]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="-170" y="111" width="100" height="17" forecolor="#000000" backcolor="#FFF1F0" uuid="0a5334fc-7d1b-433d-a22e-8f51f9eaba0c"/>
<box>
<pen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Georgia" size="10" isBold="true"/>
</textElement>
<text><!\[CDATA\[MSP\]\]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="19" y="291" width="100" height="20" forecolor="#000000" backcolor="#FFF1F0" uuid="c1f17917-7492-426f-aeaa-b27c60e729ca"/>
<box>
<pen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Georgia" size="11" isBold="true"/>
</textElement>
<text><!\[CDATA\[CUSTOMER INFORMATION\]\]></text>
</staticText>
<frame>
<reportElement x="-201" y="-144" width="190" height="140" uuid="953bded7-6b86-4c0b-aa94-f546d9068ddd"/>
<box>
<pen lineWidth="1.0" lineStyle="Solid" lineColor="#A6A2A2"/>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<staticText>
<reportElement x="12" y="39" width="68" height="18" uuid="f99627d2-fddb-4a37-9ffd-af6e466f0d12"/>
<textElement>
<font size="9"/>
</textElement>
<text><!\[CDATA\[Kit Serial No.:\]\]></text>
</staticText>
<staticText>
<reportElement x="12" y="21" width="68" height="18" uuid="8d8c85ed-511c-4c89-9eb5-e8a5400063ff"/>
<textElement>
<font size="9"/>
</textElement>
<text><!\[CDATA\[Sample Date:\]\]></text>
</staticText>
<staticText>
<reportElement x="12" y="57" width="68" height="18" uuid="5eab4ab9-4a70-4247-b819-23c68c0c8b9c"/>
<textElement>
<font size="9"/>
</textElement>
<text><!\[CDATA\[Sample Type:\]\]></text>
</staticText>
<staticText>
<reportElement x="12" y="75" width="68" height="18" uuid="eab21a3d-a0e8-44e4-91a8-42152039080b"/>
<textElement>
<font size="9"/>
</textElement>
<text><!\[CDATA\[Engine S.No.:\]\]></text>
</staticText>
<staticText>
<reportElement x="12" y="93" width="68" height="18" uuid="eb7f22cd-7fec-4ee1-98d1-ed450b7b79e7"/>
<textElement>
<font size="9"/>
</textElement>
<text><!\[CDATA\[Model:\]\]></text>
</staticText>
<staticText>
<reportElement x="12" y="111" width="68" height="18" uuid="500d7c53-1146-4d70-bfe8-53ede7e79a40"/>
<textElement>
<font size="9"/>
</textElement>
<text><!\[CDATA\[Type:\]\]></text>
</staticText>
<textField isStretchWithOverflow="true">
<reportElement x="89" y="22" width="101" height="18" uuid="4a242088-c8ac-41cf-95f8-728d69f20b75"/>
<textElement>
<font size="8.5"/>
</textElement>
<textFieldExpression><!\[CDATA\[new SimpleDateFormat("MMM. dd, yyyy").format($F{SAMPLE_DT})\]\]></textFieldExpression>
</textField>
<textField>
<reportElement x="89" y="40" width="75" height="18" uuid="97f67f2f-e0f3-497c-ba71-61215ff0f383"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><!\[CDATA\[$F{KITNUMBER}\]\]></textFieldExpression>
</textField>
<textField>
<reportElement x="89" y="76" width="75" height="18" uuid="ecf0aaa5-250f-44a2-b934-f02888b34efd"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><!\[CDATA\[$F{ENGINE_SN}\]\]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="87" y="188" width="75" height="17" uuid="3b9b0e64-201a-49a0-b01b-1c294ea5f064"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><!\[CDATA\[$F{AIRCRAFT_MODEL}\]\]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="87" y="205" width="75" height="17" uuid="99aa6bfb-3545-46fb-8dae-55f6d5a3f12a"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><!\[CDATA\[$F{AIRCRAFT_SN}\]\]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="87" y="222" width="75" height="17" uuid="6926d8c7-d143-4d38-be40-19ffd30c9910"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><!\[CDATA\[$F{AIRCRAFT_TAILNO}\]\]></textFieldExpression>
</textField>
<staticText>
<reportElement x="12" y="278" width="125" height="12" uuid="4bece8e5-60b7-4b4f-868e-058c3dd24616"/>
<textElement>
<font size="9"/>
</textElement>
<text><!\[CDATA\[KIT replacement requested:\]\]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="140" y="278" width="20" height="12" uuid="adb29efb-17bf-4379-a666-e32d7047ec8f"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><!\[CDATA\[$F{REQ_FOR_REPLACEMENT}\]\]></textFieldExpression>
</textField>
<staticText>
<reportElement x="11" y="290" width="125" height="12" uuid="ad934d87-77b6-4c05-8677-7250f615bcf9"/>
<textElement>
<font size="9"/>
</textElement>
<text><!\[CDATA\[Ship to address on file:\]\]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="140" y="290" width="19" height="12" uuid="3cf05af1-cbe7-49cd-825f-1ea185639715"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><!\[CDATA\[$F{SHIP_TO_ADDRESS_ON_FILE}\]\]></textFieldExpression>
</textField>
<staticText>
<reportElement x="17" y="307" width="86" height="14" uuid="3ff24e07-2f4d-426c-a1e2-9ca6554ece1f">
<printWhenExpression><!\[CDATA\[$F{SHIP_TO_ADDRESS_ON_FILE}.equalsIgnoreCase( "N" )\]\]></printWhenExpression>
</reportElement>
<textElement>
<font isItalic="true" isUnderline="true"/>
</textElement>
<text><!\[CDATA\[Shipping address:\]\]></text>
</staticText>
<staticText>
<reportElement x="6" y="382" width="54" height="12" uuid="d106e9cb-fa9e-4b7d-940f-fb178ffc2a98">
<printWhenExpression><!\[CDATA\[$F{SFILE}.equalsIgnoreCase( "N" )\]\]></printWhenExpression>
</reportElement>
<textElement>
<font size="8"/>
</textElement>
<text><!\[CDATA\[Postacl Code:\]\]></text>
</staticText>
<staticText>
<reportElement x="7" y="393" width="54" height="12" uuid="20a892c3-ebe8-4090-bc3b-b17bdc805359">
<printWhenExpression><!\[CDATA\[$F{SHIP_TO_ADDRESS_ON_FILE}.equalsIgnoreCase( "N" )\]\]></printWhenExpression>
</reportElement>
<textElement>
<font size="8"/>
</textElement>
<text><!\[CDATA\[Mobile:\]\]></text>
</staticText>
<staticText>
<reportElement x="7" y="405" width="54" height="12" uuid="f06994ce-fb95-48b2-9a2f-3b58c6d58999">
<printWhenExpression><!\[CDATA\[$F{SHIP_TO_ADDRESS_ON_FILE}.equalsIgnoreCase( "N" )\]\]></printWhenExpression>
</reportElement>
<textElement>
<font size="8"/>
</textElement>
<text><!\[CDATA\[Fax:\]\]></text>
</staticText>
</frame>
</frame>
<frame>
<reportElement x="210" y="76" width="331" height="134" uuid="83c78a75-1b0a-418e-812c-f0109e6aedd9"/>
<box>
<pen lineWidth="1.0" lineStyle="Solid" lineColor="#F0F0F0"/>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<rectangle>
<reportElement x="9" y="188" width="321" height="154" backcolor="#F7F7F7" uuid="58b3e227-b391-4d12-a66f-d51b04883fa9"/>
<graphicElement>
<pen lineWidth="0.5" lineStyle="Solid" lineColor="rgba(219, 217, 217, 0.0)"/>
</graphicElement>
</rectangle>
<staticText>
<reportElement x="14" y="24" width="119" height="14" uuid="13848b31-fc95-4bad-8885-584b4d6152cd"/>
<textElement>
<font size="9"/>
</textElement>
<text><!\[CDATA\[TSN:\]\]></text>
</staticText>
<staticText>
<reportElement x="14" y="38" width="119" height="15" uuid="529f9c76-0196-49fb-9354-3faa53f674c5"/>
<textElement>
<font size="9"/>
</textElement>
<text><!\[CDATA\[TSO:\]\]></text>
</staticText>
<staticText>
<reportElement x="14" y="53" width="119" height="15" uuid="ffc7c7fc-596d-45d2-a832-fed9fc5ff902"/>
<textElement>
<font size="9"/>
</textElement>
<text><!\[CDATA\[Cycles (CSN):\]\]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="137" y="24" width="75" height="14" uuid="6156aabf-712c-457c-8644-f393af81dbc5"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><!\[CDATA\[$F{TSN}\]\]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="137" y="38" width="75" height="14" uuid="2e67c20b-5fc2-4e45-976c-e3016c1ecced"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><!\[CDATA\[$F{TSO}\]\]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="137" y="53" width="75" height="15" uuid="0e77c96e-fd8c-457e-b48a-7dd696f42474"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><!\[CDATA\[$F{CSN}\]\]></textFieldExpression>
</textField>
<staticText>
<reportElement x="14" y="73" width="119" height="33" uuid="4b80e2df-06af-4b97-acc7-0c68ed75556d"/>
<textElement>
<font size="9"/>
</textElement>
<text><!\[CDATA\[Engine Operational Problems:\]\]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="136" y="73" width="186" height="24" uuid="a8f1fedc-e96d-4f77-8fda-4ffe4e16eaca"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><!\[CDATA\[$F{EOPNAMES}\]\]></textFieldExpression>
</textField>
<staticText>
<reportElement x="14" y="106" width="119" height="24" uuid="b48e6874-d54e-400d-93d9-5ce6ed28017b"/>
<textElement>
<font size="9"/>
</textElement>
<text><!\[CDATA\[If others, please specify:\]\]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="136" y="106" width="186" height="24" uuid="739efd80-41b0-4322-ab6a-c0737f6e6e35"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><!\[CDATA\[$F{EOP_OTHERS}\]\]></textFieldExpression>
</textField>
<staticText>
<reportElement x="7" y="184" width="113" height="18" backcolor="rgba(255, 255, 255, 0.0)" uuid="1a7b392c-5eb5-431b-a1c5-a52ea5c67b84"/>
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
<font size="9" isItalic="true" isUnderline="true"/>
</textElement>
<text><!\[CDATA\[Samudes:\]\]></text>
</staticText>
<staticText>
<reportElement x="33" y="207" width="86" height="18" uuid="67ec34d7-d700-4f92-95ab-74c8d15681a1"/>
<textElement>
<font size="9"/>
</textElement>
<text><!\[CDATA\[Filter Sample:\]\]></text>
</staticText>
<staticText>
<reportElement x="33" y="235" width="86" height="18" uuid="4af45c92-d2c7-40d0-9580-41b6b5dfacd5"/>
<textElement>
<font size="9"/>
</textElement>
<text><!\[CDATA\[Oil Sample:\]\]></text>
</staticText>
<staticText>
<reportElement x="128" y="207" width="101" height="28" uuid="665b9143-adb8-4147-9cc0-f8b22010cc64"/>
<textElement textAlignment="Left">
<font size="9"/>
</textElement>
<text><!\[CDATA\[E Filter:\]\]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="234" y="207" width="90" height="19" uuid="61de36c0-b137-477f-8f14-6a5f9e05ec79"/>
<textFieldExpression><!\[CDATA\[$F{FILTER_HOURS}\]\]></textFieldExpression>
</textField>
<staticText>
<reportElement x="128" y="236" width="101" height="18" uuid="b421918c-f454-46f7-930e-f5863ecf8c23"/>
<textElement>
<font size="9"/>
</textElement>
<text><!\[CDATA\[Oil Hours Since New:\]\]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="234" y="236" width="90" height="19" uuid="c2b7148b-1b0d-4ea4-b765-7c4064d06258"/>
<textElement>
<font size="9"/>
</textElement>
<textFieldExpression><!\[CDATA\[$F{OIL_HOURS}\]\]></textFieldExpression>
</textField>
<staticText>
<reportElement x="128" y="254" width="101" height="18" uuid="7f317de4-6d6f-4773-9fc3-24f05fe06dd7"/>
<textElement>
<font size="9"/>
</textElement>
<text><!\[CDATA\[Oil Added Since Last Sample*:\]\]></text>
</staticText>
<reportElement x="480" y="693" width="60" height="17" uuid="72a666d7-ab81-4015-b3c4-3cd980d3852d"/>
<textElement textAlignment="Right">
<font size="8"/>
</textElement>
<textFieldExpression><!\[CDATA\[new SimpleDateFormat("MMM. dd, yyyy").format(new Date())\]\]></textFieldExpression>
</textField>
<image>
<reportElement x="235" y="711" width="85" height="29" uuid="d0ad88a8-7349-45ea-bd7c-9e1aaa1db5f6"/>
<imageExpression><!\[CDATA\[$P{pageroot} + "/images/o.jpg"\]\]></imageExpression>
</image>
</band>
</detail>
</jasperReport>
Please guide me to remove the space at the end.
[1]: https://i.stack.imgur.com/SnSlh.jpg

Page break in jasper report - group

I have a report with a group: columnHeader, columnFooter and title and detail.
I want it to be on a new page. I tried with isStartNewPage="true", keepTogether and then I tried with ![CDATA[$V{PAGE_NUMBER}==...]]. The furthest step I have reached was when my columnHeader has been printed on several new pages (depends on the values of my parameters).
Any suggestion for a page break?
<group name="Categorii" isStartNewPage="true">
<groupHeader>
<band height="20">
<textField evaluationTime="Group" evaluationGroup="Categorii" bookmarkLevel="1" isStretchWithOverflow="true">
<reportElement x="0" y="5" width="208" height="15" style="TableGroup" stretchType="RelativeToTallestObject"/>
<box leftPadding="10" topPadding="2">
</box>
<textElement verticalAlignment="Middle" textAlignment="Left">
<font isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String">"Alte cheltuieli directe"</textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="208" y="5" mode="Opaque" width="347" height="15" style="TableGroup" stretchType="RelativeToTallestObject"/>
<box padding="2">
</box>
<textElement verticalAlignment="Top" textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[""]]></textFieldExpression>
</textField>
</band>
</groupHeader>
<groupFooter>
<band height="80">
<staticText>
<reportElement mode="Opaque" x="0" y="0" width="208" height="25" style="TableHeader" backcolor="white"/>
<textElement verticalAlignment="Middle" textAlignment="Right"/>
<text><![CDATA[]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="0" y="0" width="208" height="35" style="TableGroup" stretchType="RelativeToTallestObject"/>
<box padding="2">
<topPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
</box>
<textElement verticalAlignment="Bottom" textAlignment="Left">
<font isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String">"TOTAL CHELT. DIRECTE "</textFieldExpression>
</textField>
<staticText>
<reportElement mode="Opaque" x="208" y="0" width="68" height="25" style="TableHeader" backcolor="white"/>
<textElement verticalAlignment="Middle" textAlignment="Center"/>
<text><![CDATA[Mo]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="208" y="0" width="68" height="35" style="TableGroup" stretchType="RelativeToTallestObject"/>
<box padding="2">
<topPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
</box>
<textElement verticalAlignment="Bottom" textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{sub_cat_material}]]></textFieldExpression>
</textField>
<staticText>
<reportElement mode="Opaque" x="276" y="0" width="68" height="25" style="TableHeader" backcolor="white"/>
<textElement verticalAlignment="Middle" textAlignment="Center"/>
<text><![CDATA[mo]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="276" y="0" width="68" height="35" style="TableGroup" stretchType="RelativeToTallestObject"/>
<box padding="2">
<topPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
</box>
<textElement verticalAlignment="Bottom" textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{sub_cat_manopera}]]></textFieldExpression>
</textField>
<staticText>
<reportElement mode="Opaque" x="344" y="0" width="68" height="25" style="TableHeader" backcolor="white"/>
<textElement verticalAlignment="Middle" textAlignment="Center"/>
<text><![CDATA[Uo]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="344" y="0" width="68" height="35" style="TableGroup" stretchType="RelativeToTallestObject"/>
<box padding="2">
<topPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
</box>
<textElement verticalAlignment="Bottom" textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{sub_cat_utilaj}]]></textFieldExpression>
</textField>
<staticText>
<reportElement mode="Opaque" x="412" y="0" width="68" height="25" style="TableHeader" backcolor="white"/>
<textElement verticalAlignment="Middle" textAlignment="Center"/>
<text><![CDATA[to]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="412" y="0" width="68" height="35" style="TableGroup" stretchType="RelativeToTallestObject"/>
<box padding="2">
<topPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
</box>
<textElement verticalAlignment="Bottom" textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{sub_cat_transport}]]></textFieldExpression>
</textField>
<staticText>
<reportElement mode="Opaque" x="480" y="0" width="68" height="25" style="TableHeader" backcolor="white"/>
<textElement verticalAlignment="Middle" textAlignment="Center"/>
<text><![CDATA[To]]></text>
</staticText>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="480" y="0" width="75" height="35" style="TableGroup" stretchType="RelativeToTallestObject"/>
<box padding="2">
<topPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
</box>
<textElement verticalAlignment="Bottom" textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{sub_cat_total}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="0" y="35" width="150" height="15" style="TableGroup" stretchType="RelativeToTallestObject"/>
<box padding="2">
<topPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
</box>
<textElement verticalAlignment="Bottom" textAlignment="Left">
<font isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String">"Cheltuieli indirecte "</textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="180" y="35" width="280" height="15" style="TableGroup" stretchType="RelativeToTallestObject"/>
<box padding="2">
<topPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
</box>
<textElement verticalAlignment="Bottom" textAlignment="Left">
<font isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String">"Io = 5.000% x To"</textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="450" y="35" width="105" height="15" mode="Opaque" style="TableData" stretchType="RelativeToTallestObject"/>
<box padding="2">
<topPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
</box>
<textElement verticalAlignment="Top" textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{sub_total}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="0" y="50" width="180" height="15" style="TableGroup" stretchType="RelativeToTallestObject"/>
<box padding="2">
<topPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
</box>
<textElement verticalAlignment="Bottom" textAlignment="Left">
<font isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String">"Profit "</textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="180" y="50" width="280" height="15" style="TableGroup" stretchType="RelativeToTallestObject"/>
<box padding="2">
<topPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
</box>
<textElement verticalAlignment="Bottom" textAlignment="Left">
<font isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String">"Po = 5.000% x (To+Io) "</textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="450" y="50" width="105" height="15" mode="Opaque" style="TableData" stretchType="RelativeToTallestObject"/>
<box padding="2">
<topPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
</box>
<textElement verticalAlignment="Top" textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{sub_total}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="0" y="65" width="180" height="15" style="TableGroup" stretchType="RelativeToTallestObject"/>
<box padding="2">
<topPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
</box>
<textElement verticalAlignment="Bottom" textAlignment="Left">
<font isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String">"TOTAL GENERAL pe categorie "</textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="180" y="65" width="280" height="15" style="TableGroup" stretchType="RelativeToTallestObject"/>
<box padding="2">
<topPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
</box>
<textElement verticalAlignment="Bottom" textAlignment="Left">
<font isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String">"Vo = To+Io+Po "</textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="450" y="65" width="105" height="15" mode="Opaque" style="TableData" stretchType="RelativeToTallestObject"/>
<box padding="2">
<topPen lineWidth="0.5"/>
<bottomPen lineWidth="0.5"/>
</box>
<textElement verticalAlignment="Top" textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression class="java.math.BigDecimal"><![CDATA[$P{total_general}]]></textFieldExpression>
</textField>
</band>
</groupFooter>
</group>
From the picture of your JRXML: you are missing the groupExpression.
Without a proper one(that changes over time), you will never have a group break.

compile-reports (default) on project prs-reporting: Error compiling report design

How can i fix this error to compile this report. Can anyone explain to me about field not found error. I am very newbie in ireport and this is my first time and this is frustratin. BTW, in my report i want to output the java.util.List data in my report. please help me.
my error trace:
net.sf.jasperreports.engine.design.JRValidationException: Report design not valid :       1. Field not found : itemDescs      2. Field not found : quantity      3. Field not found : units      4. Field not found : requestReason
    at net.sf.jasperreports.engine.design.JRAbstractCompiler.verifyDesign(JRAbstractCompiler.java:258)
    at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:140)
    at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:498)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
    at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
my xml
<?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="PurchaseRequestReport" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
<subDataset name="ItemDescription">
<queryString>
<![CDATA[]]>
</queryString>
<field name="itemDescs" class="java.lang.String">
<fieldDescription><![CDATA[_THIS]]></fieldDescription>
</field>
</subDataset>
<subDataset name="Quantity">
<field name="quantity" class="java.lang.String">
<fieldDescription><![CDATA[_THIS]]></fieldDescription>
</field>
</subDataset>
<subDataset name="Unit">
<field name="units" class="java.lang.String">
<fieldDescription><![CDATA[_THIS]]></fieldDescription>
</field>
</subDataset>
<subDataset name="RequestReason">
<field name="requestReason" class="java.lang.String">
<fieldDescription><![CDATA[_THIS]]></fieldDescription>
</field>
</subDataset>
<subDataset name="dataset1"/>
<subDataset name="dataset2"/>
<subDataset name="dataset3"/>
<subDataset name="dataset4"/>
<field name="reqUnit" class="java.lang.String"/>
<field name="reqNum" class="java.lang.String"/>
<field name="reqDate" class="java.lang.String"/>
<field name="localNum" class="java.lang.String"/>
<field name="capex" class="java.lang.String"/>
<field name="capexCode" class="java.lang.String"/>
<field name="justification" class="java.lang.String"/>
<field name="itemDesc" class="java.util.List"/>
<field name="qty" class="java.util.List"/>
<field name="unit" class="java.util.List"/>
<field name="reqReason" class="java.util.List"/>
<field name="remarks" class="java.lang.String"/>
<field name="prepareBy" class="java.lang.String"/>
<field name="noteBy" class="java.lang.String"/>
<field name="approveBy" class="java.lang.String"/>
<background>
<band splitType="Stretch"/>
</background>
<detail>
<band height="802" splitType="Stretch">
<staticText>
<reportElement x="0" y="0" width="555" height="20"/>
<textElement textAlignment="Center"/>
<text><![CDATA[ST. LUKE'S MEDICAL CENTER]]></text>
</staticText>
<staticText>
<reportElement x="0" y="13" width="555" height="20"/>
<textElement textAlignment="Center"/>
<text><![CDATA[PURCHASE REQUISITION]]></text>
</staticText>
<staticText>
<reportElement x="0" y="28" width="555" height="20"/>
<textElement textAlignment="Center"/>
<text><![CDATA[(For Non-Stock Items)]]></text>
</staticText>
<staticText>
<reportElement x="0" y="47" width="343" height="28"/>
<box leftPadding="3">
<pen lineWidth="1.0"/>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Request Number : ]]></text>
</staticText>
<staticText>
<reportElement x="0" y="75" width="343" height="28"/>
<box leftPadding="3">
<pen lineWidth="1.0"/>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Requesting Unit :]]></text>
</staticText>
<staticText>
<reportElement x="343" y="47" width="212" height="28"/>
<box leftPadding="3">
<pen lineWidth="1.0"/>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Date :]]></text>
</staticText>
<staticText>
<reportElement x="343" y="75" width="212" height="28"/>
<box leftPadding="3">
<pen lineWidth="1.0"/>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Local Number :]]></text>
</staticText>
<rectangle>
<reportElement x="0" y="103" width="555" height="78"/>
</rectangle>
<staticText>
<reportElement x="0" y="104" width="344" height="28"/>
<box leftPadding="3"/>
<textElement verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Capital Expenditure :]]></text>
</staticText>
<staticText>
<reportElement x="343" y="104" width="212" height="28"/>
<box leftPadding="3"/>
<textElement verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Capex Code :]]></text>
</staticText>
<staticText>
<reportElement x="0" y="131" width="555" height="50"/>
<box leftPadding="3"/>
<textElement>
<font size="12"/>
</textElement>
<text><![CDATA[Justification :]]></text>
</staticText>
<rectangle>
<reportElement x="0" y="181" width="555" height="304"/>
</rectangle>
<staticText>
<reportElement x="0" y="182" width="235" height="20"/>
<box leftPadding="3"/>
<textElement>
<font size="12"/>
</textElement>
<text><![CDATA[ITEM DESCRIPTION]]></text>
</staticText>
<staticText>
<reportElement x="234" y="182" width="52" height="20"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="12"/>
</textElement>
<text><![CDATA[QTY]]></text>
</staticText>
<staticText>
<reportElement x="285" y="182" width="70" height="20"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="12"/>
</textElement>
<text><![CDATA[UNIT]]></text>
</staticText>
<staticText>
<reportElement x="354" y="182" width="201" height="20"/>
<box leftPadding="3"/>
<textElement>
<font size="12"/>
</textElement>
<text><![CDATA[REQUEST REASON]]></text>
</staticText>
<componentElement>
<reportElement stretchType="RelativeToBandHeight" x="0" y="201" width="235" height="49" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true"/>
<jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical">
<datasetRun subDataset="dataset1">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.JREmptyDataSource(1)]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="49" width="235">
<textField isStretchWithOverflow="true">
<reportElement x="0" y="0" width="235" height="49"/>
<box leftPadding="3"/>
<textElement>
<font size="12"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{itemDescs}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<componentElement>
<reportElement stretchType="RelativeToBandHeight" x="234" y="201" width="52" height="49" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true"/>
<jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical">
<datasetRun subDataset="dataset2">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.JREmptyDataSource(1)]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="49" width="52">
<textField isStretchWithOverflow="true">
<reportElement x="0" y="0" width="52" height="49"/>
<textElement textAlignment="Center">
<font size="12"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{quantity}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<componentElement>
<reportElement stretchType="RelativeToBandHeight" x="285" y="201" width="70" height="49" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true"/>
<jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical">
<datasetRun subDataset="dataset3">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.JREmptyDataSource(1)]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="49" width="70">
<textField isStretchWithOverflow="true">
<reportElement x="0" y="0" width="70" height="49"/>
<textElement textAlignment="Center">
<font size="12"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{units}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<componentElement>
<reportElement stretchType="RelativeToBandHeight" x="354" y="201" width="201" height="49" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true"/>
<jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical">
<datasetRun subDataset="dataset4">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.JREmptyDataSource(1)]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="49" width="201">
<textField isStretchWithOverflow="true">
<reportElement x="0" y="0" width="201" height="49"/>
<box leftPadding="3"/>
<textElement>
<font size="12"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{requestReason}]]></textFieldExpression>
</textField>
</jr:listContents>
</jr:list>
</componentElement>
<staticText>
<reportElement x="0" y="425" width="555" height="60"/>
<box leftPadding="3"/>
<textElement>
<font size="12"/>
</textElement>
<text><![CDATA[Remarks :]]></text>
</staticText>
<staticText>
<reportElement x="0" y="485" width="286" height="35"/>
<box leftPadding="3">
<pen lineWidth="1.0"/>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Prepared By :]]></text>
</staticText>
<staticText>
<reportElement x="0" y="520" width="286" height="35"/>
<box leftPadding="3">
<pen lineWidth="1.0"/>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Noted By :]]></text>
</staticText>
<staticText>
<reportElement x="286" y="485" width="269" height="35"/>
<box leftPadding="3">
<pen lineWidth="1.0"/>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Checked By :]]></text>
</staticText>
<staticText>
<reportElement x="286" y="520" width="269" height="35"/>
<box leftPadding="3">
<pen lineWidth="1.0"/>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement verticalAlignment="Middle">
<font size="12"/>
</textElement>
<text><![CDATA[Approved By :]]></text>
</staticText>
<textField>
<reportElement x="99" y="75" width="244" height="29"/>
<textElement verticalAlignment="Middle">
<font size="12"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{reqUnit}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="105" y="48" width="238" height="27"/>
<textElement verticalAlignment="Middle">
<font size="12"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{reqNum}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="379" y="47" width="176" height="28"/>
<textElement verticalAlignment="Middle">
<font size="12"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{reqDate}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="431" y="75" width="124" height="28"/>
<textElement verticalAlignment="Middle">
<font size="12"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{localNum}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="118" y="103" width="225" height="28"/>
<textElement verticalAlignment="Middle">
<font size="12"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{capex}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="422" y="104" width="133" height="27"/>
<textElement verticalAlignment="Middle">
<font size="12"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{capexCode}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="77" y="132" width="478" height="49"/>
<textElement>
<font size="12"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{justification}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="66" y="425" width="488" height="60"/>
<textElement>
<font size="12"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{remarks}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="77" y="485" width="209" height="35"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$F{prepareBy}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="77" y="520" width="209" height="35"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$F{noteBy}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="365" y="520" width="189" height="35"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$F{approveBy}]]></textFieldExpression>
</textField>
</band>
</detail>
</jasperReport>
your list contains object(class) , this object have fields, you must put the same name of these fields and set their data type on your reportName.jrxml as is in your class.
if there is a field in your class that is itself another object or classe you must use steps
your classe contains a field product and product has a field qte
in your report fields put product.qte
You are getting the fields from their respective datasets. As you dont have any fields defined in dataset it is throwing this exception
JRValidationException: Report design not valid :
1. Field not found : itemDescs
2. Field not found : quantity
3. Field not found : units
4. Field not found : requestReason
from error it is clear that this fields are not available
to fix the validation exception add above fields in their respective datasets (dataset you assigned for each list component).
here is the code:
<subDataset name="dataset1">
<field name="itemDescs" class="java.lang.String"/>
</subDataset>
<subDataset name="dataset2">
<field name="quantity" class="java.lang.String"/>
</subDataset>
<subDataset name="dataset3">
<field name="units" class="java.lang.String"/>
</subDataset>
<subDataset name="dataset4">
<field name="requestReason" class="java.lang.String"/>
</subDataset>
And you'll not get this JRValidationException.

JasperReport Error : Source text : new java.lang.Integer(1)

When i compile my .jrxml file from iReport i have no issue and everything goes fine. but when I try to print from my Java program it's show an error like this:
Error evaluating expression : Source text : new java.lang.Integer(1)
Here is my .jrxml file
<?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="TOM_list_ot_report" language="groovy" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="822" leftMargin="10" rightMargin="10" topMargin="10" bottomMargin="10" uuid="581e1703-9505-417f-be68-bada03c8d692">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<style name="table">
<box>
<pen lineWidth="1.0" lineColor="#000000"/>
</box>
</style>
<style name="table_TH" mode="Opaque" backcolor="#F0F8FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table_CH" mode="Opaque" backcolor="#BFE1FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 1">
<box>
<pen lineWidth="1.0" lineColor="#000000"/>
</box>
</style>
<style name="table 1_TH" mode="Opaque" backcolor="#F0F8FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 1_CH" mode="Opaque" backcolor="#BFE1FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 1_TD" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 2">
<box>
<pen lineWidth="1.0" lineColor="#000000"/>
</box>
</style>
<style name="table 2_TH" mode="Opaque" backcolor="#F0F8FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 2_CH" mode="Opaque" backcolor="#BFE1FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table 2_TD" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<subDataset name="Table Dataset 1" uuid="8573296a-9744-48d2-bb40-8c4b100b3bc9"/>
<parameter name="ttLogo" class="java.lang.String"/>
<queryString>
<![CDATA[]]>
</queryString>
<field name="client" class="java.lang.Object"/>
<field name="adresse" class="java.lang.Object"/>
<field name="refCommande" class="java.lang.String"/>
<field name="codeAccees" class="java.lang.String"/>
<field name="numeroTt" class="java.lang.String"/>
<field name="commandeEtat" class="java.lang.Object"/>
<field name="dateModif" class="java.util.Date"/>
<field name="dateContractuel" class="java.util.Date"/>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="89" splitType="Stretch">
<staticText>
<reportElement x="0" y="0" width="822" height="58" forecolor="#000099" uuid="9d752cf8-e79a-4315-aff6-74fbf7c58a0e"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="28" isBold="true"/>
</textElement>
<text><![CDATA[Commande livraison]]></text>
</staticText>
<image scaleImage="FillFrame" onErrorType="Blank">
<reportElement x="3" y="0" width="83" height="58" uuid="f5132dfc-fd13-43b3-9331-2eb7cc813690"/>
<imageExpression><![CDATA[$P{ttLogo}]]></imageExpression>
</image>
<textField pattern="dd/MM/yyyy HH.mm a" isBlankWhenNull="true">
<reportElement x="681" y="68" width="141" height="20" uuid="af0f8b1b-4a6e-49b7-84d9-d733bdf3f71f"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField>
<staticText>
<reportElement mode="Transparent" x="663" y="68" width="16" height="20" forecolor="#000000" backcolor="#FFFFFF" uuid="7ef40ab2-434f-426f-979e-de7b35e7abac"/>
<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
<font fontName="SansSerif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[LE]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="537" y="68" width="123" height="20" isRemoveLineWhenBlank="true" uuid="6892eaba-9d98-43ba-8ca6-8207d840f6ae">
<printWhenExpression><![CDATA[($F{adresse} != null) && ($F{adresse}.getRegionDTO() != null)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{adresse}.getRegionDTO().getLibelleRegion()]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="113" y="68" width="130" height="20" isRemoveLineWhenBlank="true" uuid="7217ea18-cb33-497e-a81d-47693a082e94">
<printWhenExpression><![CDATA[($F{adresse} != null) && ($F{adresse}.getRegionDTO() != null)]]></printWhenExpression>
</reportElement>
<textElement verticalAlignment="Middle">
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{adresse}.getRegionDTO().getLibelleRegion()]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="3" y="68" width="110" height="20" uuid="97975b5e-d13a-4ccb-9c5a-0ff5e5ccfa33"/>
<box rightPadding="5"/>
<textElement verticalAlignment="Middle">
<font fontName="Serif" size="10" isBold="true"/>
</textElement>
<text><![CDATA[Direction regionale de :]]></text>
</staticText>
</band>
</title>
<pageHeader>
<band height="21"/>
</pageHeader>
<columnHeader>
<band height="20">
<rectangle>
<reportElement x="0" y="0" width="179" height="20" backcolor="#CCFFFF" uuid="6eab9b5b-ac19-432e-991e-00f335d798ea"/>
</rectangle>
<rectangle>
<reportElement x="179" y="0" width="52" height="20" backcolor="#CCFFFF" uuid="17822259-754f-4b8b-8684-f141f6379f3e"/>
</rectangle>
<rectangle>
<reportElement x="231" y="0" width="63" height="20" backcolor="#CCFFFF" uuid="14c21801-ecd6-45c9-8ded-3d72d8fdecfa"/>
</rectangle>
<rectangle>
<reportElement x="294" y="0" width="89" height="20" backcolor="#CCFFFF" uuid="89beeeee-3d35-49fb-93ef-0b997db15681"/>
</rectangle>
<rectangle>
<reportElement x="383" y="0" width="144" height="20" backcolor="#CCFFFF" uuid="07215401-8b52-420d-9b2d-af2b49f11f70"/>
</rectangle>
<rectangle>
<reportElement x="527" y="0" width="140" height="20" backcolor="#CCFFFF" uuid="15d4de45-b59d-40b9-a317-11d3db940cc6"/>
</rectangle>
<rectangle>
<reportElement x="667" y="0" width="64" height="20" backcolor="#CCFFFF" uuid="e32b46cb-8c79-415f-b837-b1e455bc538d"/>
</rectangle>
<rectangle>
<reportElement x="731" y="0" width="91" height="20" backcolor="#CCFFFF" uuid="daa5973a-d676-473a-b4dd-e5a7d2ff3a12"/>
</rectangle>
<staticText>
<reportElement x="0" y="0" width="179" height="20" uuid="c045c618-ae04-4267-9146-0e81a7dcfc9b"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Ref. Commande]]></text>
</staticText>
<staticText>
<reportElement x="179" y="0" width="52" height="20" uuid="7a049ea7-efee-492b-85dc-2524a1ff3ae6"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Numéro]]></text>
</staticText>
<staticText>
<reportElement x="231" y="0" width="63" height="20" uuid="1239f061-63fd-441e-af4a-0cda6c733ff7"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Id Access]]></text>
</staticText>
<staticText>
<reportElement x="294" y="0" width="89" height="20" uuid="cd63d966-725e-4e23-8127-d97559e2651f"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Nom et prénom ]]></text>
</staticText>
<staticText>
<reportElement x="383" y="0" width="144" height="20" uuid="bd6a1270-45e2-432b-86b3-ec6b0d86d7c9"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Adresse installation]]></text>
</staticText>
<staticText>
<reportElement x="527" y="0" width="140" height="20" uuid="a6bb97eb-d4d5-4188-ae80-51ca1706c1c7"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Etat commande]]></text>
</staticText>
<staticText>
<reportElement x="667" y="0" width="64" height="20" uuid="6c678f82-a385-4c95-80cc-609d3506ab19"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Date état]]></text>
</staticText>
<staticText>
<reportElement x="731" y="0" width="91" height="20" uuid="a47f5765-1f07-4b8a-ba9b-ac330bedffa8"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Date contractuel]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="32" splitType="Stretch">
<rectangle>
<reportElement x="0" y="0" width="179" height="32" uuid="ec0f3d1e-71e0-49a8-af72-3b878bc1737d"/>
</rectangle>
<rectangle>
<reportElement x="179" y="0" width="52" height="32" uuid="fe0f82ad-508a-493a-af0f-835a93a3c9ea"/>
</rectangle>
<rectangle>
<reportElement x="231" y="0" width="63" height="32" uuid="4e6fefd5-9b92-451c-a4f0-a91e7d68c8f0"/>
</rectangle>
<rectangle>
<reportElement x="294" y="0" width="89" height="32" uuid="552df758-27c4-4800-b499-9be13265694c"/>
</rectangle>
<rectangle>
<reportElement x="383" y="0" width="144" height="32" uuid="5bcb83e6-3cbb-443a-83b9-ddedf55c573e"/>
</rectangle>
<rectangle>
<reportElement x="527" y="0" width="140" height="32" uuid="102743e9-f3cf-4100-a616-b0adb77dec36"/>
</rectangle>
<rectangle>
<reportElement x="667" y="0" width="64" height="32" uuid="071d3f95-5839-43ac-8bb2-9fb85df2f7c0"/>
</rectangle>
<rectangle>
<reportElement x="731" y="0" width="91" height="32" uuid="5567c999-0396-46e1-b876-a9c496f38267"/>
</rectangle>
<textField isBlankWhenNull="true">
<reportElement x="6" y="0" width="169" height="32" isRemoveLineWhenBlank="true" uuid="e364eaad-cfb7-4df7-95cb-831522e56594"/>
<textElement verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{refCommande}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="184" y="0" width="42" height="32" isRemoveLineWhenBlank="true" uuid="9ee64eaf-d92e-469a-bd84-150309c21fda"/>
<textElement verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{numeroTt}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="236" y="0" width="53" height="32" isRemoveLineWhenBlank="true" uuid="5a3954a9-378f-4879-afac-11732b8dcf23"/>
<textElement verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{codeAccees}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="299" y="0" width="79" height="32" isRemoveLineWhenBlank="true" uuid="4b2c6948-0b49-4950-93c9-a6fa8f579032">
<printWhenExpression><![CDATA[$F{client} != null]]></printWhenExpression>
</reportElement>
<textElement verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{client}.getFullName()]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="388" y="0" width="134" height="32" isRemoveLineWhenBlank="true" uuid="4e8bf206-9f34-4633-b070-225bb02bb9a5">
<printWhenExpression><![CDATA[$F{adresse} != null]]></printWhenExpression>
</reportElement>
<textElement verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{adresse}.getAdresseLabel()]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="532" y="0" width="130" height="32" isRemoveLineWhenBlank="true" uuid="6085dd50-e9e6-47e9-9622-577e224b4306">
<printWhenExpression><![CDATA[$F{commandeEtat} != null]]></printWhenExpression>
</reportElement>
<textElement verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{commandeEtat}.getLibEtatCmd()]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy h.mm a" isBlankWhenNull="true">
<reportElement x="672" y="0" width="54" height="32" isRemoveLineWhenBlank="true" uuid="3b8f5c69-ae9c-4dd8-9f8f-00ed310d39c5"/>
<textElement verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{dateModif}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement x="737" y="0" width="81" height="32" isRemoveLineWhenBlank="true" uuid="33512a65-6207-4805-93a2-4cc48c580ac4"/>
<textElement verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{dateContractuel}]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band height="14"/>
</pageFooter>
</jasperReport>
Any ideas ?
UPDATE
I tried to change the language to Java. and i got some errors when i compile:
The method getRegionDTO() is undefined for the type Object
The method getRegionDTO() is undefined for the type Object
The method getRegionDTO() is undefined for the type Object
The method getFullName() is undefined for the type Object
The method getAdresseLabel() is undefined for the type Object
The method getLibEtatCmd() is undefined for the type Object
I just changed the version to groovy 2.0.1. I had the groovy 1.7.5 version which doesn't match the jasper 5.5.0.
This post helped me fix the issue.

Font Size Differs in report

I have developed a simple app with JSP and I use JasperReports to generate reports from my app.
I've made a report in iReport 5.6.0 with Arial font size 8 and when I preview in iReport it looks just fine. The report shows up in the right format with Arial size 8.
Then I try to run the report from my JSP app using JasperReports. The report also shows up with
Arial font but in different size. It's 10.
This is my current conditions :
1. I use font extension for Arial .
2. I use font embedded.
3. I've copied the font extension .jar file to my app classpath directory.
4. My app runs in linux Centos server.
I need the report generated from my app in Arial size 8.
How to make the font size in my app report to 8?
the following is the report template (.jrxml) :
<?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="blind_formulaa" language="groovy" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="57694596-349a-4ac7-a40a-18a6f2643ca9">
<parameter name="pridformula" class="java.lang.String"/>
<parameter name="reportPath" class="java.lang.String"/>
<field name="no" class="java.lang.Long"/>
<field name="idformula" class="java.lang.Integer"/>
<field name="idbahanbaku" class="java.lang.Integer"/>
<field name="satuan" class="java.lang.String"/>
<field name="ops" class="java.lang.String"/>
<field name="qty" class="java.lang.String"/>
<field name="kodeblind" class="java.lang.String"/>
<field name="nama" class="java.lang.String"/>
<field name="kodeexact" class="java.lang.String"/>
<field name="idproduk" class="java.lang.Integer"/>
<field name="tglstatus" class="java.lang.String"/>
<field name="namaproduk" class="java.lang.String"/>
<field name="batchno" class="java.lang.String"/>
<field name="batchsize" class="java.lang.String"/>
<field name="jumlahhalaman" class="java.lang.String"/>
<field name="nodokumen" class="java.lang.String"/>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="3" splitType="Stretch"/>
</title>
<pageHeader>
<band height="134" splitType="Stretch">
<staticText>
<reportElement x="12" y="67" width="53" height="20" uuid="926fbc5b-16e9-4599-bed4-104925c91f55"/>
<textElement verticalAlignment="Bottom">
<font fontName="Arial" size="8" isBold="false" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[Nama Produk]]></text>
</staticText>
<staticText>
<reportElement x="12" y="86" width="53" height="20" uuid="36c42f18-4198-4f1c-b138-b5a959365236"/>
<textElement verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="false" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[No. Batch]]></text>
</staticText>
<staticText>
<reportElement x="12" y="106" width="53" height="20" uuid="48f2f0f0-b81e-47cd-9b3f-abf76148ec34"/>
<textElement verticalAlignment="Top">
<font fontName="Arial" size="8" isBold="false" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[Exp. Date]]></text>
</staticText>
<staticText>
<reportElement x="318" y="67" width="57" height="20" uuid="315b5b7c-4fe9-465e-8943-20d8bb881f01"/>
<textElement verticalAlignment="Bottom">
<font fontName="Arial" size="8" isBold="false" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[Besar Batch]]></text>
</staticText>
<staticText>
<reportElement x="318" y="86" width="57" height="20" uuid="b4bb4630-2835-4320-a99d-308728513fac"/>
<textElement verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="false" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[No. Dokumen ]]></text>
</staticText>
<staticText>
<reportElement x="318" y="106" width="57" height="20" uuid="71c84878-81cf-4d2a-aa36-2f2d865317ff"/>
<textElement verticalAlignment="Top">
<font fontName="Arial" size="8" isBold="false" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[Tgl. Berlaku]]></text>
</staticText>
<textField>
<reportElement x="86" y="67" width="225" height="20" uuid="aa38bab6-d4df-48c0-aaa1-f187590fe74a"/>
<textElement verticalAlignment="Bottom">
<font fontName="Arial" size="8" isBold="false" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{namaproduk}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="118" y="26" width="318" height="26" uuid="42938971-883f-4642-b440-30b0ea3047c9"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="10" isBold="true" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[STANDAR FORMULA DAN PENIMBANGAN]]></text>
</staticText>
<line>
<reportElement x="0" y="16" width="555" height="1" uuid="f3fa42b0-edbc-4d52-a09c-a5a6424e0cd3"/>
</line>
<line>
<reportElement x="555" y="16" width="1" height="61" uuid="a246ad51-c25b-4887-8c39-236798e7d5d7"/>
</line>
<line>
<reportElement x="0" y="16" width="1" height="61" uuid="00b1e12f-3fd7-4a31-80de-8650c85cb0b3"/>
</line>
<textField>
<reportElement x="411" y="0" width="104" height="16" uuid="b051ddc6-773f-4cff-a748-52fb5d0d4330"/>
<textElement textAlignment="Right" verticalAlignment="Bottom">
<font fontName="Arial" size="8" isBold="false" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression><![CDATA["Halaman 4 dari"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="520" y="0" width="32" height="16" uuid="935dd70e-dad1-44f0-8486-6d14d6a6d412"/>
<box leftPadding="5"/>
<textElement verticalAlignment="Bottom">
<font fontName="Arial" size="8" isBold="false" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{jumlahhalaman}]]></textFieldExpression>
</textField>
<image>
<reportElement x="12" y="20" width="240" height="37" uuid="72e47cc7-0803-40ed-9059-3a89b58d3ab1"/>
<imageExpression><![CDATA[$P{reportPath}+"/abc.jpg"]]></imageExpression>
</image>
<textField>
<reportElement x="389" y="67" width="162" height="20" uuid="d2ecd8c4-6e5b-4c9f-8191-4c16fe1103a8"/>
<textElement verticalAlignment="Bottom">
<font fontName="Arial" size="8" isBold="false" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{batchsize}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="87" y="86" width="190" height="20" uuid="165ad544-9c46-43d7-b50d-c21f861b3d35"/>
<textElement verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="false" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{batchno}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="77" width="1" height="57" uuid="9fe06dc7-c028-4cc4-b679-c336ef2d2ecb"/>
</line>
<line>
<reportElement x="555" y="77" width="1" height="57" uuid="10e61d68-1129-4443-976b-0215a266602f"/>
</line>
<textField>
<reportElement x="390" y="86" width="162" height="20" uuid="984fc125-8ceb-4a84-b0a4-aa15c47cdf06"/>
<textElement verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="false" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{nodokumen}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="390" y="105" width="100" height="20" uuid="1eccd472-4537-47c6-86ab-54eb0dbbcbb3"/>
<textElement>
<font fontName="Arial" size="8" isBold="false" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{tglstatus}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="65" y="67" width="21" height="20" uuid="c401aec0-8b90-473e-a583-6564aec7cc09"/>
<textElement textAlignment="Center" verticalAlignment="Bottom">
<font fontName="Arial" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[:]]></text>
</staticText>
<staticText>
<reportElement x="65" y="87" width="22" height="20" uuid="3f946edb-ce85-48b5-b0a3-f5b4f46ceafd"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[:]]></text>
</staticText>
<staticText>
<reportElement x="375" y="67" width="14" height="20" uuid="db744a7e-f01a-4f66-8aee-91aecb1db9c8"/>
<textElement textAlignment="Center" verticalAlignment="Bottom">
<font fontName="Arial" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[:]]></text>
</staticText>
<staticText>
<reportElement x="375" y="85" width="15" height="21" uuid="833f2097-c4e5-47d7-9afa-b1418baac06a"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[:]]></text>
</staticText>
<staticText>
<reportElement x="375" y="106" width="15" height="20" uuid="7a9eda84-ddf8-402f-b87f-2b4761385cf4"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[:]]></text>
</staticText>
<staticText>
<reportElement x="65" y="106" width="22" height="20" uuid="7359d15d-12df-4b3a-96b9-d06e8f94c45b"/>
<textElement textAlignment="Center">
<font fontName="Arial" size="8" isBold="false" isItalic="false"/>
</textElement>
<text><![CDATA[:]]></text>
</staticText>
<line>
<reportElement x="0" y="127" width="555" height="1" uuid="ff9d971a-1ddd-4aa7-9c39-09e2c58cf6ed"/>
</line>
</band>
</pageHeader>
<columnHeader>
<band height="39" splitType="Stretch">
<staticText>
<reportElement x="21" y="0" width="100" height="39" uuid="0317252f-6e4d-4890-bbd9-dc0ab3d7d533"/>
<box>
<pen lineWidth="1.0"/>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[Kode Bahan]]></text>
</staticText>
<staticText>
<reportElement x="121" y="0" width="138" height="20" uuid="478d6ac5-3174-4f47-ad1a-e873454e8073"/>
<box>
<pen lineWidth="1.0"/>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[Jumlah Per Batch]]></text>
</staticText>
<staticText>
<reportElement x="418" y="0" width="137" height="20" uuid="64e34ffd-a89f-4f33-8f56-c4e90a8dbff8"/>
<box>
<pen lineWidth="1.0"/>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
<rightPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[Paraf]]></text>
</staticText>
<line>
<reportElement x="0" y="38" width="555" height="1" uuid="adabe030-67ab-4f9c-ab04-a72f38a2f4c4"/>
</line>
<staticText>
<reportElement x="259" y="0" width="159" height="38" uuid="89aaf016-1484-4400-93c4-b3459a812476"/>
<box>
<pen lineWidth="1.0"/>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="true" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[No Analisa]]></text>
</staticText>
<staticText>
<reportElement x="0" y="0" width="21" height="38" uuid="5a4bec38-0b04-4394-991c-67b8d889c12f"/>
<box>
<pen lineWidth="1.0"/>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="true" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[No]]></text>
</staticText>
<staticText>
<reportElement x="418" y="19" width="66" height="19" uuid="d29f6349-b097-4cae-9259-d7df7891fb51"/>
<box>
<pen lineWidth="1.0"/>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="true" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[1]]></text>
</staticText>
<staticText>
<reportElement x="484" y="19" width="71" height="19" uuid="5b44a2d2-e2b1-41a9-92d5-4a30e14a0d30"/>
<box>
<pen lineWidth="0.0"/>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
<rightPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="true" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[2]]></text>
</staticText>
<staticText>
<reportElement x="121" y="20" width="37" height="18" uuid="aee07654-0bdc-41b2-842c-330095590e0b"/>
<box>
<pen lineWidth="1.0"/>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="true" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[Unit]]></text>
</staticText>
<staticText>
<reportElement x="158" y="20" width="101" height="18" uuid="d3c85c2c-8d61-4ffc-96c2-30833055801e"/>
<box>
<pen lineWidth="1.0"/>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="true" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[Jumlah]]></text>
</staticText>
<line>
<reportElement x="0" y="0" width="1" height="39" uuid="a03c6773-80c3-4df6-a63c-516b6fbf62bf"/>
</line>
<line>
<reportElement x="555" y="-1" width="1" height="39" uuid="3de7fb61-a721-4cdf-9cca-392a808b1fee"/>
</line>
</band>
</columnHeader>
<detail>
<band height="20" splitType="Stretch">
<textField isBlankWhenNull="true">
<reportElement x="21" y="0" width="100" height="19" uuid="b710a1ff-4028-4369-92fe-7a39fadbca6f"/>
<box>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="false" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{kodeblind}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="19" width="555" height="1" uuid="29d67237-7f41-40be-bf7c-9c7959db9089"/>
</line>
<staticText>
<reportElement x="418" y="0" width="66" height="19" uuid="1931746f-597f-4001-8747-bc96e92f3acd"/>
<box>
<pen lineWidth="1.0"/>
<topPen lineWidth="0.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="0.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="SansSerif" size="8"/>
</textElement>
<text><![CDATA[]]></text>
</staticText>
<staticText>
<reportElement x="484" y="0" width="71" height="19" uuid="128f3843-bb1b-455d-8dde-94fec1664b07"/>
<box>
<pen lineWidth="0.0"/>
<topPen lineWidth="0.0"/>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0"/>
<rightPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="SansSerif" size="8"/>
</textElement>
<text><![CDATA[]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="158" y="0" width="101" height="19" uuid="b5932422-3935-43d5-9c73-18278475b395"/>
<box rightPadding="5">
<leftPen lineWidth="0.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="false" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{qty}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="122" y="0" width="36" height="19" uuid="95f885c3-c6cb-4c51-9838-16cb8794e672"/>
<box>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="false" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{satuan}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="2" y="-1" width="19" height="20" uuid="3248145b-30a4-4508-8aee-4bda11b0fa3f"/>
<box>
<leftPen lineWidth="0.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="false" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{no}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="0" width="1" height="19" uuid="ccc5e243-caa0-40d2-9df3-ae325206cae2"/>
</line>
<line>
<reportElement x="555" y="-1" width="1" height="21" uuid="fb50a444-bf45-4f58-b631-67293b61cb19"/>
</line>
</band>
</detail>
<pageFooter>
<band height="227" splitType="Stretch">
<staticText>
<reportElement x="427" y="7" width="100" height="14" uuid="817eae90-675c-49a9-9b2b-561096bec3ec"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="false" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[Diperiksa Oleh,]]></text>
</staticText>
<line>
<reportElement x="417" y="62" width="1" height="89" uuid="d39cddde-20c3-4f4d-bb1e-e74b99cb8822"/>
</line>
<staticText>
<reportElement x="20" y="64" width="100" height="20" uuid="0d460b59-1b04-4726-81fe-0e8dd91feb8e"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="10" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[DISUSUN OLEH]]></text>
</staticText>
<line>
<reportElement x="0" y="62" width="554" height="1" uuid="85e34b4f-c279-4a86-a76e-3af8bcc5b565"/>
</line>
<staticText>
<reportElement x="214" y="64" width="100" height="20" uuid="a3a0ba96-2ba8-4735-ac40-29d359fa5e6e"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="10" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[DIPERIKSA OLEH]]></text>
</staticText>
<line>
<reportElement x="134" y="62" width="1" height="89" uuid="33e94f2f-ea21-4a89-bf62-3c27f6c4172e"/>
</line>
<staticText>
<reportElement x="158" y="124" width="79" height="27" uuid="d511e9d5-ca92-4bbf-bb3b-60533b515c6e"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="10" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[R&D MANAGER]]></text>
</staticText>
<line>
<reportElement x="0" y="151" width="554" height="1" uuid="60b78361-e155-4825-835f-52ed2bbf05d2"/>
</line>
<line>
<reportElement x="0" y="84" width="555" height="1" uuid="27fc1f19-b077-40d4-a1f2-a70f12ff1f86"/>
</line>
<staticText>
<reportElement x="448" y="127" width="72" height="20" uuid="0b9ff759-ba43-49f2-bfd3-007da76b025f"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="10" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[QA MANAGER]]></text>
</staticText>
<staticText>
<reportElement x="452" y="64" width="57" height="20" uuid="08bd1b3c-5345-407a-a693-4718b22cb8b8"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="10" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[DISETUJUI]]></text>
</staticText>
<staticText>
<reportElement x="1" y="124" width="133" height="27" uuid="e9b9fc0f-fe46-4124-862c-54c0d13fc52f"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="10" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[R&D OFFICER/ASS. MANAGER]]></text>
</staticText>
<line>
<reportElement x="0" y="122" width="554" height="1" uuid="750bec23-0c2b-41be-a5b0-476e0b8e6f71"/>
</line>
<line>
<reportElement x="0" y="62" width="1" height="89" uuid="d86702ea-aa0e-4f4a-8b47-c99526693679"/>
</line>
<staticText>
<reportElement x="422" y="42" width="110" height="20" uuid="c5735acf-dd16-4063-b6ed-a58b999b419a"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="8" isBold="false" isItalic="false" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[Spv / Leader Produksi]]></text>
</staticText>
<line>
<reportElement x="265" y="84" width="1" height="67" uuid="987199d2-3b5d-4c0c-bac0-7fd1f6630866"/>
</line>
<line>
<reportElement x="554" y="62" width="1" height="90" uuid="a2ee34c6-8b44-4fbf-8709-e1e688bca2d7"/>
</line>
<staticText>
<reportElement x="277" y="127" width="132" height="20" uuid="207769f8-bef3-4bed-b074-8816a2958bbf"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="10" isPdfEmbedded="true"/>
</textElement>
<text><![CDATA[PRODUCTION MANAGER]]></text>
</staticText>
</band>
</pageFooter>
<summary>
<band height="3" splitType="Stretch"/>
</summary>
</jasperReport>
We had a similar problem with iReport at work, however in our case it sometimes worked (generated the text in correct font and size) and some times didn't (stuck at default font with size 10).
As it turned out, server-side we were using iReport in version 5.5.0, and while some people generated their .jasper report files with correct desktop iReport version, others used newer desktop iReport 5.6.0 which failed to generate a report file compatible with older server-side version.
After we settled on one version (which we decided to be the older 5.5.0 to avoid changes on server side) the problem has been solved.
tl;dr: Remember to generate your reports with the same version of iReport that you use to print them.