sasi86 Posted September 1, 2009 Share Posted September 1, 2009 Hi all, I have created the charts using ireport 3.5.3 verison. It was showing the chart & export it properly.But now I can't open the chart. I got the below error,Error loading the report templateMessage: net.sf.jasperreports.engine.JRException: org.xml.sax.SAXParseException:cvc-complex-type.2.4.a: Invalid content was found starting with element 'itemLabel'. Oneof '{"http://jasperreports.sourceforge.net/jasperreports":categoryAxisLabelExpression,"http://jasperreports.sourceforge.net/jasperreports":categoryAxisFormat,"http://jasperreports.sourceforge.net/jasperreports":valueAxisLabelExpression,"http://jasperreports.sourceforge.net/jasperreports":valueAxisFormat,"http://jasperreports.sourceforge.net/jasperreports":domainAxisMinValueExpression,"http://jasperreports.sourceforge.net/jasperreports":domainAxisMaxValueExpression,"http://jasperreports.sourceforge.net/jasperreports":rangeAxisMinValueExpression,"http://jasperreports.sourceforge.net/jasperreports":rangeAxisMaxValueExpression}' isexpected.Level: SEVEREStack Trace:org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found startingwith element 'itemLabel'. One of'{"http://jasperreports.sourceforge.net/jasperreports":categoryAxisLabelExpression,"http://jasperreports.sourceforge.net/jasperreports":categoryAxisFormat,"http://jasperreports.sourceforge.net/jasperreports":valueAxisLabelExpression,"http://jasperreports.sourceforge.net/jasperreports":valueAxisFormat,"http://jasperreports.sourceforge.net/jasperreports":domainAxisMinValueExpression,"http://jasperreports.sourceforge.net/jasperreports":domainAxisMaxValueExpression,"http://jasperreports.sourceforge.net/jasperreports":rangeAxisMinValueExpression,"http://jasperreports.sourceforge.net/jasperreports":rangeAxisMaxValueExpression}' isexpected. net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:243) net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:226) net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:214) com.jaspersoft.ireport.designer.JrxmlLoader.reloadJasperDesign(JrxmlLoader.java:73) com.jaspersoft.ireport.designer.JrxmlVisualView.run(JrxmlVisualView.java:511) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)cvc-complex-type.2.4.a: Invalid content was found starting with element 'itemLabel'. Oneof '{"http://jasperreports.sourceforge.net/jasperreports":categoryAxisLabelExpression,"http://jasperreports.sourceforge.net/jasperreports":categoryAxisFormat,"http://jasperreports.sourceforge.net/jasperreports":valueAxisLabelExpression,"http://jasperreports.sourceforge.net/jasperreports":valueAxisFormat,"http://jasperreports.sourceforge.net/jasperreports":domainAxisMinValueExpression,"http://jasperreports.sourceforge.net/jasperreports":domainAxisMaxValueExpression,"http://jasperreports.sourceforge.net/jasperreports":rangeAxisMinValueExpression,"http://jasperreports.sourceforge.net/jasperreports":rangeAxisMaxValueExpression}' isexpected.com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236) com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172) com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382) com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316) com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:429) com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3185) com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1831) com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(XMLSchemaValidator.java:725) com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:322) com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693) com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242) org.apache.commons.digester.Digester.parse(Digester.java:1647) net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:239) net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:226) net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:214) com.jaspersoft.ireport.designer.JrxmlLoader.reloadJasperDesign(JrxmlLoader.java:73) Link to comment Share on other sites More sharing options...
teamireport Posted September 7, 2009 Share Posted September 7, 2009 Seems i-report version issue. ..in what version of ireport you have used to create a chart ? Link to comment Share on other sites More sharing options...
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