title: JasperReport variable is displayed when preview supreport but in master report it's throw error evaluating expression for source text
body: <p>I'm using TIBCO Jaspersoft® Studio 6.15.0 for building my report.</p>
  <p>I have a master report and a subreport with jdbc connection,</p>
  <p>The master report and subreport retrieve data from different pl/sql procedure.</p>
  <p>When i create the subreport it's created in main folder not the master report folder,</p>
  <p>then i have no errors, when i preview my subreport it's previewing ok like expected.</p>
  <p>but when i preview the master report it's show the data but subreport section is blank,</p>
  <p>the subreport don't show anything.</p>
  <p>i moved the subreport to the same folder with the master report, and now I'm getting deferent</p>
  <p>error. I have variables with BigDecimal data type in the subreort.</p>
  <p>in master report i'm getting:</p>
  <p><em>Error evaluating expression for source text: arFormatFactory.toArabicNum($V{NF}.format($V{TOTAL_1}))
  at net.sf.jasperreports.engine.fill.JREvaluator.handleEvaluationException(JREvaluator.java:294)</em></p>
  <p>the $v{TOTAL_1} is a variable in supreport. and if i delete it the master report give me an error</p>
  <p>on the next variable it's name is TOTAL_2.</p>
  <p>the source is too long but here is the source in master report for sup report.</p>
  <pre><code>&lt;subreport&gt;
      &lt;reportElement mode=&quot;Transparent&quot; x=&quot;1&quot; y=&quot;34&quot; width=&quot;798&quot; height=&quot;36&quot; uuid=&quot;567d0996-6626- 
       4985-ba8f-6bc3443b9561&quot;/&gt;
          &lt;connectionExpression&gt;&lt;![CDATA[$P{REPORT_CONNECTION}]]&gt;&lt;/connectionExpression&gt;
          &lt;subreportExpression&gt;&lt;![CDATA[&quot;OMD_REP_ITEMS_BALANCES_SUB.jasper&quot;]]&gt;&lt;/subreportExpression&gt;
  &lt;/subreport&gt;
  
  </code></pre>
  <p>Any solution?
  ask me if you need more information.</p>