paola.sartene Posted March 20, 2015 Posted March 20, 2015 Can anyone hel me, please?Sometime ago I developed and deployed succesfully a report with two subreports to our platform.I did not work anymore on the reports till yesterday when I made some minor changes, from thatmoment the report generation stopped working (also if I revert the report to the previous version).The problems are as follow:When I try to get a preview the Eclipse plug-in claims that there is a parameter that "must be compiled"before previewing the report (?)When I deploy the three Jasper files I get the exception invalid stream header: 3C3F786D, while allthe subreports in the main report point to the Jasper version, the compiled file.Can anyone help me plase? I am going crazy!
paola.sartene Posted March 20, 2015 Author Posted March 20, 2015 Now I tried something simple like the following one and got the same message at report preview: "Some parameters are present that should be compiled in order to create the report". <?xml version="1.0" encoding="UTF-8"?><!-- Created with Jaspersoft Studio version 6.0.3.final using JasperReports Library version 6.0.3 --><!-- 2015-03-20T14:07:01 --><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="waypoints_details" pageWidth="555" pageHeight="792" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="8fa2267f-6a55-4881-9e7c-d3289573cf45"><property name="com.jaspersoft.studio.data.defaultdataadapter" value="ncc_database"/><parameter name="BOOKING_ID" class="java.lang.Integer"/><queryString language="SQL"><![CDATA[select idBooking from ncc_booking where idBooking = $P{BOOKING_ID}]]></queryString><field name="idBooking" class="java.lang.Long"><fieldDescription><![CDATA[]]></fieldDescription></field><background><band splitType="Stretch"/></background><title><band height="79" splitType="Stretch"><staticText><reportElement x="232" y="31" width="100" height="30" uuid="c73ff654-99c1-469c-a5d2-dc75b8008dfd"/><text><![CDATA[Non saprei]]></text></staticText></band></title><pageHeader><band height="35" splitType="Stretch"/></pageHeader><columnHeader><band height="61" splitType="Stretch"><staticText><reportElement x="327" y="0" width="100" height="30" uuid="0b0e8548-3a5f-4956-b60f-6272a7329612"/><text><![CDATA[idBooking]]></text></staticText></band></columnHeader><detail><band height="125" splitType="Stretch"><textField><reportElement x="327" y="52" width="100" height="30" uuid="5e07dede-0dab-4c0f-ab0f-9574e6f50196"/><textFieldExpression><![CDATA[$F{idBooking}]]></textFieldExpression></textField></band></detail><columnFooter><band height="45" splitType="Stretch"/></columnFooter><pageFooter><band height="54" splitType="Stretch"/></pageFooter><summary><band height="42" splitType="Stretch"/></summary></jasperReport>
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now