Hi,
I have created a report to pull warranty end date information for some assets within my database. I used iReport Designer 4.6.0 from Jaspersoft to create the .jrxml file.
However, when I attempt to upload the report I recieve an error invalid file from CMDBuild. When investigating on the cmdbuild.log I see the following:
ERROR 2013-01-29 11:59:00 [org.apache.commons.digester.Digester] Parse Error at line 2 column 480: cvc-complex-type.3.2.2: Attribute 'uuid' is not allowed to appear in element 'jasperReport'.
org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 480; cvc-complex-type.3.2.2: Attribute 'uuid' is not allowed to appear in element 'jasperReport'.
This appears to be related to the xml which is used to identify some static text elements within the jrxml. Has anyone else come accross this issue and does Tecnoteca have a solution? Thanks. Jamie
<reportElement uuid="c91bd1e0-6f03-418f-8550-4542941c8af3" x="0" y="41" width="100" height="20"/>
<textElement/>
<text><![CDATA[System]]></text>
</staticText>
Unfortunately CMDBuild requires at the time the use of the old version JasperReports / iReport 3.7.1 (see Technical Manual page 7).
We will upgrade to the last JasperReports / IReport version after next release CMDBuild 2.1
Fabio
Thanks for that Fabio, is this noted in the documentation? I’ve had a similar issue before with version compatibility with alfresco in the past.
Jamie
Jamie,
I have had the same problem. I just open up the JRXML file and remove all the UUID attributes that I can find. The modified JRXML file works just fine with CMDB afterwords.
Bruce
Previously Jamie wrote:
Hi,
I have created a report to pull warranty end date information for some assets within my database. I used iReport Designer 4.6.0 from Jaspersoft to create the .jrxml file.
However, when I attempt to upload the report I recieve an error invalid file from CMDBuild. When investigating on the cmdbuild.log I see the following:
ERROR 2013-01-29 11:59:00 [org.apache.commons.digester.Digester] Parse Error at line 2 column 480: cvc-complex-type.3.2.2: Attribute 'uuid' is not allowed to appear in element 'jasperReport'.
org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 480; cvc-complex-type.3.2.2: Attribute 'uuid' is not allowed to appear in element 'jasperReport'.
This appears to be related to the xml which is used to identify some static text elements within the jrxml. Has anyone else come accross this issue and does Tecnoteca have a solution? Thanks. Jamie
<reportElement uuid="c91bd1e0-6f03-418f-8550-4542941c8af3" x="0" y="41" width="100" height="20"/>
<textElement/>
<text><![CDATA[System]]></text>
</staticText>