title: JasperReport Error evaluating expression: Source text : new java.lang.Integer(1)
body: <p>I'm using JasperSoft Studio 5.1.0 for creating my report. This is library I used so far</p>
  
  <ul>
  <li>commons-beanutils-1.8.3.jar commons-collections.jar
  commons-digester-1.7.jar commons-javaflow-20060411.jar
  commons-logging-1.1.3.jar groovy-all-1.7.5.jar itext-2.1.7.jar
  jasperreports-5.1.0.jar</li>
  </ul>
  
  <p>I'm trying using parameter and it's not showing any error when I see the preview on JasperSoft Studio, but when I try to print from my Java program it's show an error like this:</p>
  
  <blockquote>
    <p>net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression :
    Source text : new java.lang.Integer(1)</p>
  </blockquote>
  
  <p>the code I use on my program for action performed is like this</p>
  
  <pre><code>try
  {
     String NamaFile = "src/Laporan Penawaran.jasper";
     Class.forName("com.mysql.jdbc.Driver").newInstance();
     Connection konek = Koneksi.getKoneksi();
     HashMap hash = new HashMap();
     hash.put("param1",no_tender.getText());
  
     File file = new File(NamaFile);
     JasperReport jasperReport = (JasperReport) JRLoader.loadObject(file.getPath());
     JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, hash,konek);
     JasperViewer.viewReport(jasperPrint);
  } catch(Exception ex) {
     System.out.println(ex);
  }
  </code></pre>
  
  <p>I just wondering maybe my jasper file is error, but when I try to erase all field and using only static text the error still exist. What am I supposed to do? </p>