title: java.lang.NoSuchMethodException: Unknown property '' on class 'class java.lang.String'
body: <p>I want to pass list of objects to list component in jasper report.I'm using dataSourceExpression for list1 is new <em>net.sf.jasperreports.engine.data.JRBeanCollectionDataSource</em> and parameter class is <em>java.util.List</em>. </p>
  
  <p>When I generate report it show error like <em>java.lang.NoSuchMethodException</em>.</p>
  
  <p>Bean:</p>
  
  <pre><code>public void generateReport() {
      Statement stmt = null;
      ResultSet resultset = null;
      ResultSet resultset1 = null;
      Connection con = null;
      String fromdate = "2013-01-01";
      String todate = "2013-01-31";
      int unitId = 1;
      String driver = "com.mysql.jdbc.Driver";
      String connection = "jdbc:mysql://localhost:3306/compliance?user=root&amp;password=root";
      List&lt;Object&gt; shortnamelist = new ArrayList&lt;Object&gt;();
      try {
          String selectstatement = "CALL P_Select_Salary ('" + fromdate + "',  '" + todate + "','" + unitId + "', 'Salary_Summary')";
          Class.forName(driver);
          con = DriverManager.getConnection(connection);
          stmt = con.createStatement();
          resultset = stmt.executeQuery(selectstatement);
          JRResultSetDataSource resultsetdatasource = new JRResultSetDataSource(resultset);
  
          String selectstatement1 = "CALL P_Select_Salary ('2013-01-01', '2013-01-31', 1, 'Salary_OA')";
          Class.forName(driver);
          con = DriverManager.getConnection(connection);
          stmt = con.createStatement();
          resultset1 = stmt.executeQuery(selectstatement1);
          while (resultset1.next()) {
              String shortname = resultset1.getString("alw_short_name");
              logger.info("shortname" + shortname);
              String workamount = resultset1.getString("Work_amt");
              logger.info("workamount" + workamount);
              shortnamelist.add(shortname);
              shortnamelist.add(workamount);
          }
          logger.info("shortnamelist" + shortnamelist.size());
          Map&lt;String, Object&gt; hashmap = new HashMap&lt;String, Object&gt;();
          hashmap.put("list1", shortnamelist);
          String realpath = FacesContext.getCurrentInstance().getExternalContext().getRealPath("common/reports/registerofwages.jasper");
          jasperprint = JasperFillManager.fillReport(realpath, hashmap, resultsetdatasource);
          HttpServletResponse httpservlet = (HttpServletResponse) FacesContext.getCurrentInstance().getExternalContext().getResponse();
          httpservlet.addHeader("Content-disposition", "attachment;filename=wageslip.pdf");
  
          try {
              JasperExportManager.exportReportToPdfStream(jasperprint, httpservlet.getOutputStream());
          } catch (JRException ex) {
              ex.getMessage();
          } finally {
              FacesContext.getCurrentInstance().responseComplete();
          }
      } catch (net.sf.jasperreports.engine.JRException JRexception) {
          logger.info("JRException Exception" + JRexception.getMessage());
          JsfUtil.addErrorMessage("No Datas between FromDate to ToDate");
      } catch (Exception e) {
          e.printStackTrace();
      } finally {
          close(stmt);
          close(resultset);
          close(con);
      }
  }
  </code></pre>
  
  <p>The <em>jrxml</em>:</p>
  
  <pre class="lang-xml prettyprint-override"><code>      &lt;?xml version="1.0" encoding="UTF-8"?&gt;
        &lt;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="registerofwages" pageWidth="1008" pageHeight="605" orientation="Landscape" columnWidth="968" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="6847ece9-3089-436e-bb14-8cbbfebd57a9"&gt;
  &lt;subDataset name="dataset2" uuid="1f620401-64dd-42eb-8f05-e40424b866bc"&gt;
      &lt;queryString language="plsql"&gt;
          &lt;![CDATA[]]&gt;
      &lt;/queryString&gt;
      &lt;field name="alw_short_name" class="java.lang.String"&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name="Work_amt" class="java.lang.String"&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[(daily -&gt; workday*day_Amount), (monthly --&gt; Salary - lop_Amt)]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;variable name="shortname" class="java.lang.String"&gt;
          &lt;variableExpression&gt;&lt;![CDATA[$F{alw_short_name}+"="+$F{Work_amt}+","]]&gt;&lt;/variableExpression&gt;
      &lt;/variable&gt;
  &lt;/subDataset&gt;
  &lt;parameter name="list1" class="java.util.List"&gt;
      &lt;defaultValueExpression&gt;&lt;![CDATA[]]&gt;&lt;/defaultValueExpression&gt;
  &lt;/parameter&gt;
  &lt;queryString language="plsql"&gt;
      &lt;![CDATA[CALL P_Select_Salary ('2013-01-01', '2013-01-31', 1, 'Salary_Summary')]]&gt;
  &lt;/queryString&gt;
  &lt;field name="unit_id" class="java.lang.Integer"/&gt;
  &lt;field name="Category_Code" class="java.lang.Integer"/&gt;
  &lt;field name="FromDate" class="java.sql.Date"/&gt;
  &lt;field name="ToDate" class="java.sql.Date"/&gt;
  &lt;field name="emp_id" class="java.lang.String"/&gt;
  &lt;field name="Emp_Class" class="java.lang.String"/&gt;
  &lt;field name="Gender" class="java.lang.String"/&gt;
  &lt;field name="Work_Hrs" class="java.lang.String"/&gt;
  &lt;field name="AB_Hrs" class="java.lang.String"/&gt;
  &lt;field name="LOP_Hrs" class="java.lang.String"/&gt;
  &lt;field name="Paid_Leave_Hrs" class="java.lang.String"/&gt;
  &lt;field name="OT_Hrs" class="java.lang.String"/&gt;
  &lt;field name="WO" class="java.lang.String"/&gt;
  &lt;field name="NFH" class="java.lang.String"/&gt;
  &lt;field name="CO_WO" class="java.lang.String"/&gt;
  &lt;field name="CO_NFH" class="java.lang.String"/&gt;
  &lt;field name="Pay_NFH" class="java.lang.String"/&gt;
  &lt;field name="BASIC_F" class="java.lang.String"/&gt;
  &lt;field name="DA_F" class="java.lang.String"/&gt;
  &lt;field name="SA_F" class="java.lang.String"/&gt;
  &lt;field name="Basic_E" class="java.lang.String"/&gt;
  &lt;field name="DA_E" class="java.lang.String"/&gt;
  &lt;field name="SA_E" class="java.lang.String"/&gt;
  &lt;field name="DY_Alw_E" class="java.lang.String"/&gt;
  &lt;field name="NFH_E" class="java.lang.String"/&gt;
  &lt;field name="Paid_Leave_E" class="java.lang.String"/&gt;
  &lt;field name="LOP_Amt" class="java.lang.String"/&gt;
  &lt;field name="OT_Amt" class="java.lang.String"/&gt;
  &lt;field name="Gross_Amt" class="java.lang.String"/&gt;
  &lt;field name="ESI_F" class="java.lang.String"/&gt;
  &lt;field name="ESI_Amt" class="java.lang.String"/&gt;
  &lt;field name="Emp_ESI" class="java.lang.String"/&gt;
  &lt;field name="Emr_ESI" class="java.lang.String"/&gt;
  &lt;field name="EPF_F" class="java.lang.String"/&gt;
  &lt;field name="EPF_Amt" class="java.lang.String"/&gt;
  &lt;field name="PF" class="java.lang.String"/&gt;
  &lt;field name="EPS" class="java.lang.String"/&gt;
  &lt;field name="EPF" class="java.lang.String"/&gt;
  &lt;field name="Advance_Loan" class="java.lang.String"/&gt;
  &lt;field name="Fine" class="java.lang.String"/&gt;
  &lt;field name="Damage_Loss" class="java.lang.String"/&gt;
  &lt;field name="Other_Deduct" class="java.lang.String"/&gt;
  &lt;field name="Net_Salary" class="java.lang.String"/&gt;
  &lt;field name="Accum_unpaid_Amt" class="java.lang.String"/&gt;
  &lt;field name="Paid_Date" class="java.lang.String"/&gt;
  &lt;field name="Paid_Amt" class="java.lang.String"/&gt;
  &lt;variable name="EarnedDays" class="java.lang.Double"&gt;
      &lt;variableExpression&gt;&lt;![CDATA[(Double.valueOf($F{Work_Hrs})+Double.valueOf($F{Paid_Leave_Hrs})+Double.valueOf($F{NFH})-Double.valueOf($F{CO_WO})-Double.valueOf($F{CO_NFH}))/8]]&gt;&lt;/variableExpression&gt;
  &lt;/variable&gt;
  &lt;variable name="LOP" class="java.lang.Double"&gt;
      &lt;variableExpression&gt;&lt;![CDATA[(Double.valueOf($F{AB_Hrs})+Double.valueOf($F{LOP_Hrs}))/8]]&gt;&lt;/variableExpression&gt;
  &lt;/variable&gt;
  &lt;variable name="UnitsofWork" class="java.lang.Double"&gt;
      &lt;variableExpression&gt;&lt;![CDATA[Double.valueOf($F{Work_Hrs})/8]]&gt;&lt;/variableExpression&gt;
  &lt;/variable&gt;
  &lt;variable name="DailyRate" class="java.lang.Double"&gt;
      &lt;variableExpression&gt;&lt;![CDATA[Double.valueOf($F{BASIC_F})+Double.valueOf($F{DA_F})+Double.valueOf($F{SA_F})]]&gt;&lt;/variableExpression&gt;
  &lt;/variable&gt;
  &lt;variable name="OtherAllowance" class="java.lang.Double"&gt;
      &lt;variableExpression&gt;&lt;![CDATA[Double.valueOf($F{SA_E})+Double.valueOf($F{DY_Alw_E})]]&gt;&lt;/variableExpression&gt;
  &lt;/variable&gt;
  &lt;variable name="variable1" class="java.lang.String"/&gt;
  &lt;variable name="OtherDeduction" class="java.lang.Double"&gt;
      &lt;variableExpression&gt;&lt;![CDATA[Double.valueOf($F{Other_Deduct})+Double.valueOf($F{Damage_Loss})+Double.valueOf($F{Advance_Loan})]]&gt;&lt;/variableExpression&gt;
  &lt;/variable&gt;
  &lt;variable name="NetPay" class="java.lang.Double"&gt;
      &lt;variableExpression&gt;&lt;![CDATA[Double.valueOf($F{Net_Salary})+Double.valueOf($F{Accum_unpaid_Amt})]]&gt;&lt;/variableExpression&gt;
  &lt;/variable&gt;
  &lt;variable name="emp" class="java.lang.String"&gt;
      &lt;variableExpression&gt;&lt;![CDATA[$F{emp_id}]]&gt;&lt;/variableExpression&gt;
  &lt;/variable&gt;
  &lt;background&gt;
      &lt;band splitType="Stretch"/&gt;
  &lt;/background&gt;
  &lt;title&gt;
      &lt;band height="34" splitType="Stretch"/&gt;
  &lt;/title&gt;
  &lt;detail&gt;
      &lt;band height="26" splitType="Stretch"&gt;
          &lt;rectangle&gt;
              &lt;reportElement x="0" y="0" width="968" height="21" uuid="daa5c891-0775-4741-9887-b19d8beda0f3"/&gt;
              &lt;graphicElement&gt;
                  &lt;pen lineWidth="0.75"/&gt;
              &lt;/graphicElement&gt;
          &lt;/rectangle&gt;
          &lt;textField&gt;
              &lt;reportElement x="483" y="0" width="41" height="10" uuid="a36c4a26-7e14-4da1-9d1a-b83c173875b4"/&gt;
              &lt;box&gt;
                  &lt;pen lineWidth="0.25"/&gt;
                  &lt;topPen lineWidth="0.25"/&gt;
                  &lt;leftPen lineWidth="0.25"/&gt;
                  &lt;bottomPen lineWidth="0.25"/&gt;
                  &lt;rightPen lineWidth="0.25"/&gt;
              &lt;/box&gt;
              &lt;textElement textAlignment="Center" verticalAlignment="Bottom"&gt;
                  &lt;font fontName="Times New Roman" size="8"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$F{Basic_E}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
          &lt;textField&gt;
              &lt;reportElement x="763" y="0" width="25" height="10" uuid="e449b874-a745-468c-89f0-f10b1bd4b7f9"/&gt;
              &lt;box&gt;
                  &lt;pen lineWidth="0.25"/&gt;
                  &lt;topPen lineWidth="0.25"/&gt;
                  &lt;leftPen lineWidth="0.25"/&gt;
                  &lt;bottomPen lineWidth="0.25"/&gt;
                  &lt;rightPen lineWidth="0.25"/&gt;
              &lt;/box&gt;
              &lt;textElement textAlignment="Center" verticalAlignment="Bottom"&gt;
                  &lt;font fontName="Times New Roman" size="8"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$F{Emp_ESI}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
          &lt;textField&gt;
              &lt;reportElement x="828" y="0" width="29" height="10" uuid="802a4c2e-684c-478f-99ec-31100ea47f70"/&gt;
              &lt;box&gt;
                  &lt;pen lineWidth="0.25"/&gt;
                  &lt;topPen lineWidth="0.25"/&gt;
                  &lt;leftPen lineWidth="0.25"/&gt;
                  &lt;bottomPen lineWidth="0.25"/&gt;
                  &lt;rightPen lineWidth="0.25"/&gt;
              &lt;/box&gt;
              &lt;textElement textAlignment="Center" verticalAlignment="Bottom"&gt;
                  &lt;font fontName="Times New Roman" size="8"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$F{Fine}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
          &lt;textField&gt;
              &lt;reportElement x="524" y="0" width="41" height="10" uuid="0df3e708-23ba-47f8-b8d6-f3d9b3d6ccd0"/&gt;
              &lt;box&gt;
                  &lt;pen lineWidth="0.25"/&gt;
                  &lt;topPen lineWidth="0.25"/&gt;
                  &lt;leftPen lineWidth="0.25"/&gt;
                  &lt;bottomPen lineWidth="0.25"/&gt;
                  &lt;rightPen lineWidth="0.25"/&gt;
              &lt;/box&gt;
              &lt;textElement textAlignment="Center" verticalAlignment="Bottom"&gt;
                  &lt;font fontName="Times New Roman" size="8"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$F{DA_E}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
          &lt;staticText&gt;
              &lt;reportElement x="805" y="11" width="55" height="10" uuid="60340cc0-0348-44b4-a1d5-7f91a978c17b"/&gt;
              &lt;textElement verticalAlignment="Top"&gt;
                  &lt;font fontName="Times New Roman" size="8" isBold="false"/&gt;
              &lt;/textElement&gt;
              &lt;text&gt;&lt;![CDATA[Pre. Unpaid Amt]]&gt;&lt;/text&gt;
          &lt;/staticText&gt;
          &lt;textField pattern="###0.00"&gt;
              &lt;reportElement x="410" y="0" width="35" height="10" uuid="63e0bc64-4313-4bfb-988b-10925ab7fd22"/&gt;
              &lt;box&gt;
                  &lt;pen lineWidth="0.25"/&gt;
                  &lt;topPen lineWidth="0.25"/&gt;
                  &lt;leftPen lineWidth="0.25"/&gt;
                  &lt;bottomPen lineWidth="0.25"/&gt;
                  &lt;rightPen lineWidth="0.25"/&gt;
              &lt;/box&gt;
              &lt;textElement textAlignment="Center" verticalAlignment="Bottom"&gt;
                  &lt;font fontName="Times New Roman" size="8"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$V{DailyRate}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
          &lt;textField pattern="###0.00"&gt;
              &lt;reportElement mode="Opaque" x="565" y="0" width="41" height="10" uuid="bc821e4a-21ed-42b1-a825-8b450b3df0d7"/&gt;
              &lt;box&gt;
                  &lt;pen lineWidth="0.25"/&gt;
                  &lt;topPen lineWidth="0.25"/&gt;
                  &lt;leftPen lineWidth="0.25"/&gt;
                  &lt;bottomPen lineWidth="0.25"/&gt;
                  &lt;rightPen lineWidth="0.25"/&gt;
              &lt;/box&gt;
              &lt;textElement textAlignment="Center" verticalAlignment="Bottom"&gt;
                  &lt;font fontName="Times New Roman" size="8"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$V{OtherAllowance}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
          &lt;textField&gt;
              &lt;reportElement x="445" y="0" width="38" height="10" uuid="974eaf1e-85f1-48f7-8e0a-0285522500cc"/&gt;
              &lt;box&gt;
                  &lt;pen lineWidth="0.25"/&gt;
                  &lt;topPen lineWidth="0.25"/&gt;
                  &lt;leftPen lineWidth="0.25"/&gt;
                  &lt;bottomPen lineWidth="0.25"/&gt;
                  &lt;rightPen lineWidth="0.25"/&gt;
              &lt;/box&gt;
              &lt;textElement textAlignment="Center" verticalAlignment="Bottom"&gt;
                  &lt;font fontName="Times New Roman" size="8"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$F{OT_Hrs}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
          &lt;textField&gt;
              &lt;reportElement x="860" y="11" width="41" height="10" uuid="4580b599-a7d8-430b-b4fb-817be05d7852"/&gt;
              &lt;textElement textAlignment="Center"&gt;
                  &lt;font fontName="Times New Roman" size="8"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$F{Accum_unpaid_Amt}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
          &lt;textField pattern="###0.00"&gt;
              &lt;reportElement x="857" y="0" width="42" height="10" uuid="3f2ddae9-0719-4a3e-96ad-64355f6ae071"/&gt;
              &lt;box&gt;
                  &lt;pen lineWidth="0.25"/&gt;
                  &lt;topPen lineWidth="0.25"/&gt;
                  &lt;leftPen lineWidth="0.25"/&gt;
                  &lt;bottomPen lineWidth="0.25"/&gt;
                  &lt;rightPen lineWidth="0.25"/&gt;
              &lt;/box&gt;
              &lt;textElement textAlignment="Center" verticalAlignment="Bottom"&gt;
                  &lt;font fontName="Times New Roman" size="8"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$V{NetPay}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
          &lt;line&gt;
              &lt;reportElement x="1" y="10" width="898" height="1" uuid="6d8df80d-8aa0-4225-b032-75b264cc7714"/&gt;
              &lt;graphicElement&gt;
                  &lt;pen lineWidth="0.25"/&gt;
              &lt;/graphicElement&gt;
          &lt;/line&gt;
          &lt;line&gt;
              &lt;reportElement x="900" y="0" width="1" height="21" uuid="d0cf6726-f104-4d9f-9364-2470494bd3f7"/&gt;
              &lt;graphicElement&gt;
                  &lt;pen lineWidth="0.5"/&gt;
              &lt;/graphicElement&gt;
          &lt;/line&gt;
          &lt;textField pattern="###0.00"&gt;
              &lt;reportElement x="788" y="0" width="40" height="10" uuid="4a70eb04-8dd0-456b-993f-47fece07c2bf"/&gt;
              &lt;box&gt;
                  &lt;pen lineWidth="0.25"/&gt;
                  &lt;topPen lineWidth="0.25"/&gt;
                  &lt;leftPen lineWidth="0.25"/&gt;
                  &lt;bottomPen lineWidth="0.25"/&gt;
                  &lt;rightPen lineWidth="0.25"/&gt;
              &lt;/box&gt;
              &lt;textElement textAlignment="Center" verticalAlignment="Bottom"&gt;
                  &lt;font fontName="Times New Roman" size="8"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$V{OtherDeduction}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
          &lt;textField&gt;
              &lt;reportElement x="734" y="0" width="29" height="10" uuid="eb856a9a-daaa-4fe8-b9b3-a3a0908dccf4"/&gt;
              &lt;box&gt;
                  &lt;pen lineWidth="0.25"/&gt;
                  &lt;topPen lineWidth="0.25"/&gt;
                  &lt;leftPen lineWidth="0.25"/&gt;
                  &lt;bottomPen lineWidth="0.25"/&gt;
                  &lt;rightPen lineWidth="0.25"/&gt;
              &lt;/box&gt;
              &lt;textElement textAlignment="Center" verticalAlignment="Bottom"&gt;
                  &lt;font fontName="Times New Roman" size="8"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$F{PF}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
          &lt;textField&gt;
              &lt;reportElement x="688" y="0" width="46" height="10" uuid="e67974c7-25a4-4b1c-aac3-363d034ed582"/&gt;
              &lt;box&gt;
                  &lt;pen lineWidth="0.25"/&gt;
                  &lt;topPen lineWidth="0.25"/&gt;
                  &lt;leftPen lineWidth="0.25"/&gt;
                  &lt;bottomPen lineWidth="0.25"/&gt;
                  &lt;rightPen lineWidth="0.25"/&gt;
              &lt;/box&gt;
              &lt;textElement textAlignment="Center" verticalAlignment="Bottom"&gt;
                  &lt;font fontName="Times New Roman" size="8"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$F{Gross_Amt}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
          &lt;textField&gt;
              &lt;reportElement x="648" y="0" width="40" height="10" uuid="e4fdbff5-68fe-4024-8823-28b49f299884"/&gt;
              &lt;box&gt;
                  &lt;pen lineWidth="0.25"/&gt;
                  &lt;topPen lineWidth="0.25"/&gt;
                  &lt;leftPen lineWidth="0.25"/&gt;
                  &lt;bottomPen lineWidth="0.25"/&gt;
                  &lt;rightPen lineWidth="0.25"/&gt;
              &lt;/box&gt;
              &lt;textElement textAlignment="Center" verticalAlignment="Bottom"&gt;
                  &lt;font fontName="Times New Roman" size="8"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$F{Paid_Leave_E}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
          &lt;textField&gt;
              &lt;reportElement x="606" y="0" width="42" height="10" uuid="ed79fd25-fdc2-4e15-971b-2c7185a46737"/&gt;
              &lt;box&gt;
                  &lt;pen lineWidth="0.25"/&gt;
                  &lt;topPen lineWidth="0.25"/&gt;
                  &lt;leftPen lineWidth="0.25"/&gt;
                  &lt;bottomPen lineWidth="0.25"/&gt;
                  &lt;rightPen lineWidth="0.25"/&gt;
              &lt;/box&gt;
              &lt;textElement textAlignment="Center" verticalAlignment="Bottom"&gt;
                  &lt;font fontName="Times New Roman" size="8"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$F{OT_Amt}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
          &lt;textField pattern="###0.00"&gt;
              &lt;reportElement x="383" y="0" width="27" height="10" uuid="4280ee9f-bf59-4c70-9969-0b0363d6e110"/&gt;
              &lt;box&gt;
                  &lt;pen lineWidth="0.25"/&gt;
                  &lt;topPen lineWidth="0.25"/&gt;
                  &lt;leftPen lineWidth="0.25"/&gt;
                  &lt;bottomPen lineWidth="0.25"/&gt;
                  &lt;rightPen lineWidth="0.25"/&gt;
              &lt;/box&gt;
              &lt;textElement textAlignment="Center" verticalAlignment="Bottom"&gt;
                  &lt;font fontName="Times New Roman" size="8"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$V{UnitsofWork}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
          &lt;textField pattern="###0.00"&gt;
              &lt;reportElement x="345" y="0" width="38" height="10" uuid="d219ec9b-c100-4a73-bec1-216e9b99ebac"/&gt;
              &lt;box&gt;
                  &lt;pen lineWidth="0.25"/&gt;
                  &lt;topPen lineWidth="0.25"/&gt;
                  &lt;leftPen lineWidth="0.25"/&gt;
                  &lt;bottomPen lineWidth="0.25"/&gt;
                  &lt;rightPen lineWidth="0.25"/&gt;
              &lt;/box&gt;
              &lt;textElement textAlignment="Center" verticalAlignment="Bottom"&gt;
                  &lt;font fontName="Times New Roman" size="8"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$V{LOP}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
          &lt;textField pattern="###0.00"&gt;
              &lt;reportElement x="306" y="0" width="39" height="10" uuid="9dfd193e-5e41-43c1-bf0e-f6712aca2f20"/&gt;
              &lt;box&gt;
                  &lt;pen lineWidth="0.25"/&gt;
                  &lt;topPen lineWidth="0.25"/&gt;
                  &lt;leftPen lineWidth="0.25"/&gt;
                  &lt;bottomPen lineWidth="0.25"/&gt;
                  &lt;rightPen lineWidth="0.25"/&gt;
              &lt;/box&gt;
              &lt;textElement textAlignment="Center" verticalAlignment="Bottom"&gt;
                  &lt;font fontName="Times New Roman" size="8"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$V{EarnedDays}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
          &lt;textField&gt;
              &lt;reportElement x="164" y="0" width="15" height="10" uuid="6cc74bcd-3383-47ca-8786-a9a68a159bfc"/&gt;
              &lt;box&gt;
                  &lt;pen lineWidth="0.25"/&gt;
                  &lt;topPen lineWidth="0.25"/&gt;
                  &lt;leftPen lineWidth="0.25"/&gt;
                  &lt;bottomPen lineWidth="0.25"/&gt;
                  &lt;rightPen lineWidth="0.25"/&gt;
              &lt;/box&gt;
              &lt;textElement textAlignment="Center" verticalAlignment="Bottom"&gt;
                  &lt;font fontName="Times New Roman" size="8"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[((Integer.valueOf($F{Gender})== 1)? "M" : "F")]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
          &lt;textField&gt;
              &lt;reportElement x="24" y="0" width="66" height="10" uuid="2a2f4987-8efa-4a3e-a537-1ba41126df0a"/&gt;
              &lt;textElement verticalAlignment="Bottom"&gt;
                  &lt;font fontName="Times New Roman" size="8"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$F{emp_id}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
          &lt;componentElement&gt;
              &lt;reportElement x="2" y="11" width="803" height="10" uuid="bf6f9ced-37c6-4c87-b7b3-879cb7cb386a"/&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="Horizontal" ignoreWidth="true"&gt;
                  &lt;datasetRun subDataset="dataset2" uuid="08b6f257-2a35-4041-a1bd-d5186d2c5a34"&gt;
                      &lt;dataSourceExpression&gt;&lt;![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{list1})]]&gt;&lt;/dataSourceExpression&gt;
                  &lt;/datasetRun&gt;
                  &lt;jr:listContents height="10" width="150"&gt;
                      &lt;textField&gt;
                          &lt;reportElement x="0" y="0" width="52" height="10" uuid="d017a7a8-504a-4483-9ef2-81f6de500155"/&gt;
                          &lt;textElement&gt;
                              &lt;font fontName="Times New Roman" size="8"/&gt;
                          &lt;/textElement&gt;
                          &lt;textFieldExpression&gt;&lt;![CDATA[$F{alw_short_name}]]&gt;&lt;/textFieldExpression&gt;
                      &lt;/textField&gt;
                      &lt;textField&gt;
                          &lt;reportElement x="68" y="0" width="50" height="10" uuid="e46db97e-3dd6-4b94-b030-e4cf8a473848"/&gt;
                          &lt;textElement&gt;
                              &lt;font fontName="Times New Roman" size="8"/&gt;
                          &lt;/textElement&gt;
                          &lt;textFieldExpression&gt;&lt;![CDATA[$F{Work_amt}]]&gt;&lt;/textFieldExpression&gt;
                      &lt;/textField&gt;
                  &lt;/jr:listContents&gt;
              &lt;/jr:list&gt;
          &lt;/componentElement&gt;
          &lt;textField&gt;
              &lt;reportElement x="0" y="0" width="22" height="10" uuid="dfffa32c-a2a8-403e-8b25-6ec49e378493"/&gt;
              &lt;textElement&gt;
                  &lt;font fontName="Times New Roman" size="8"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$V{REPORT_COUNT}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
      &lt;/band&gt;
  &lt;/detail&gt;
  &lt;columnFooter&gt;
      &lt;band height="21"&gt;
          &lt;staticText&gt;
              &lt;reportElement x="508" y="0" width="100" height="20" uuid="507050a7-1b44-4756-a491-8056a027243c"/&gt;
              &lt;text&gt;&lt;![CDATA[Sub Total]]&gt;&lt;/text&gt;
          &lt;/staticText&gt;
      &lt;/band&gt;
  &lt;/columnFooter&gt;
  &lt;pageFooter&gt;
      &lt;band height="21" splitType="Stretch"&gt;
          &lt;textField&gt;
              &lt;reportElement x="439" y="0" width="100" height="20" uuid="cfbb544e-3e85-4845-9043-8d7ae6201d28"/&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$V{PAGE_NUMBER}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
      &lt;/band&gt;
  &lt;/pageFooter&gt;
        &lt;/jasperReport&gt;
  </code></pre>
  
  <p>Stack Trace:</p>
  
  <pre><code>      net.sf.jasperreports.engine.JRRuntimeException: net.sf.jasperreports.engine.JRException: Error retrieving field value from bean : 
  at net.sf.jasperreports.components.list.HorizontalFillList.prepare(HorizontalFillList.java:254)
  at net.sf.jasperreports.engine.fill.JRFillComponentElement.prepare(JRFillComponentElement.java:129)
  at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:328)
  at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:392)
  at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:351)
  at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2039)
  at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:771)
  at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:281)
  at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:144)
  at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:891)
  at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:823)
  at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:88)
  at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:653)
  at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:569)
  at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:915)
  at com.p41.reports.RegisterofWages.generateReport(RegisterofWages.java:139)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at org.apache.el.parser.AstValue.invoke(AstValue.java:278)
  at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:274)
  at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
  at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)
  at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
  at javax.faces.component.UICommand.broadcast(UICommand.java:315)
  at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)
  at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)
  at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
  at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
  at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
  at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:77)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at com.p41.setting.FacesFilter.doFilter(FacesFilter.java:145)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
  at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
  at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  at java.lang.Thread.run(Unknown Source)
      Caused by: net.sf.jasperreports.engine.JRException: Error retrieving field value from bean : 
  at net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.getBeanProperty(JRAbstractBeanDataSource.java:123)
  at net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.getFieldValue(JRAbstractBeanDataSource.java:96)
  at net.sf.jasperreports.engine.data.JRBeanCollectionDataSource.getFieldValue(JRBeanCollectionDataSource.java:100)
  at net.sf.jasperreports.engine.fill.JRFillDataset.setOldValues(JRFillDataset.java:1317)
  at net.sf.jasperreports.engine.fill.JRFillDataset.next(JRFillDataset.java:1218)
  at net.sf.jasperreports.engine.fill.JRFillDataset.next(JRFillDataset.java:1194)
  at net.sf.jasperreports.components.list.FillDatasetRun.next(FillDatasetRun.java:168)
  at net.sf.jasperreports.components.list.HorizontalFillList.prepare(HorizontalFillList.java:136)
  ... 53 more
      Caused by: java.lang.NoSuchMethodException: Unknown property '' on class 'class java.lang.String'
  at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1313)
  at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:762)
  at org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:837)
  at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:426)
  at net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.getBeanProperty(JRAbstractBeanDataSource.java:111)
  </code></pre>