title: Unsupported subreport section type ArrayList in jaspersoft
body: <p>I need to show a complex report that takes data from beans.</p>
  
  <p>I've created a container bean, that has got the List of other beans.</p>
  
  <pre><code>public class OreComputateContainerBean implements Serializable{
      private static final long serialVersionUID = 1L;    
      private Long id; 
  
      private List&lt;ViewOreGiorniMeseTotBean&gt; listViewOreGiorniMeseTotBean;
      private List&lt;ViewOreComputateMeseBean&gt; listViewOreComputateMeseBean;
      private List&lt;ViewOreComputateBean&gt; listViewOreComputateBean;
  }
  </code></pre>
  
  <p>In the main report on Tibco Jaspersoft, I add subreports and I create a field like</p>
  
  <pre><code>&lt;field name="listViewOreGiorniMeseTotBean" class="java.util.List"/&gt;
  </code></pre>
  
  <p>the subreport is built as follows:</p>
  
  <pre><code>&lt;subreport&gt;
      &lt;reportElement x="280" y="0" width="171" height="83" uuid="a0bfc3a5-e452-4f3e-a875-2eaaf7f367e6"/&gt;
          &lt;subreportExpression&gt;&lt;![CDATA[$F{listViewOreGiorniMeseTotBean}]]&gt;&lt;/subreportExpression&gt;
  &lt;/subreport&gt;
  </code></pre>
  
  <p>When I try to build the report in my application, I see the following exception</p>
  
  <pre><code>net.sf.jasperreports.engine.JRRuntimeException: Unsupported subreport section type java.util.ArrayList
  </code></pre>
  
  <p>How do I need to build the subreport to have data shown correctly?</p>