0 Replies Latest reply: Sep 5, 2009 6:29 AM by 807567 RSS

    iReport Blob

    807567
      Hello
      I hav Blob in MySql.
      I want send Blob to iReport from my aplication but i have error

      net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression : 
           Source text : $F{Image}
      at net.sf.jasperreports.engine.fill.JREvaluator.evaluate(JREvaluator.java:197)
      .
      .
      .
      Caused by: java.lang.ClassCastException: [B cannot be cast to java.io.InputStream
      In iReport I have field image ( java.io.InputStream)

      and Image( java.io.InputStream) with Expression : $F{Image}

           
      Everything works with iReport active connection.