title: iReport: getting "Incompatible java.math.BigDecimal value assigned to parameter" exception
body: <p>I am developing report containing sub report using <code>iReport</code> and i am passing two external parameters in master report: the <code>CurrWeek</code> and <code>CurrYear</code> parameters. I'm passing the same parameters to the subreport.</p>
  
  <p>In both reports I declared parameters as <code>BigDecimal</code>. When i run the report it shows the error shown bellow:</p>
  
  <pre><code>   Error filling print...
          net.sf.jasperreports.engine.JRException:
       Incompatible java.math.BigDecimal value assigned to parameter 
      CurrWeek in the WeeklyReportForOtherWeek dataset. 
       net.sf.jasperreports.engine.JRRuntimeException: 
       net.sf.jasperreports.engine.JRException: 
       Incompatible java.math.BigDecimal value assigned to parameter 
       CurrWeek in the WeeklyReportForOtherWeek dataset.
  </code></pre>