Execution error with tJasperOutput component with working JRXML file

Hi,
I have create a report using JasperSoft Studio. Basically I am connecting to SQL server and fetching records from there to create a report. This works perfectly in jaspersoft studio. But when I use this same JRXML file in Talend tJasperOutput component it gives me the below error (I am using Jasper Soft Studio version 6.0.3 and Talend Open studio version 5.6.1 and SQL server 2012. ):
Starting job Jasper_Talend_all_Char at 20:13 29/04/2015.
connecting to socket on port 3344
connected
: org.apache.commons.digester.Digester - Parse Error at line 21 column 60: cvc-complex-type.2.4.a: Invalid content was found starting with element 'property'. One of '{""Smiley TonguerintWhenExpression, "":break, "":line, "":rectangle, "":ellipse, "":image, "":staticText, "":textField, "":subreport, ""Smiley TongueieChart, ""Smiley Tongueie3DChart, "":barChart, "":bar3DChart, "":xyBarChart, "":stackedBarChart, "":stackedBar3DChart, "":lineChart, "":xyLineChart, "":areaChart, "":xyAreaChart, "":scatterChart, "":bubbleChart, "":timeSeriesChart, "":highLowChart, "":candlestickChart, "":meterChart, "":thermometerChart, "":multiAxisChart, "":stackedAreaChart, "":ganttChart, "":elementGroup, "":crosstab, "":frame, "":componentElement, "":genericElement}' is expected.
org.xml.sax.SAXParseException; lineNumber: 21; columnNumber: 60; cvc-complex-type.2.4.a: Invalid content was found starting with element 'property'. One of '{""Smiley TonguerintWhenExpression, "":break, "":line, "":rectangle, "":ellipse, "":image, "":staticText, "":textField, "":subreport, ""Smiley TongueieChart, ""Smiley Tongueie3DChart, "":barChart, "":bar3DChart, "":xyBarChart, "":stackedBarChart, "":stackedBar3DChart, "":lineChart, "":xyLineChart, "":areaChart, "":xyAreaChart, "":scatterChart, "":bubbleChart, "":timeSeriesChart, "":highLowChart, "":candlestickChart, "":meterChart, "":thermometerChart, "":multiAxisChart, "":stackedAreaChart, "":ganttChart, "":elementGroup, "":crosstab, "":frame, "":componentElement, "":genericElement}' is expected.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1647)
at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:241)
at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:228)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:216)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:170)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:154)
at firstproject.jasper_talend_all_char_0_1.Jasper_Talend_all_Char.tDBInput_1Process(Jasper_Talend_all_Char.java:727)
at firstproject.jasper_talend_all_char_0_1.Jasper_Talend_all_Char.runJobInTOS(Jasper_Talend_all_Char.java:1013)
at firstproject.jasper_talend_all_char_0_1.Jasper_Talend_all_Char.main(Jasper_Talend_all_Char.java:870)
Exception in component tJasperOutput_1
net.sf.jasperreports.engine.JRException: org.xml.sax.SAXParseException; lineNumber: 21; columnNumber: 60; cvc-complex-type.2.4.a: Invalid content was found starting with element 'property'. One of '{""Smiley TonguerintWhenExpression, "":break, "":line, "":rectangle, "":ellipse, "":image, "":staticText, "":textField, "":subreport, ""Smiley TongueieChart, ""Smiley Tongueie3DChart, "":barChart, "":bar3DChart, "":xyBarChart, "":stackedBarChart, "":stackedBar3DChart, "":lineChart, "":xyLineChart, "":areaChart, "":xyAreaChart, "":scatterChart, "":bubbleChart, "":timeSeriesChart, "":highLowChart, "":candlestickChart, "":meterChart, "":thermometerChart, "":multiAxisChart, "":stackedAreaChart, "":ganttChart, "":elementGroup, "":crosstab, "":frame, "":componentElement, "":genericElement}' is expected.
at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:245)
at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:228)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:216)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:170)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:154)
at firstproject.jasper_talend_all_char_0_1.Jasper_Talend_all_Char.tDBInput_1Process(Jasper_Talend_all_Char.java:727)
at firstproject.jasper_talend_all_char_0_1.Jasper_Talend_all_Char.runJobInTOS(Jasper_Talend_all_Char.java:1013)
at firstproject.jasper_talend_all_char_0_1.Jasper_Talend_all_Char.main(Jasper_Talend_all_Char.java:870)
Caused by: org.xml.sax.SAXParseException; lineNumber: 21; columnNumber: 60; cvc-complex-type.2.4.a: Invalid content was found starting with element 'property'. One of '{""Smiley TonguerintWhenExpression, "":break, "":line, "":rectangle, "":ellipse, "":image, "":staticText, "":textField, "":subreport, ""Smiley TongueieChart, ""Smiley Tongueie3DChart, "":barChart, "":bar3DChart, "":xyBarChart, "":stackedBarChart, "":stackedBar3DChart, "":lineChart, "":xyLineChart, "":areaChart, "":xyAreaChart, "":scatterChart, "":bubbleChart, "":timeSeriesChart, "":highLowChart, "":candlestickChart, "":meterChart, "":thermometerChart, "":multiAxisChart, "":stackedAreaChart, "":ganttChart, "":elementGroup, "":crosstab, "":frame, "":componentElement, "":genericElement}' is expected.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1647)
at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:241)
... 7 more
disconnected
Job Jasper_Talend_all_Char ended at 20:13 29/04/2015.
I am using Jasper Soft Studio version 6.0.3 and Talend Open studio version 5.6.1 and SQL server 2012. Is this a compatibility issue or am I doing something wrong? 
I am attaching my JRXML file, backup of the SQL server table and Talend Job here.
Any help will be appreciated.
Jasper_Talend_Execution_Error.zip.zip

Thanks & Regards,
Saugata Mukherjee.
4 REPLIES

Re: Execution error with tJasperOutput component with working JRXML file

Here is the missing attachment.
Jasper_Talend_Execution_Error.zip_20150430-0808.zip
One Star

Re: Execution error with tJasperOutput component with working JRXML file

I have same trouble with Talend 5.6.2 and iReport 5.6.0.
Part of the errorlog:
Exception in component tJasperOutput_1
net.sf.jasperreports.engine.JRException: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 452; cvc-complex-type.3.2.2: Attribute 'uuid' is not allowed to appear in element 'jasperReport'.
    at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:245)
    at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:228)
    at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:216)
    at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:170)
    at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:154)
    at test.jasper_test_0_1.jasper_test.tMysqlInput_1Process(jasper_test.java:724)
    at test.jasper_test_0_1.jasper_test.runJobInTOS(jasper_test.java:1010)
    at test.jasper_test_0_1.jasper_test.main(jasper_test.java:867)
One Star

Re: Execution error with tJasperOutput component with working JRXML file

@Harliff, the resolution would be to remove all occurences of uuid from your JRXML file. Please reply back if you face any issue after that.
@Saugata, did you come across any solution to your problem? I, too, am stuck up with the same issue. Thanks!
One Star

Re: Execution error with tJasperOutput component with working JRXML file

@Harliff, the resolution would be to remove all occurences of uuid from your JRXML file. Please reply back if you face any issue after that.

AFAIR, I've managed to solve this problem by switching comparability mode in the iReport to earlier version (e.g. 3.x).