Jasperreports subreport doesn't break down

I have a jasper report that has several subscriptions. Most of them work fine, but for some reason one of my subscriptions doesn't break if it gets long enough to reach the end of the page, instead it jumps back to the top of its detailed section and continues to write there, overwriting the previous text. I see no difference between this subtitle and what works correctly. My project currently uses jasper-reports 1.2.5, but I tried updating to 4.0.1 (for this single report only) and the results were the same.

This is the jrxml section that my subordinate report is not included in:

<subreport  isUsingCache="true">
<reportElement
    x="0"
    y="172"
    width="468"
    height="21"
    key="subreport-3"
    positionType="Float"/>
<dataSourceExpression><![CDATA[$P{dataSourcePreviousYukonLicence}]]></dataSourceExpression>
<subreportExpression  class="java.io.InputStream"><![CDATA[this.getClass().getResourceAsStream("/config/template/subreportPreviousYukonLicence2.jasper")]]></subreportExpression>

And this is the section for what works :

<subreport  isUsingCache="true">
<reportElement
    x="0"
    y="43"
    width="468"
    height="21"
    key="subreport-2"
    positionType="Float"/>
<dataSourceExpression><![CDATA[$P{dataSourceConvictionHistory}]]></dataSourceExpression>
<subreportExpression  class="java.io.InputStream"><![CDATA[this.getClass().getResourceAsStream("/config/template/subreportConvictionHistory.jasper")]]></subreportExpression>

, isSplitAllowed="true", .

- , - , , .

+3
1

, , . , . , , .

, .

-<jasperReport ... columnCount="3" pageWidth="240" pageHeight="555" ...>
+<jasperReport ...  pageWidth="240" pageHeight="555" ...>

, .

+4

All Articles