Invalid byte 2 of 3-byte UTF-8 sequence.

0

Hi, I've got the following error when launching a specific report which opens well in iReport but throw an exception when executing it in jasperserver :

com.jaspersoft.jasperserver.api.JSExceptionWrapper: java.io.UTFDataFormatException: Invalid byte 2 of 3-byte UTF-8 sequence.
 
com.jaspersoft.jasperserver.api.JSExceptionWrapper:
net.sf.jasperreports.engine.JRException:
java.io.UTFDataFormatException: Invalid byte 2 of 3-byte UTF-8 sequence.
    at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:247)
    at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:226)
    at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:214)
at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.compileReport(EngineServiceImpl.java:803)
at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$CacheableCompiledReports.getData(EngineServiceImpl.java:187)
at com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.HibernateRepositoryCache.saveData(HibernateRepositoryCache.java:171)
at com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.HibernateRepositoryCache.getCachedItem(HibernateRepositoryCache.java:110)
at com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.HibernateRepositoryCache.cache(HibernateRepositoryCache.java:70)
    at sun.reflect.GeneratedMethodAccessor470.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
    at com.jaspersoft.jasperserver.api.common.util.spring.ReattemptMethodInterceptor.invoke(ReattemptMethodInterceptor.java:51)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)

Do you know how to handle it ?

Regards,
Denis.
---

<?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="test"
              pageWidth="612"
              pageHeight="792"
              columnWidth="552"
              leftMargin="30"
              rightMargin="30"
              topMargin="20"
              bottomMargin="20">
 
  <property name="com.jaspersoft.ji.adhoc" value="1"/>
  <property name="net.sf.jasperreports.export.pdf.tagged" value="true"/>
  <property name="net.sf.jasperreports.export.pdf.tag.language" value="EN-US"/>
 
  <style name="ReportDefault"
         isDefault="true"
         forecolor="#000000"
         backcolor="#FFFFFF"
         hAlign="Left"
         vAlign="Middle"
         fontName="Arial"
         fontSize="10"
         pdfFontName="Helvetica">
    <box><pen lineColor="#000000"/></box>
  </style>
 
  <style name="PageHeaderFooter"
         isDefault="false"
         style="ReportDefault"
         forecolor="#000000"
         vAlign="Top" fontName="Arial"
         fontSize="9">
        <pen lineWidth="1.0" lineStyle="Solid"/>
  </style>
 
  <style name="Group1HeaderFooter"
         isDefault="false"
         style="ReportDefault"
         mode="Opaque"
         forecolor="#000000"
         backcolor="#FFFFFF"
         fontName="Arial"
         fontSize="12"
         isBold="true"
         pdfFontName="Helvetica-Bold"/>
 
  <style name="Group1Header" isDefault="false" style="Group1HeaderFooter"/>
  <style name="Group1Footer" isDefault="false" style="Group1HeaderFooter"/>
 
  <style name="Group2HeaderFooter"
         isDefault="false"
         style="ReportDefault"
         mode="Opaque"
         forecolor="#000000"
         backcolor="#D0D0D0"
         fontName="Arial"
         fontSize="11"
         isBold="true"
         pdfFontName="Helvetica-Bold"/>
 
  <style name="Group2Header" isDefault="false" style="Group2HeaderFooter"/>
  <style name="Group2Footer" isDefault="false" style="Group2HeaderFooter"/>
 
  <style name="Group3HeaderFooter"
         isDefault="false"
         style="ReportDefault"
         fontName="Arial"
         fontSize="11"
         isBold="true"
         pdfFontName="Helvetica-Bold"/>
 
  <style name="Group3Header" isDefault="false" style="Group3HeaderFooter"/>
  <style name="Group3Footer" isDefault="false" style="Group3HeaderFooter"/>
 
  <style name="ColumnHeaderFooter"
         isDefault="false"
         style="ReportDefault"
         mode="Opaque"
         forecolor="#000000"
         backcolor="#C0C0C0"
         fontName="Arial"
         fontSize="11"
         isBold="true"
         pdfFontName="Helvetica-Bold">
    <pen lineWidth="0.5" lineStyle="Solid"/>
    <box>
      <pen lineColor="#000000"/>
      <topPen lineWidth="0.5" lineStyle="Solid"/>
      <bottomPen lineWidth="0.5" lineStyle="Solid"/>
    </box>
  </style>
 
  <style name="TableSummaries"
         isDefault="false"
         style="ReportDefault"
         mode="Opaque"
         forecolor="#000000"
         backcolor="#C0C0C0"
         fontName="Arial"
         fontSize="11"
         isBold="true"
         pdfFontName="Helvetica-Bold">
    <pen lineWidth="0.5" lineStyle="Solid"/>
    <box>
      <pen lineColor="#000000"/>
      <topPen    lineWidth="0.5" lineStyle="Solid"/>
      <bottomPen lineWidth="0.5" lineStyle="Solid"/>
    </box>
  </style>
 
  <style name="Title"
         isDefault="false"
         style="ReportDefault"
         mode="Opaque"
         backcolor="#FFFFFF"
         hAlign="Center"
         fontName="Arial"
         fontSize="18"
         isBold="true"
         pdfFontName="Helvetica-Bold">
    <pen lineWidth="0.5" lineStyle="Solid"/>
    <box>
      <pen lineColor="#000000"/>
      <topPen lineWidth="0.5" lineStyle="Solid"/>
    </box>
  </style>
 
  <style name="Details"
         isDefault="false"
         style="ReportDefault"
         mode="Opaque"
         forecolor="#000000"
         backcolor="#FFFFFF">
    <conditionalStyle>
      <conditionExpression>
        <![CDATA[new Boolean($V{InnerRowCount}.intValue() % 2 == 0)]]>
      </conditionExpression>
      <style isDefault="false"
             style="Details"
             mode="Opaque"
             forecolor="#000000"
             backcolor="#EFEFEF"/>
    </conditionalStyle>
  </style>
 
  <style name="CrosstabDefaults"
         isDefault="false"
         style="ReportDefault"
         mode="Opaque"
         forecolor="#000000"
         vAlign="Middle"
         fontName="Arial"
         fontSize="11"
         pdfFontName="Helvetica-Bold">
    <box><pen lineColor="#000000"/></box>
  </style>
 
  <style name="CrosstabTitleStyle"
         isDefault="false"
         style="ReportDefault"
         mode="Transparent"
         forecolor="#000000"
         hAlign="Center"
         vAlign="Middle"
         fontName="Arial"
         fontSize="13"
         isBold="true"
         pdfFontName="Helvetica-Bold">
    <box><pen lineColor="#000000"/></box>
  </style>
 
  <style name="CrosstabColumn1"
         isDefault="false"
         style="ReportDefault"
         mode="Opaque"
         forecolor="#000000"
         backcolor="#C0C0C0"
         hAlign="Center"
         vAlign="Middle"
         fontName="Arial"
         fontSize="11"
         isBold="true"
         pdfFontName="Helvetica-Bold">
    <box><pen lineColor="#000000"/></box>
  </style>
 
  <style name="CrosstabColumn2"
         isDefault="false"
         style="ReportDefault"
         mode="Opaque"
         forecolor="#000000"
         backcolor="#EFEFEF"
         hAlign="Center"
         vAlign="Middle"
         fontName="Arial"
         fontSize="11"
         isBold="true"
         pdfFontName="Helvetica-Bold">
    <box><pen lineColor="#000000"/></box>
  </style>
 
  <style name="CrosstabColumn3"
         isDefault="false"
         style="ReportDefault"
         mode="Opaque"
         forecolor="#000000"
         backcolor="#F5F2F2"
         hAlign="Center"
         vAlign="Middle"
         fontName="Arial"
         fontSize="11"
         isBold="true"
         pdfFontName="Helvetica-Bold">
    <box><pen lineColor="#000000"/></box>
  </style>
 
  <style name="CrosstabRow1"
         isDefault="false"
         style="ReportDefault"
         mode="Opaque"
         forecolor="#000000"
         backcolor="#FFFFFF"
         hAlign="Left"
         vAlign="Middle"
         fontName="Arial"
         fontSize="11"
         isBold="true"
         pdfFontName="Helvetica-Bold">
    <box><pen lineColor="#000000"/></box>
  </style>
 
  <style name="CrosstabRow2"
         isDefault="false"
         style="ReportDefault"
         mode="Opaque"
         forecolor="#000000"
         backcolor="#D0D0D0"
         hAlign="Left"
         vAlign="Middle"
         fontName="Arial"
         fontSize="11"
         isBold="true"
         pdfFontName="Helvetica-Bold">
    <box><pen lineColor="#000000"/></box>
  </style>
 
  <style name="CrosstabRow3"
         isDefault="false"
         style="ReportDefault"
         mode="Opaque"
         forecolor="#000000"
         backcolor="#F5F2F2"
         hAlign="Left"
         vAlign="Middle"
         fontName="Arial"
         fontSize="11"
         isBold="true"
         pdfFontName="Helvetica-Bold">
    <box><pen lineColor="#000000"/></box>
  </style>
 
  <style name="CrosstabGrandTotal"
         isDefault="false"
         style="ReportDefault"
         mode="Opaque"
         forecolor="#000000"
         backcolor="#C0C0C0"
         hAlign="Center"
         vAlign="Middle"
         fontName="Arial"
         fontSize="11"
         isBold="true"
         pdfFontName="Helvetica-Bold">
    <box><pen lineColor="#000000"/></box>
  </style>
 
  <style name="CrosstabColumnWidth"
         isDefault="false"
         style="ReportDefault"
         mode="Opaque"
         forecolor="#000000"
         vAlign="Middle"
         fontName="Arial"
         fontSize="11"
         pdfFontName="Helvetica-Bold">
    <box><pen lineColor="#000000"/></box>
  </style>
 
  <style name="CrosstabRowWidth"
         isDefault="false"
         style="ReportDefault"
         mode="Opaque"
         forecolor="#000000"
         vAlign="Middle"
         fontName="Arial"
         fontSize="11"
         pdfFontName="Helvetica-Bold">
    <box><pen lineColor="#000000"/></box>
  </style>
 
  <style name="CrosstabMeasureCell"
         isDefault="false"
         style="ReportDefault"
         mode="Opaque"
         forecolor="#000000"
         backcolor="#FFFFFF"
         vAlign="Middle"
         fontName="Arial"
         fontSize="10"
         pdfFontName="Helvetica-Bold">
    <box><pen lineColor="#000000"/></box>
  </style>
 
  <style name="ChartReportTitle"
         isDefault="false"
         style="ReportDefault"
         mode="Opaque"
         backcolor="#FFFFFF"
         hAlign="Center"
         fontName="Arial"
         fontSize="18"
         isBold="true"
         pdfFontName="Helvetica-Bold">
    <pen lineWidth="0.5" lineStyle="Solid"/>
    <box>
      <pen lineColor="#000000"/>
      <topPen    lineWidth="0.5" lineStyle="Solid"/>
      <bottomPen lineWidth="0.5" lineStyle="Solid"/>
    </box>
  </style>
 
  <style name="ChartTitle"
         isDefault="false"
         forecolor="#000000"
         fontName="Arial"
         fontSize="12"
         isBold="true"
         pdfFontName="Helvetica-Bold"/>
 
  <style name="ChartSubtitle"
         isDefault="false"
         forecolor="#000000"
         fontName="Arial" fontSize="9"
         isBold="false"
         pdfFontName="Helvetica"/>
 
  <style name="ChartLegend"
         isDefault="false"
         forecolor="#000000"
         backcolor="#FFFFFF"
         fontName="Verdana"
         fontSize="9"
         isBold="false"
         pdfFontName="Helvetica"/>
 
  <style name="ChartSeriesColor0"  isDefault="false" backcolor="#3333FF"/>
  <style name="ChartSeriesColor1"  isDefault="false" backcolor="#FF3333"/>
  <style name="ChartSeriesColor2"  isDefault="false" backcolor="#C2C2C2"/>
  <style name="ChartSeriesColor3"  isDefault="false" backcolor="#FFF333"/>
  <style name="ChartSeriesColor4"  isDefault="false" backcolor="#0BC349"/>
  <style name="ChartSeriesColor5"  isDefault="false" backcolor="#9A2CAB"/>
  <style name="ChartSeriesColor6"  isDefault="false" backcolor="#919191"/>
  <style name="ChartSeriesColor7"  isDefault="false" backcolor="#FF9C00"/>
  <style name="ChartSeriesColor8"  isDefault="false" backcolor="#00BFF3"/>
  <style name="ChartSeriesColor9"  isDefault="false" backcolor="#007205"/>
  <style name="ChartSeriesColor10" isDefault="false" backcolor="#EC00B2"/>
  <style name="ChartSeriesColor11" isDefault="false" backcolor="#4F0E73"/>
  <style name="ChartSeriesColor12" isDefault="false" backcolor="#F25618"/>
  <style name="ChartSeriesColor13" isDefault="false" backcolor="#2EE5E5"/>
  <style name="ChartSeriesColor14" isDefault="false" backcolor="#35379C"/>
  <style name="ChartSeriesColor15" isDefault="false" backcolor="#E8FF68"/>
 
  <style name="ChartCategoryAxisLabelFormat"
         isDefault="false"
         forecolor="#000000"
         fontName="Arial"
         fontSize="11"
         isBold="true"
         pdfFontName="Helvetica-Bold"/>
 
  <style name="ChartCategoryAxisTickFormat"
         isDefault="false"
         forecolor="#000000"
         fontName="Verdana"
         fontSize="9"
         isBold="false"
         pdfFontName="Helvetica"/>
 
  <style name="ChartValueAxisLabelFormat"
         isDefault="false"
         forecolor="#000000"
         fontName="Arial"
         fontSize="11"
         isBold="true"
         pdfFontName="Helvetica-Bold"/>
 
  <style name="ChartValueAxisTickFormat"
         isDefault="false"
         forecolor="#000000"
         fontName="Verdana"
         fontSize="9"
         isBold="false"
         pdfFontName="Helvetica"/>
 
  <parameter name="LoggedInUser"
             class="com.jaspersoft.jasperserver.api.metadata.user.domain.User"
             isForPrompting="false"/>
 
  <queryString language="sl">
    <![CDATA[
      <query xmlns="http://www.jaspersoft.com/2007/SL/XMLSchema">
        <queryFields>
        <queryField id="historique.actions.DATE_OPERATION" />
        <queryField id="historique.actions.DN_ACTEUR" />
        <queryField id="historique.actions.NOM_OPERATION" />
        <queryField id="historique.actions.UNITE_ORGANISATIONNELLE" />
        <queryField id="historique.DOCUMENT.ID_DOCUMENT" />
        <queryField id="historique.DOCUMENT.SUJET_DOCUMENT" />
        <queryField id="historique.ETATS.NOM_ETAT" />
        <queryField id="historique.TYPE_PROCESSUS.DATE_VERSION_PROCESSUS" />
        <queryField id="historique.TYPE_PROCESSUS.ID_TYPE_PROCESSUS" />
        <queryField id="historique.TYPE_PROCESSUS.NOM_TYPE_PROCESSUS" />
        <queryField id="historique.TYPE_PROCESSUS.TYPE_DOCUMENTS" />
        <queryField id="historique.document_type_names.ID_TYPE_DOCUMENT" />
        <queryField id="historique.document_type_names.LANGUE_TYPE_DOCUMENT" />
        <queryField id="historique.document_type_names.NOM_TYPE_DOCUMENT" />
      </queryFields>
      <queryFilterString>
        historique.DOCUMENT.ID_DOCUMENT &lt;= 100
      </queryFilterString>
    </query>]]>
  </queryString>
 
  <field name="historique.actions.DATE_OPERATION" class="java.lang.Long">
    <property name="slIsTableAsList" value="false"/>
    <property name="adhoc.tree.uri" value="/historique/actions/DATE_OPERATION"/>
    <property name="semantic.item.desc" value="OPERATION_DATE"/>
    <property name="adhoc.display" value="Date operation"/>
    <property name="adhoc.tree.labels"
              value="[{&quot;label&quot;:&quot;historique&quot;,&quot;uri&quot;:&quot;/historique&quot;,&quot;labelId&quot;:&quot;&quot;,&quot;resourceId&quot;:&quot;JoinTree_1&quot;},{&quot;label&quot;:&quot;actions&quot;,&quot;uri&quot;:&quot;/historique/actions&quot;,&quot;labelId&quot;:&quot;&quot;,&quot;resourceId&quot;:&quot;JoinTree_1&quot;},{&quot;label&quot;:&quot;Document&quot;,&quot;uri&quot;:&quot;/historique/DOCUMENT&quot;,&quot;labelId&quot;:&quot;&quot;,&quot;resourceId&quot;:&quot;JoinTree_1&quot;},{&quot;label&quot;:&quot;Etats&quot;,&quot;uri&quot;:&quot;/historique/ETATS&quot;,&quot;labelId&quot;:&quot;&quot;,&quot;resourceId&quot;:&quot;JoinTree_1&quot;},{&quot;label&quot;:&quot;Type de processus&quot;,&quot;uri&quot;:&quot;/historique/TYPE_PROCESSUS&quot;,&quot;labelId&quot;:&quot;&quot;,&quot;resourceId&quot;:&quot;JoinTree_1&quot;},{&quot;label&quot;:&quot;Types de documents&quot;,&quot;uri&quot;:&quot;/historique/document_type_names&quot;,&quot;labelId&quot;:&quot;&quot;,&quot;resourceId&quot;:&quot;JoinTree_1&quot;}]"/>
    <property name="semantic.tree.uri" value="/historique/actions/DATE_OPERATION"/>
 
    <property name="semantic.tree.sort.order"
              value="{&quot;document_type_names&quot;:17,&quot;TYPE_PROCESSUS&quot;:12,&quot;NOM_TYPE_DOCUMENT&quot;:20,&quot;TYPE_DOCUMENTS&quot;:16,&quot;NOM_TYPE_PROCESSUS&quot;:15,&quot;ETATS&quot;:10,&quot;DOCUMENT&quot;:7,&quot;ID_TYPE_PROCESSUS&quot;:14,&quot;historique&quot;:1,&quot;NOM_OPERATION&quot;:5,&quot;actions&quot;:2,&quot;DATE_VERSION_PROCESSUS&quot;:13,&quot;ID_TYPE_DOCUMENT&quot;:18,&quot;SUJET_DOCUMENT&quot;:9,&quot;DATE_OPERATION&quot;:3,&quot;UNITE_ORGANISATIONNELLE&quot;:6,&quot;LANGUE_TYPE_DOCUMENT&quot;:19,&quot;ID_DOCUMENT&quot;:8,&quot;DN_ACTEUR&quot;:4,&quot;NOM_ETAT&quot;:11}"/>
    <property name="resourceId" value="JoinTree_1.history.OPERATION_DATE"/>
  </field>
 
  <field name="historique.actions.DN_ACTEUR" class="java.lang.String">
    <property name="semantic.item.desc"       value="DN_ACTOR"/>
    <property name="adhoc.display"            value="DN Acteur"/>
    <property name="semantic.tree.uri"        value="/historique/actions/DN_ACTEUR"/>
    <property name="adhoc.tree.uri"           value="/historique/actions/DN_ACTEUR"/>
    <property name="resourceId"               value="JoinTree_1.actors.DN_ACTOR"/>
    <property name="semantic.tree.sort.order" value="1"/>
  </field>
  <field name="historique.actions.NOM_OPERATION" class="java.lang.String">
    <property name="semantic.item.desc"       value="EXTERNAL_NAME"/>
    <property name="adhoc.display"            value="Nom operation"/>
    <property name="semantic.tree.uri"        value="/historique/actions/NOM_OPERATION"/>
    <property name="adhoc.tree.uri"           value="/historique/actions/NOM_OPERATION"/>
    <property name="resourceId"               value="JoinTree_1.operation_names.EXTERNAL_NAME"/>
    <property name="semantic.tree.sort.order" value="2"/>
  </field>
  <field name="historique.actions.UNITE_ORGANISATIONNELLE" class="java.lang.String">
    <property name="semantic.item.desc"       value="UNIT_DISPLAY_NAME"/>
    <property name="adhoc.display"            value="Unite organisationnelle"/>
    <property name="semantic.tree.uri"        value="/historique/actions/UNITE_ORGANISATIONNELLE"/>
    <property name="adhoc.tree.uri"           value="/historique/actions/UNITE_ORGANISATIONNELLE"/>
    <property name="resourceId"               value="JoinTree_1.history.UNIT_DISPLAY_NAME"/>
    <property name="semantic.tree.sort.order" value="3"/>
  </field>
  <field name="historique.DOCUMENT.ID_DOCUMENT" class="java.lang.Long">
    <property name="semantic.item.desc"       value="ID"/>
    <property name="adhoc.display"            value="Id document"/>
    <property name="semantic.tree.uri"        value="/historique/DOCUMENT/ID_DOCUMENT"/>
    <property name="adhoc.tree.uri"           value="/historique/DOCUMENT/ID_DOCUMENT"/>
    <property name="resourceId"               value="JoinTree_1.workflow.ID"/>
    <property name="semantic.tree.sort.order" value="0"/>
  </field>
  <field name="historique.DOCUMENT.SUJET_DOCUMENT" class="java.lang.String">
    <property name="semantic.item.desc"       value="DOC_SUBJECT"/>
    <property name="adhoc.display"            value="Sujet document"/>
    <property name="semantic.tree.uri"        value="/historique/DOCUMENT/SUJET_DOCUMENT"/>
    <property name="adhoc.tree.uri"           value="/historique/DOCUMENT/SUJET_DOCUMENT"/>
    <property name="resourceId"               value="JoinTree_1.workflow.DOC_SUBJECT"/>
    <property name="semantic.tree.sort.order" value="1"/>
  </field>
  <field name="historique.ETATS.NOM_ETAT" class="java.lang.String">
    <property name="semantic.item.desc"       value="EXTERNAL_NAME"/>
    <property name="adhoc.display"            value="Nom de l etat"/>
    <property name="semantic.tree.uri"        value="/historique/ETATS/NOM_ETAT"/>
    <property name="adhoc.tree.uri"           value="/historique/ETATS/NOM_ETAT"/>
    <property name="resourceId"               value="JoinTree_1.state_names.EXTERNAL_NAME"/>
    <property name="semantic.tree.sort.order" value="0"/>
  </field>
  <field name="historique.TYPE_PROCESSUS.DATE_VERSION_PROCESSUS" class="java.lang.Long">
    <property name="semantic.item.desc"       value="VERSION_DATE"/>
    <property name="adhoc.display"            value="Date version du processus"/>
    <property name="semantic.tree.uri"        value="/historique/TYPE_PROCESSUS/DATE_VERSION_PROCESSUS"/>
    <property name="adhoc.tree.uri"           value="/historique/TYPE_PROCESSUS/DATE_VERSION_PROCESSUS"/>
    <property name="resourceId"               value="JoinTree_1.process_types.VERSION_DATE"/>
    <property name="semantic.tree.sort.order" value="0"/>
  </field>
  <field name="historique.TYPE_PROCESSUS.ID_TYPE_PROCESSUS" class="java.lang.Long">
    <property name="semantic.item.desc"       value="PROCESS_TYPE_ID"/>
    <property name="adhoc.display"            value="Id type de processus"/>
    <property name="semantic.tree.uri"        value="/historique/TYPE_PROCESSUS/ID_TYPE_PROCESSUS"/>
    <property name="adhoc.tree.uri"           value="/historique/TYPE_PROCESSUS/ID_TYPE_PROCESSUS"/>
    <property name="resourceId"               value="JoinTree_1.process_type_names.PROCESS_TYPE_ID"/>
    <property name="semantic.tree.sort.order" value="1"/>
  </field>
  <field name="historique.TYPE_PROCESSUS.NOM_TYPE_PROCESSUS" class="java.lang.String">
    <property name="semantic.item.desc"       value="EXTERNAL_NAME"/>
    <property name="adhoc.display"            value="Nom type de processus"/>
    <property name="semantic.tree.uri"        value="/historique/TYPE_PROCESSUS/NOM_TYPE_PROCESSUS"/>
    <property name="adhoc.tree.uri"           value="/historique/TYPE_PROCESSUS/NOM_TYPE_PROCESSUS"/>
    <property name="resourceId"               value="JoinTree_1.process_type_names.EXTERNAL_NAME"/>
    <property name="semantic.tree.sort.order" value="2"/>
  </field>
  <field name="historique.TYPE_PROCESSUS.TYPE_DOCUMENTS" class="java.lang.Short">
    <property name="semantic.item.desc"       value="VERSION_NUMBER"/>
    <property name="adhoc.display"            value="Numero de version du processus"/>
    <property name="semantic.tree.uri"        value="/historique/TYPE_PROCESSUS/TYPE_DOCUMENTS"/>
    <property name="adhoc.tree.uri"           value="/historique/TYPE_PROCESSUS/TYPE_DOCUMENTS"/>
    <property name="resourceId"               value="JoinTree_1.process_types.VERSION_NUMBER"/>
    <property name="semantic.tree.sort.order" value="3"/>
  </field>
  <field name="historique.document_type_names.ID_TYPE_DOCUMENT" class="java.lang.Long">
    <property name="semantic.item.desc"       value="DOCUMENT_TYPE_ID"/>
    <property name="adhoc.display"            value="Id type de document"/>
    <property name="semantic.tree.uri"        value="/historique/document_type_names/ID_TYPE_DOCUMENT"/>
    <property name="adhoc.tree.uri"           value="/historique/document_type_names/ID_TYPE_DOCUMENT"/>
    <property name="resourceId"               value="JoinTree_1.document_type_names.DOCUMENT_TYPE_ID"/>
    <property name="semantic.tree.sort.order" value="0"/>
  </field>
  <field name="historique.document_type_names.LANGUE_TYPE_DOCUMENT" class="java.lang.String">
    <property name="semantic.item.desc"       value="LANGUAGE"/>
    <property name="adhoc.display"            value="Langue type de document"/>
    <property name="semantic.tree.uri"        value="/historique/document_type_names/LANGUE_TYPE_DOCUMENT"/>
    <property name="adhoc.tree.uri"           value="/historique/document_type_names/LANGUE_TYPE_DOCUMENT"/>
    <property name="resourceId"               value="JoinTree_1.document_type_names.LANGUAGE"/>
    <property name="semantic.tree.sort.order" value="1"/>
  </field>
  <field name="historique.document_type_names.NOM_TYPE_DOCUMENT" class="java.lang.String">
    <property name="semantic.item.desc"       value="EXTERNAL_NAME"/>
    <property name="adhoc.display"            value="Nom type de document"/>
    <property name="semantic.tree.uri"        value="/historique/document_type_names/NOM_TYPE_DOCUMENT"/>
    <property name="adhoc.tree.uri"           value="/historique/document_type_names/NOM_TYPE_DOCUMENT"/>
    <property name="resourceId"               value="JoinTree_1.document_type_names.EXTERNAL_NAME"/>
    <property name="semantic.tree.sort.order" value="2"/>
  </field>
  <variable name="InnerRowCount" class="java.lang.Integer" resetType="None">
        <variableExpression><![CDATA[$V{historique.ETATS.NOM_ETAT_COUNT}]]></variableExpression>
  </variable>
 
  <variable name="NB_PROCESSUS"
            class="java.lang.String"
            resetType="Group"
            resetGroup="historique.TYPE_PROCESSUS.NOM_TYPE_PROCESSUS"
            calculation="Count"/>
 
  <variable name="nb_doc_par_etat"
            class="java.lang.Long"
            resetType="Group"
            resetGroup="historique.ETATS.NOM_ETAT"
            calculation="Count">
 
    <variableExpression>
      <![CDATA[$F{historique.DOCUMENT.ID_DOCUMENT}]]>
    </variableExpression>
  </variable>
 
  <group name="historique.TYPE_PROCESSUS.NOM_TYPE_PROCESSUS" minHeightToStartNewPage="60">
    <groupExpression>
       <![CDATA[$F{historique.TYPE_PROCESSUS.NOM_TYPE_PROCESSUS}]]>
    </groupExpression>
 
    <groupHeader>
      <band height="25">
        <frame>
          <reportElement style="Group1Header" x="0" y="0" width="552" height="25">
            <property name="net.sf.jasperreports.export.pdf.tag.tr" value="full"/>
            <property name="net.sf.jasperreports.export.pdf.tag.td" value="full"/>
          </reportElement>
          <textField evaluationTime="Group"
                     evaluationGroup="historique.TYPE_PROCESSUS.NOM_TYPE_PROCESSUS"
                     isBlankWhenNull="true"
                     hyperlinkType="None"
                     bookmarkLevel="1">
            <reportElement style="Group1Header" x="10" y="0" width="542" height="25"/>
            <box>
              <topPen    lineColor="#000000"/>
              <leftPen   lineColor="#000000"/>
              <bottomPen lineColor="#000000"/>
              <rightPen  lineColor="#000000"/>
            </box>
 
            <textElement/>
 
            <textFieldExpression class="java.lang.String">
              <![CDATA["Nom type de processus" + ": " + $F{historique.TYPE_PROCESSUS.NOM_TYPE_PROCESSUS}]]>
            </textFieldExpression>
          </textField>
        </frame>
      </band>
    </groupHeader>
 
    <groupFooter>
      <band height="25">
        <frame>
          <reportElement style="Group1Footer" x="0" y="0" width="552" height="25">
            <property name="net.sf.jasperreports.export.pdf.tag.tr" value="full"/>
          </reportElement>
        </frame>
      </band>
    </groupFooter>
  </group>
 
  <group name="historique.TYPE_PROCESSUS.TYPE_DOCUMENTS" minHeightToStartNewPage="60">
        <groupExpression><![CDATA[$F{historique.TYPE_PROCESSUS.TYPE_DOCUMENTS}]]></groupExpression>
        <groupHeader>
            <band height="25">
                <frame>
                    <reportElement style="Group2Header" x="0" y="0" width="552" height="25">
                        <property name="net.sf.jasperreports.export.pdf.tag.tr" value="full"/>
                        <property name="net.sf.jasperreports.export.pdf.tag.td" value="full"/>
                    </reportElement>
 
                    <textField evaluationTime="Group"
                               evaluationGroup="historique.TYPE_PROCESSUS.TYPE_DOCUMENTS"
                               isBlankWhenNull="true"
                               hyperlinkType="None" bookmarkLevel="1">
                      <reportElement style="Group2Header" x="20" y="0" width="532" height="25"/>
                      <box>
                            <topPen    lineColor="#000000"/>
                            <leftPen   lineColor="#000000"/>
                            <bottomPen lineColor="#000000"/>
                            <rightPen  lineColor="#000000"/>
                      </box>
 
                      <textElement/>
 
                      <textFieldExpression class="java.lang.String">
                        <![CDATA["Numero de version du processus" + ": " + $F{historique.TYPE_PROCESSUS.TYPE_DOCUMENTS}]]>
                      </textFieldExpression>
                    </textField>
 
                </frame>
            </band>
        </groupHeader>
 
        <groupFooter>
            <band height="25">
                <frame>
                    <reportElement style="Group2Footer" x="0" y="0" width="552" height="25">
                        <property name="net.sf.jasperreports.export.pdf.tag.tr" value="full"/>
                    </reportElement>
                </frame>
            </band>
        </groupFooter>
    </group>
 
    <group name="historique.document_type_names.NOM_TYPE_DOCUMENT" minHeightToStartNewPage="60">
      <groupExpression>
        <![CDATA[$F{historique.document_type_names.NOM_TYPE_DOCUMENT}]]>
      </groupExpression>
 
      <groupHeader>
        <band height="25">
          <frame>
            <reportElement style="Group3Header" x="0" y="0" width="552" height="25">
               <property name="net.sf.jasperreports.export.pdf.tag.tr" value="full"/>
               <property name="net.sf.jasperreports.export.pdf.tag.td" value="full"/>
            </reportElement>
            <textField evaluationTime="Group"
                       evaluationGroup="historique.document_type_names.NOM_TYPE_DOCUMENT"
                       isBlankWhenNull="true" hyperlinkType="None" bookmarkLevel="1">
              <reportElement style="Group3Header"
                             x="30" y="0"
                             width="522"
                             height="25"/>
              <box>
                <topPen    lineColor="#000000"/>
                <leftPen   lineColor="#000000"/>
                <bottomPen lineColor="#000000"/>
                <rightPen  lineColor="#000000"/>
              </box>
 
              <textElement/>
 
              <textFieldExpression class="java.lang.String">
                <![CDATA["Nom type de document" + ": " + $F{historique.document_type_names.NOM_TYPE_DOCUMENT}]]>
              </textFieldExpression>
            </textField>
          </frame>
        </band>
      </groupHeader>
 
      <groupFooter>
        <band height="25">
          <frame>
            <reportElement style="Group3Footer" x="0" y="0" width="552" height="25">
              <property name="net.sf.jasperreports.export.pdf.tag.tr" value="full"/>
            </reportElement>
          </frame>
        </band>
      </groupFooter>
    </group>
 
    <group name="historique.ETATS.NOM_ETAT" minHeightToStartNewPage="60">
      <groupExpression>
        <![CDATA[$F{historique.ETATS.NOM_ETAT}]]>
      </groupExpression>
 
      <groupHeader>
        <band height="25">
          <frame>
            <reportElement style="Group3Header" x="0" y="0" width="552" height="25">
              <property name="net.sf.jasperreports.export.pdf.tag.tr" value="full"/>
              <property name="net.sf.jasperreports.export.pdf.tag.td" value="full"/>
            </reportElement>
 
            <textField evaluationTime="Group"
                       evaluationGroup="historique.ETATS.NOM_ETAT"
                       isBlankWhenNull="true"
                       hyperlinkType="None"
                       bookmarkLevel="1">
              <reportElement style="Group3Header" x="40" y="0" width="512" height="25"/>
              <box>
                <topPen    lineColor="#000000"/>
                <leftPen   lineColor="#000000"/>
                <bottomPen lineColor="#000000"/>
                <rightPen  lineColor="#000000"/>
              </box>
 
              <textElement/>
 
              <textFieldExpression class="java.lang.String">
                <![CDATA["Nom de l'etat" + ": " + $F{historique.ETATS.NOM_ETAT}]]>
              </textFieldExpression>
            </textField>
          </frame>
        </band>
      </groupHeader>
 
      <groupFooter>
        <band height="28">
          <frame>
            <reportElement style="Group3Footer" x="0" y="3" width="552" height="25">
              <property name="net.sf.jasperreports.export.pdf.tag.tr" value="full"/>
            </reportElement>
          </frame>
          <textField hyperlinkType="None">
            <reportElement x="170" y="3" width="100" height="20"/>
            <textElement/>
            <textFieldExpression class="java.lang.Long">
              <![CDATA[$  ........

dboutin's picture
108
Joined: Jan 29 2009 - 1:26am
Last seen: 2 years 3 months ago

4 Answers:

0

This is caused by the JRXML not being properly uploaded to JasperServer.  How exactly did you do that?

Regards,

Lucian

lucianc's picture
5534
Joined: Jul 17 2006 - 1:10am
Last seen: 2 days 13 min ago
0

The jrxml is made with ireport 3.1.2 and uploaded to the server using the 'replace with current JRXML' menu inside ireport to the corresponding jasper server.

dboutin's picture
108
Joined: Jan 29 2009 - 1:26am
Last seen: 2 years 3 months ago
0

Where can I found the uploaded jrxml file into the jasper server in order to see if they are well formed ?

Regards,

Denis.

dboutin's picture
108
Joined: Jan 29 2009 - 1:26am
Last seen: 2 years 3 months ago
0

JRXMLs are saved in the JIFileResource table in the JasperServer DB schema.

Regards,

Lucian

lucianc's picture
5534
Joined: Jul 17 2006 - 1:10am
Last seen: 2 days 13 min ago
Feedback