title: Jasper Report image Error
body: <pre><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="null" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="0a01e24e-d4df-490e-8b8c-c9c06a7e21b1"&gt;
      &lt;parameter name="HEADER_SERIAL" class="java.lang.String"&gt;
          &lt;defaultValueExpression&gt;&lt;![CDATA[Integer.valueOf($P{HEADER_SUB_SERIAL})]]&gt;&lt;/defaultValueExpression&gt;
      &lt;/parameter&gt;
      &lt;parameter name="HEADER_SUB_SERIAL" class="java.lang.Integer" isForPrompting="false"/&gt;
      &lt;queryString&gt;
          &lt;![CDATA[SELECT * FROM (SELECT * FROM company_details) cd]]&gt;
      &lt;/queryString&gt;
      &lt;field name="company_name" class="java.lang.String"/&gt;
      &lt;field name="address_1" class="java.lang.String"/&gt;
      &lt;field name="postal_code" class="java.lang.String"/&gt;
      &lt;field name="website" class="java.lang.String"/&gt;
      &lt;field name="banner" class="java.lang.Object"/&gt;
      &lt;field name="town" class="java.lang.String"/&gt;
      &lt;field name="province" class="java.lang.String"/&gt;
      &lt;field name="country" class="java.lang.String"/&gt;
      &lt;field name="telephone_1" class="java.lang.String"/&gt;
      &lt;field name="logo" class="java.lang.Object"/&gt;
      &lt;field name="email" class="java.lang.String"/&gt;
      &lt;columnHeader&gt;
          &lt;band height="79" splitType="Stretch"&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="366" y="48" width="59" height="16" uuid="5114943c-a544-4c53-9173-fa4d4ef13eab"/&gt;
                  &lt;textElement&gt;
                      &lt;font isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[P.O BOX]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="366" y="17" width="59" height="16" uuid="6e8af721-752a-4d09-8bf1-60c06a8a282d"/&gt;
                  &lt;textElement&gt;
                      &lt;font isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Website    ]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="366" y="32" width="59" height="16" uuid="81c74b97-4910-4dce-bd2b-a5f83e827e84"/&gt;
                  &lt;textElement&gt;
                      &lt;font isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Email]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;textField&gt;
                  &lt;reportElement x="366" y="2" width="189" height="15" uuid="3ef09040-0f8e-4542-ac48-3b08efa6f383"/&gt;
                  &lt;textElement&gt;
                      &lt;font isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{company_name}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement x="441" y="17" width="114" height="15" uuid="1a8d5ba4-2837-450c-9552-01e7e6ded58c"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{website}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement x="441" y="33" width="114" height="15" uuid="bea94c57-63de-469c-8993-3cb25bd66dfb"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{email}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="366" y="63" width="59" height="16" uuid="b8797b80-b8a6-4d5c-8225-91f89960fe80"/&gt;
                  &lt;textElement&gt;
                      &lt;font isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Country]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;textField&gt;
                  &lt;reportElement x="441" y="48" width="62" height="15" uuid="f2d6ddbb-0c94-4ce8-b96e-213762d8a591"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{address_1}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement x="441" y="63" width="114" height="15" uuid="0926bdda-3fcb-4d15-b5fb-bd812e39279b"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{country}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement x="503" y="48" width="52" height="15" uuid="8f8acd7b-1fea-4fcb-a17e-db1d70bb4e30"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{postal_code}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;image scaleImage="RetainShape" hAlign="Center"&gt;
                  &lt;reportElement x="0" y="2" width="159" height="76" uuid="5033480f-8a9b-400a-8c95-8bbb79101452"/&gt;
                  &lt;imageExpression&gt;&lt;![CDATA[$F{logo}]]&gt;&lt;/imageExpression&gt;
              &lt;/image&gt;
          &lt;/band&gt;
      &lt;/columnHeader&gt;
  &lt;/jasperReport&gt;
  </code></pre>
  
  <p>Am using jasper plugin in netbeans and i have a problem when displaying an image.I get the following errors :</p>
  
  <pre><code>Error filling print... Unknown image source class [B 
  net.sf.jasperreports.engine.JRException: Unknown image source class [B      
  at net.sf.jasperreports.engine.fill.JRFillImage.evaluateImage(JRFillImage.java:559)      
  at net.sf.jasperreports.engine.fill.JRFillImage.evaluate(JRFillImage.java:472)      
  at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:259)      
  </code></pre>