Jump to content
We've recently updated our Privacy Statement, available here ×

juanma.mena

Members
  • Posts

    1
  • Joined

  • Last visited

juanma.mena's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi friends. I am new in Ireports, i am preparing a new report using a JavaBeanDatasource but while my report is compiling shows me the next error: Compiling to file... C:UsersjumenamDesktopReportesPP Cancelled Cards.jasper net.sf.jasperreports.engine.design.JRValidationException: Report design not valid : 1. Field not found : de 2. Field not found : banco 3. Field not found : representante 4. Field not found : fecha 5. Field not found : numeroTarjeta 6. Field not found : tarjetaHabiente 7. Field not found : fechaExpiracion at net.sf.jasperreports.engine.design.JRAbstractCompiler.verifyDesign(JRAbstractCompiler.java:271) at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:153) at net.sf.jasperreports.engine.JasperCompileManager.compile(JasperCompileManager.java:354) at net.sf.jasperreports.engine.JasperCompileManager.compileToFile(JasperCompileManager.java:270) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:563) at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:528) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997) Compilation running time: 20! This is the jrxml file. <?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="PP Cancelled Cards" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="e6295acc-c6bd-4ea3-b58f-d1f0afbdbbdf"> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="48"/> <style name="table"> <box> <pen lineWidth="1.0" lineColor="#000000"/> </box> </style> <style name="table_TH" mode="Opaque" backcolor="#FFFFFF"> <box> <pen lineWidth="0.5" lineColor="#000000"/> </box> </style> <style name="table_CH" mode="Opaque" backcolor="#FFBFBF"> <box> <pen lineWidth="0.5" lineColor="#000000"/> </box> </style> <style name="table_TD" mode="Opaque" backcolor="#FFFFFF"> <box> <pen lineWidth="0.5" lineColor="#000000"/> </box> </style> <subDataset name="Detalle" uuid="6332d7e1-74d3-451f-8120-ca96a87edf43"> <queryString> <![CDATA[]]> </queryString> <field name="numeroTarjeta" class="java.lang.String"> <fieldDescription><![CDATA[numeroTarjeta]]></fieldDescription> </field> <field name="tarjetaHabiente" class="java.lang.String"> <fieldDescription><![CDATA[tarjetaHabiente]]></fieldDescription> </field> <field name="fechaExpiracion" class="java.util.Date"> <fieldDescription><![CDATA[fechaExpiracion]]></fieldDescription> </field> </subDataset> <subDataset name="Cabecera" uuid="384c7409-d895-492e-b2d0-0a0f07536d42"> <queryString> <![CDATA[]]> </queryString> <field name="de" class="java.lang.String"> <fieldDescription><![CDATA[de]]></fieldDescription> </field> <field name="banco" class="java.lang.String"> <fieldDescription><![CDATA[banco]]></fieldDescription> </field> <field name="representante" class="java.lang.String"> <fieldDescription><![CDATA[representante]]></fieldDescription> </field> <field name="fecha" class="java.util.Date"> <fieldDescription><![CDATA[fecha]]></fieldDescription> </field> </subDataset> <queryString> <![CDATA[]]> </queryString> <background> <band splitType="Stretch"/> </background> <title> <band height="148" splitType="Stretch"> <staticText> <reportElement x="14" y="14" width="381" height="40" forecolor="#8A704C" uuid="843cf304-40b5-4b81-b974-74aae5bb2851"/> <textElement> <font fontName="Arial" size="24"/> </textElement> <text><![CDATA[Priority Pass (PP) Cancelled Cards]]></text> </staticText> <staticText> <reportElement x="14" y="54" width="381" height="33" forecolor="#8A704C" uuid="f83209ad-ee0c-4b25-8190-f068596f7348"/> <textElement> <font fontName="Arial" size="18" isBold="true" isItalic="true"/> </textElement> <text><![CDATA[Tarjetas Canceladas de Priority Pass (PP)]]></text> </staticText> <staticText> <reportElement x="14" y="120" width="405" height="20" forecolor="#8A704C" uuid="9b3f6b97-92eb-4fa4-a56b-270b06de6d95"/> <textElement> <font fontName="Arial" isBold="true"/> </textElement> <text><![CDATA[Please email to / Envie por coreo electronico a: Visa (prioritypass@ap-visa.com)]]></text> </staticText> <image> <reportElement x="418" y="14" width="93" height="88" uuid="c56a25f3-c665-4e3e-865a-0edbe782cb2e"/> <imageExpression><![CDATA["C:UsersjumenamDesktopReporteslogoPP.jpg"]]></imageExpression> </image> </band> </title> <pageHeader> <band height="95" splitType="Stretch"> <staticText> <reportElement style="table" x="2" y="43" width="225" height="29" uuid="cd5752c4-2b0a-4243-93d5-17c5afd51e00"/> <textElement> <font fontName="Arial" size="12" isBold="true"/> </textElement> <text><![CDATA[bank Representative / Representante del banco]]></text> </staticText> <staticText> <reportElement style="table" x="2" y="72" width="225" height="20" uuid="6e1b196f-044b-4d50-9c49-0add42ac4b3e"/> <textElement> <font fontName="MS Gothic" size="12" isBold="true"/> </textElement> <text><![CDATA[Date / Fecha: ]]></text> </staticText> <staticText> <reportElement style="table" x="2" y="23" width="225" height="20" uuid="7a2df581-7382-4656-a186-8fbebc03bebe"/> <textElement> <font fontName="Arial" size="12" isBold="true"/> </textElement> <text><![CDATA[bank Name / Banco]]></text> </staticText> <staticText> <reportElement style="table" x="2" y="3" width="225" height="20" uuid="c8a26bc2-33ba-42aa-9398-6951d8bd0616"/> <textElement> <font fontName="Arial" size="12" isBold="true"/> </textElement> <text><![CDATA[From / De:]]></text> </staticText> <textField> <reportElement style="table" x="227" y="3" width="328" height="20" uuid="5aa513ef-2a44-421d-9095-58a74b5e6771"/> <textFieldExpression><![CDATA[$F{de}]]></textFieldExpression> </textField> <textField> <reportElement style="table" x="227" y="23" width="328" height="20" uuid="bb77054e-b559-45d2-8790-26ff566712bd"/> <textFieldExpression><![CDATA[$F{banco}]]></textFieldExpression> </textField> <textField> <reportElement style="table" x="227" y="43" width="328" height="29" uuid="d4504854-acc9-4135-b0c9-705b1a297e1f"/> <textFieldExpression><![CDATA[$F{representante}]]></textFieldExpression> </textField> <textField> <reportElement style="table" x="227" y="72" width="328" height="20" uuid="15a33cb8-8611-4cd8-aedd-5bb88ac929cf"/> <textFieldExpression><![CDATA[$F{fecha}]]></textFieldExpression> </textField> </band> </pageHeader> <columnHeader> <band height="33" splitType="Stretch"> <staticText> <reportElement style="table" x="2" y="0" width="204" height="30" uuid="b1d33946-83e0-4d9a-a3b6-e86117e2f97a"/> <textElement> <font fontName="Arial" size="12" isBold="true"/> </textElement> <text><![CDATA[Priority Pass Card Number / Nº. de tarjeta Priority Pass]]></text> </staticText> <staticText> <reportElement style="table" x="436" y="0" width="119" height="30" uuid="cea49982-40c0-4c1f-b11f-41e52ee0b94b"/> <textElement> <font fontName="Arial" size="12" isBold="true"/> </textElement> <text><![CDATA[Expiration Date / Fecha de Expiración]]></text> </staticText> <staticText> <reportElement style="table" x="206" y="0" width="230" height="30" uuid="96dc1ee7-b511-48ad-a782-c6bf78dd744a"/> <textElement> <font fontName="Arial" size="12" isBold="true"/> </textElement> <text><![CDATA[Cardholder’s Name / Nombre del tarjetahabiente]]></text> </staticText> </band> </columnHeader> <detail> <band height="125" splitType="Stretch"> <textField> <reportElement style="table" x="2" y="0" width="204" height="20" uuid="e11f0fbf-67a9-4973-bd94-43bec1b64b9d"/> <textFieldExpression><![CDATA[$F{numeroTarjeta}]]></textFieldExpression> </textField> <textField> <reportElement style="table" x="206" y="0" width="230" height="20" uuid="4b530e22-9cd3-4203-9376-cc39db67a1f4"/> <textFieldExpression><![CDATA[$F{tarjetaHabiente}]]></textFieldExpression> </textField> <textField> <reportElement style="table" x="436" y="0" width="119" height="20" uuid="50768195-8734-407e-aaf2-450be2af1259"/> <textFieldExpression><![CDATA[$F{fechaExpiracion}]]></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> Thank you very much for your help.
×
×
  • Create New...