• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

iReport - error (very simple report)

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I've made a very simple report in iReport (a list of the sales orders).

When I do a preview then it works perfectly. But when I afterwards want to open the report in Fisbowl, it gives an error "Fishbowl Server Error: null"

Is there something wrong with the XML code?

Thanks a lot for your help,
Rgds,
Matieu

<?xml version="1.0" encoding="UTF-8"?>
<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="report12" language="groovy" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b5063b1c-002a-4219-b834-8d8899be4832">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<queryString language="SQL">
<![CDATA[SELECT
SO."NUM" AS SO_NUM
FROM
"SO" SO]]>
</queryString>
<field name="SO_NUM" class="java.lang.String"/>
<background>
<band splitType="Stretch"/>
</background>
<columnHeader>
<band height="25" splitType="Stretch">
<staticText>
<reportElement uuid="86a9ca2c-dedd-444b-a923-dff458e9e758" x="124" y="2" width="100" height="20"/>
<textElement/>
<text><![CDATA[SO_NUM]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="23" splitType="Stretch">
<textField>
<reportElement uuid="44c27737-d18c-4fd5-b5da-971eaacd6726" x="124" y="0" width="100" height="20"/>
<textElement/>
<textFieldExpression><![CDATA[$F{SO_NUM}]]></textFieldExpression>
</textField>
</band>
</detail>
</jasperReport>
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I realize this is a very old thread but I'm having the same issue. Did you ever figure out what the problem was? Thanks!
 
Water proof donuts! Eat them while reading this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!