title: List component displays only the first row
body: <p>In my JasperReport's report only the first row of my collection gets displayed. Here is the relevant code.</p>
  
  <p>The entity</p>
  
  <pre><code>public class LegendEntity implements Serializable{
  
      private String label;
      private Image bufferedImage;
  
      public LegendEntity() {
      }
  
      public LegendEntity(String label) {
          this.label = label;
      }
  
      public LegendEntity(String label,Image bufferedImage) {
          this.label = label;
          this.bufferedImage = bufferedImage;
      }
  
      //getters-setters
  </code></pre>
  
  <p>Preparing the datasource:</p>
  
  <pre><code>List&lt;MyEntity&gt; myEntitiesList = new ArrayList&lt;&gt;();
  //filling the list
  JRBeanCollectionDataSource entityDS= new JRBeanCollectionDataSource(myEntitiesList ,false);
  report.getReportParameters().put("ENTITY_DATASOURCE", entityDS);
  </code></pre>
  
  <p>The jrxml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;jasperReport ... name="SampleReport" printOrder="Horizontal" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="595" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0"&gt;
      &lt;subDataset name="LegendDataset" uuid="e0d72aca-6fd5-4935-b57f-ff5a436f2afb"&gt;
          &lt;field name="label" class="java.lang.String"&gt;
              &lt;fieldDescription&gt;&lt;![CDATA[]]&gt;&lt;/fieldDescription&gt;
          &lt;/field&gt;
          &lt;field name="bufferedImage" class="java.awt.Image"/&gt;
      &lt;/subDataset&gt;
      &lt;parameter name="P_MAP_SCALE_STR" class="java.lang.String"/&gt;
      &lt;parameter name="ENTITY_DATASOURCE" class="net.sf.jasperreports.engine.data.JRBeanCollectionDataSource"/&gt;
      &lt;detail&gt;
          &lt;band height="842" splitType="Stretch"&gt;
              &lt;property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.FreeLayout"/&gt;
              &lt;frame&gt;
                  &lt;reportElement x="298" y="635" width="298" height="206" uuid="e807b35a-857c-43ba-a080-13f422eb1456"/&gt;
                  &lt;componentElement&gt;
                      &lt;reportElement x="11" y="11" width="275" height="186" uuid="d6f579d3-75de-4745-8f94-c974d2e697a0"/&gt;
                      &lt;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"&gt;
                          &lt;datasetRun subDataset="LegendDataset" uuid="ee194811-e7e5-4102-83ff-b150901d73c9"&gt;
                              &lt;dataSourceExpression&gt;&lt;![CDATA[$P{ENTITY_DATASOURCE}]]&gt;&lt;/dataSourceExpression&gt;
                          &lt;/datasetRun&gt;
                          &lt;jr:listContents height="186" width="275"&gt;
                              &lt;staticText&gt;
                                  &lt;reportElement x="10" y="10" width="130" height="20" uuid="4260f10d-ee62-4cf6-8023-d0dc2266f4dd"/&gt;
                                  &lt;textElement textAlignment="Center"/&gt;
                                  &lt;text&gt;&lt;![CDATA[ENTITY LABEL]]&gt;&lt;/text&gt;
                              &lt;/staticText&gt;
                              &lt;staticText&gt;
                                  &lt;reportElement x="150" y="10" width="100" height="20" uuid="88135c50-3c17-4b0f-b7e5-b05987f98b02"/&gt;
                                  &lt;textElement textAlignment="Center"/&gt;
                                  &lt;text&gt;&lt;![CDATA[ENTITY SYMBOL]]&gt;&lt;/text&gt;
                              &lt;/staticText&gt;
                              &lt;textField isStretchWithOverflow="true" isBlankWhenNull="true"&gt;
                                  &lt;reportElement x="10" y="31" width="130" height="18" uuid="30885d06-38db-4b1c-a312-616a60ee1c42"/&gt;
                                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{label}]]&gt;&lt;/textFieldExpression&gt;
                              &lt;/textField&gt;
                              &lt;image&gt;
                                  &lt;reportElement x="150" y="31" width="100" height="18" uuid="0020adca-acad-4915-9f0d-88d75e4897c7"/&gt;
                                  &lt;imageExpression&gt;&lt;![CDATA[$F{bufferedImage}]]&gt;&lt;/imageExpression&gt;
                              &lt;/image&gt;
                          &lt;/jr:listContents&gt;
                      &lt;/jr:list&gt;
                  &lt;/componentElement&gt;
              &lt;/frame&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="30" y="600" width="80" height="18" uuid="6c1afd65-a8d4-4e3f-9a56-d09abe7ec904"/&gt;
                  &lt;textElement textAlignment="Right"&gt;
                      &lt;font fontName="DejaVu Sans" size="9" isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Ölçek: 1/]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;textField&gt;
                  &lt;reportElement positionType="Float" x="110" y="600" width="100" height="18" uuid="6360a545-63af-48cc-987d-d828c24a3b2a"/&gt;
                  &lt;textElement&gt;
                      &lt;font fontName="DejaVu Sans" size="9" isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$P{P_MAP_SCALE_STR}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
          &lt;/band&gt;
      &lt;/detail&gt;
  &lt;/jasperReport&gt;
  </code></pre>
  
  <p>And on the report only the first entity's label and symbol is displayed. What am I missing?</p>
  
  <p>Debugging already done and I am sure that 1+ entities are present in the list. </p>
  
  <p>The whole JRXML <a href="https://pastebin.com/86u28bzm" rel="nofollow noreferrer">here</a> .</p>